Home
last modified time | relevance | path

Searched refs:cdx_irqs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/vfio/cdx/
Dintr.c30 vdev->cdx_irqs = kcalloc(nvec, sizeof(struct vfio_cdx_irq), GFP_KERNEL); in vfio_cdx_msi_enable()
31 if (!vdev->cdx_irqs) in vfio_cdx_msi_enable()
36 kfree(vdev->cdx_irqs); in vfio_cdx_msi_enable()
44 kfree(vdev->cdx_irqs); in vfio_cdx_msi_enable()
49 vdev->cdx_irqs[msi_idx].irq_no = msi_get_virq(dev, msi_idx); in vfio_cdx_msi_enable()
66 irq_no = vdev->cdx_irqs[vector].irq_no; in vfio_cdx_msi_set_vector_signal()
68 if (vdev->cdx_irqs[vector].trigger) { in vfio_cdx_msi_set_vector_signal()
69 free_irq(irq_no, vdev->cdx_irqs[vector].trigger); in vfio_cdx_msi_set_vector_signal()
70 kfree(vdev->cdx_irqs[vector].name); in vfio_cdx_msi_set_vector_signal()
71 eventfd_ctx_put(vdev->cdx_irqs[vector].trigger); in vfio_cdx_msi_set_vector_signal()
[all …]
Dprivate.h34 struct vfio_cdx_irq *cdx_irqs; member