Searched refs:efdctx (Results 1 – 3 of 3) sorted by relevance
450 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs() local452 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()
778 struct eventfd_ctx *efdctx; in vfio_pci_set_ctx_trigger_single() local780 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()
287 struct eventfd_ctx *efdctx) in vfio_pci_runtime_pm_entry() argument300 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() local349 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()