Searched refs:efdctx (Results 1 – 2 of 2) 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()
283 struct eventfd_ctx *efdctx) in vfio_pci_runtime_pm_entry() argument296 vdev->pm_wake_eventfd_ctx = efdctx; in vfio_pci_runtime_pm_entry()331 struct eventfd_ctx *efdctx; in vfio_pci_core_pm_entry_with_wakeup() local345 efdctx = eventfd_ctx_fdget(entry.wakeup_eventfd); in vfio_pci_core_pm_entry_with_wakeup()346 if (IS_ERR(efdctx)) in vfio_pci_core_pm_entry_with_wakeup()347 return PTR_ERR(efdctx); in vfio_pci_core_pm_entry_with_wakeup()349 ret = vfio_pci_runtime_pm_entry(vdev, efdctx); in vfio_pci_core_pm_entry_with_wakeup()351 eventfd_ctx_put(efdctx); in vfio_pci_core_pm_entry_with_wakeup()