Home
last modified time | relevance | path

Searched refs:efdctx (Results 1 – 3 of 3) sorted by relevance

/drivers/s390/cio/
Dvfio_ccw_ops.c450 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs() local
452 efdctx = eventfd_ctx_fdget(fd); in vfio_ccw_mdev_set_irqs()
453 if (IS_ERR(efdctx)) in vfio_ccw_mdev_set_irqs()
454 return PTR_ERR(efdctx); in vfio_ccw_mdev_set_irqs()
459 *ctx = efdctx; in vfio_ccw_mdev_set_irqs()
/drivers/vfio/pci/
Dvfio_pci_intrs.c778 struct eventfd_ctx *efdctx; in vfio_pci_set_ctx_trigger_single() local
780 efdctx = eventfd_ctx_fdget(fd); in vfio_pci_set_ctx_trigger_single()
781 if (IS_ERR(efdctx)) in vfio_pci_set_ctx_trigger_single()
782 return PTR_ERR(efdctx); in vfio_pci_set_ctx_trigger_single()
787 *ctx = efdctx; in vfio_pci_set_ctx_trigger_single()
Dvfio_pci_core.c287 struct eventfd_ctx *efdctx) in vfio_pci_runtime_pm_entry() argument
300 vdev->pm_wake_eventfd_ctx = efdctx; in vfio_pci_runtime_pm_entry()
335 struct eventfd_ctx *efdctx; in vfio_pci_core_pm_entry_with_wakeup() local
349 efdctx = eventfd_ctx_fdget(entry.wakeup_eventfd); in vfio_pci_core_pm_entry_with_wakeup()
350 if (IS_ERR(efdctx)) in vfio_pci_core_pm_entry_with_wakeup()
351 return PTR_ERR(efdctx); in vfio_pci_core_pm_entry_with_wakeup()
353 ret = vfio_pci_runtime_pm_entry(vdev, efdctx); in vfio_pci_core_pm_entry_with_wakeup()
355 eventfd_ctx_put(efdctx); in vfio_pci_core_pm_entry_with_wakeup()