Home
last modified time | relevance | path

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

/linux/drivers/s390/cio/
H A 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()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c283 struct eventfd_ctx *efdctx) in vfio_pci_runtime_pm_entry() argument
296 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() local
345 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()