Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/s390/cio/
Dvfio_ccw_ops.c409 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs() local
411 efdctx = eventfd_ctx_fdget(fd); in vfio_ccw_mdev_set_irqs()
412 if (IS_ERR(efdctx)) in vfio_ccw_mdev_set_irqs()
413 return PTR_ERR(efdctx); in vfio_ccw_mdev_set_irqs()
418 *ctx = efdctx; in vfio_ccw_mdev_set_irqs()
/Linux-v6.1/drivers/vfio/pci/
Dvfio_pci_intrs.c629 struct eventfd_ctx *efdctx; in vfio_pci_set_ctx_trigger_single() local
631 efdctx = eventfd_ctx_fdget(fd); in vfio_pci_set_ctx_trigger_single()
632 if (IS_ERR(efdctx)) in vfio_pci_set_ctx_trigger_single()
633 return PTR_ERR(efdctx); in vfio_pci_set_ctx_trigger_single()
638 *ctx = efdctx; in vfio_pci_set_ctx_trigger_single()
Dvfio_pci_core.c281 struct eventfd_ctx *efdctx) in vfio_pci_runtime_pm_entry() argument
294 vdev->pm_wake_eventfd_ctx = efdctx; in vfio_pci_runtime_pm_entry()
329 struct eventfd_ctx *efdctx; in vfio_pci_core_pm_entry_with_wakeup() local
343 efdctx = eventfd_ctx_fdget(entry.wakeup_eventfd); in vfio_pci_core_pm_entry_with_wakeup()
344 if (IS_ERR(efdctx)) in vfio_pci_core_pm_entry_with_wakeup()
345 return PTR_ERR(efdctx); in vfio_pci_core_pm_entry_with_wakeup()
347 ret = vfio_pci_runtime_pm_entry(vdev, efdctx); in vfio_pci_core_pm_entry_with_wakeup()
349 eventfd_ctx_put(efdctx); in vfio_pci_core_pm_entry_with_wakeup()