Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/
H A Dvfio_pci_intrs.c784 struct eventfd_ctx *efdctx; in vfio_pci_set_ctx_trigger_single() local
787 efdctx = eventfd_ctx_fdget(fd); in vfio_pci_set_ctx_trigger_single()
788 if (IS_ERR(efdctx)) in vfio_pci_set_ctx_trigger_single()
789 return PTR_ERR(efdctx); in vfio_pci_set_ctx_trigger_single()
792 peventfd, efdctx); in vfio_pci_set_ctx_trigger_single()
794 eventfd_ctx_put(efdctx); in vfio_pci_set_ctx_trigger_single()
H A Dvfio_pci_core.c373 struct eventfd_ctx *efdctx) in vfio_pci_runtime_pm_entry() argument
388 vdev->pm_wake_eventfd_ctx = efdctx; in vfio_pci_runtime_pm_entry()
419 struct eventfd_ctx *efdctx; in vfio_pci_core_pm_entry_with_wakeup() local
433 efdctx = eventfd_ctx_fdget(entry.wakeup_eventfd); in vfio_pci_core_pm_entry_with_wakeup()
434 if (IS_ERR(efdctx)) in vfio_pci_core_pm_entry_with_wakeup()
435 return PTR_ERR(efdctx); in vfio_pci_core_pm_entry_with_wakeup()
437 ret = vfio_pci_runtime_pm_entry(vdev, efdctx); in vfio_pci_core_pm_entry_with_wakeup()
439 eventfd_ctx_put(efdctx); in vfio_pci_core_pm_entry_with_wakeup()
/linux/drivers/s390/cio/
H A Dvfio_ccw_ops.c464 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs() local
466 efdctx = eventfd_ctx_fdget(fd); in vfio_ccw_mdev_set_irqs()
467 if (IS_ERR(efdctx)) in vfio_ccw_mdev_set_irqs()
468 return PTR_ERR(efdctx); in vfio_ccw_mdev_set_irqs()
473 *ctx = efdctx; in vfio_ccw_mdev_set_irqs()