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.c317 struct eventfd_ctx *efdctx) in vfio_pci_runtime_pm_entry() argument
332 vdev->pm_wake_eventfd_ctx = efdctx; in vfio_pci_runtime_pm_entry()
363 struct eventfd_ctx *efdctx; in vfio_pci_core_pm_entry_with_wakeup() local
377 efdctx = eventfd_ctx_fdget(entry.wakeup_eventfd); in vfio_pci_core_pm_entry_with_wakeup()
378 if (IS_ERR(efdctx)) in vfio_pci_core_pm_entry_with_wakeup()
379 return PTR_ERR(efdctx); in vfio_pci_core_pm_entry_with_wakeup()
381 ret = vfio_pci_runtime_pm_entry(vdev, efdctx); in vfio_pci_core_pm_entry_with_wakeup()
383 eventfd_ctx_put(efdctx); in vfio_pci_core_pm_entry_with_wakeup()
/linux/drivers/s390/cio/
H A Dvfio_ccw_ops.c434 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs() local
436 efdctx = eventfd_ctx_fdget(fd); in vfio_ccw_mdev_set_irqs()
437 if (IS_ERR(efdctx)) in vfio_ccw_mdev_set_irqs()
438 return PTR_ERR(efdctx); in vfio_ccw_mdev_set_irqs()
443 *ctx = efdctx; in vfio_ccw_mdev_set_irqs()