Home
last modified time | relevance | path

Searched refs:eventfd_ctx (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.12.1/include/linux/
Deventfd.h29 struct eventfd_ctx;
34 void eventfd_ctx_put(struct eventfd_ctx *ctx);
36 struct eventfd_ctx *eventfd_ctx_fdget(int fd);
37 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file);
38 void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask);
39 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait,
41 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt);
55 static inline struct eventfd_ctx *eventfd_ctx_fdget(int fd) in eventfd_ctx_fdget()
60 static inline void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask) in eventfd_signal_mask()
64 static inline void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
[all …]
Dkvm_irqfd.h52 struct eventfd_ctx *resamplefd;
56 struct eventfd_ctx *eventfd;
Dvmpressure.h42 struct eventfd_ctx *eventfd,
45 struct eventfd_ctx *eventfd);
Dvfio_pci_core.h86 struct eventfd_ctx *err_trigger;
87 struct eventfd_ctx *req_trigger;
88 struct eventfd_ctx *pm_wake_eventfd_ctx;
/linux-6.12.1/fs/
Deventfd.c30 struct eventfd_ctx { struct
56 void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask) in eventfd_signal_mask() argument
82 static void eventfd_free_ctx(struct eventfd_ctx *ctx) in eventfd_free_ctx()
91 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free()
103 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
111 struct eventfd_ctx *ctx = file->private_data; in eventfd_release()
120 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll()
176 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
198 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, in eventfd_ctx_remove_wait_queue()
217 struct eventfd_ctx *ctx = file->private_data; in eventfd_read()
[all …]
/linux-6.12.1/drivers/vfio/pci/
Dvfio_pci_intrs.c27 struct eventfd_ctx *trigger;
94 struct eventfd_ctx *trigger = READ_ONCE(ctx->trigger); in vfio_send_intx_eventfd()
251 struct eventfd_ctx *trigger) in vfio_intx_enable()
320 struct eventfd_ctx *trigger) in vfio_intx_set_signal()
324 struct eventfd_ctx *old; in vfio_intx_set_signal()
368 struct eventfd_ctx *trigger = arg; in vfio_msihandler()
445 struct eventfd_ctx *trigger; in vfio_msi_set_vector_signal()
644 struct eventfd_ctx *trigger = NULL; in vfio_pci_set_intx_trigger()
731 static int vfio_pci_set_ctx_trigger_single(struct eventfd_ctx **ctx, in vfio_pci_set_ctx_trigger_single()
769 struct eventfd_ctx *efdctx; in vfio_pci_set_ctx_trigger_single()
/linux-6.12.1/drivers/s390/cio/
Dvfio_ccw_private.h123 struct eventfd_ctx *io_trigger;
124 struct eventfd_ctx *crw_trigger;
125 struct eventfd_ctx *req_trigger;
Dvfio_ccw_ops.c401 struct eventfd_ctx **ctx; in vfio_ccw_mdev_set_irqs()
450 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs()
/linux-6.12.1/drivers/vhost/
Dvhost.h76 struct eventfd_ctx *ctx;
94 struct eventfd_ctx *error_ctx;
95 struct eventfd_ctx *log_ctx;
167 struct eventfd_ctx *log_ctx;
/linux-6.12.1/drivers/virt/acrn/
Dirqfd.c35 struct eventfd_ctx *eventfd;
112 struct eventfd_ctx *eventfd = NULL; in acrn_irqfd_assign()
181 struct eventfd_ctx *eventfd; in acrn_irqfd_deassign()
Dioeventfd.c29 struct eventfd_ctx *eventfd;
79 struct eventfd_ctx *eventfd; in acrn_ioeventfd_assign()
151 struct eventfd_ctx *eventfd; in acrn_ioeventfd_deassign()
/linux-6.12.1/mm/
Dvmpressure.c151 struct eventfd_ctx *efd;
375 struct eventfd_ctx *eventfd, const char *args) in vmpressure_register_event()
436 struct eventfd_ctx *eventfd) in vmpressure_unregister_event()
Dmemcontrol-v1.c71 struct eventfd_ctx *eventfd;
85 struct eventfd_ctx *eventfd;
96 struct eventfd_ctx *eventfd, const char *args);
103 struct eventfd_ctx *eventfd);
1612 struct eventfd_ctx *eventfd, const char *args, enum res_type type) in __mem_cgroup_usage_register_event()
1692 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_usage_register_event()
1698 struct eventfd_ctx *eventfd, const char *args) in memsw_cgroup_usage_register_event()
1704 struct eventfd_ctx *eventfd, enum res_type type) in __mem_cgroup_usage_unregister_event()
1789 struct eventfd_ctx *eventfd) in mem_cgroup_usage_unregister_event()
1795 struct eventfd_ctx *eventfd) in memsw_cgroup_usage_unregister_event()
[all …]
/linux-6.12.1/drivers/vfio/cdx/
Dprivate.h20 struct eventfd_ctx *trigger;
Dintr.c18 struct eventfd_ctx *trigger = arg; in vfio_cdx_msihandler()
60 struct eventfd_ctx *trigger; in vfio_cdx_msi_set_vector_signal()
/linux-6.12.1/drivers/vfio/fsl-mc/
Dvfio_fsl_mc_private.h21 struct eventfd_ctx *trigger;
Dvfio_fsl_mc_intr.c65 struct eventfd_ctx *trigger; in vfio_set_trigger()
/linux-6.12.1/virt/kvm/
Deventfd.c308 struct eventfd_ctx *eventfd = NULL, *resamplefd = NULL; in kvm_irqfd_assign()
538 struct eventfd_ctx *eventfd; in kvm_irqfd_deassign()
700 struct eventfd_ctx *eventfd;
829 struct eventfd_ctx *eventfd; in kvm_assign_ioeventfd_idx()
892 struct eventfd_ctx *eventfd; in kvm_deassign_ioeventfd_idx()
/linux-6.12.1/drivers/s390/crypto/
Dvfio_ap_private.h122 struct eventfd_ctx *req_trigger;
/linux-6.12.1/drivers/misc/ocxl/
Dfile.c185 struct eventfd_ctx *ev_ctx = private; in irq_handler()
193 struct eventfd_ctx *ev_ctx = private; in irq_free()
203 struct eventfd_ctx *ev_ctx; in afu_ioctl()
/linux-6.12.1/drivers/usb/gadget/function/
Du_fs.h276 struct eventfd_ctx *ffs_eventfd;
/linux-6.12.1/drivers/vfio/platform/
Dvfio_platform_private.h28 struct eventfd_ctx *trigger;
/linux-6.12.1/io_uring/
Deventfd.c15 struct eventfd_ctx *cq_ev_fd;
/linux-6.12.1/drivers/xen/
Dprivcmd.c884 struct eventfd_ctx *eventfd;
1051 struct eventfd_ctx *eventfd; in privcmd_irqfd_deassign()
1135 struct eventfd_ctx *eventfd;
1302 get_ioreq(struct privcmd_ioeventfd *ioeventfd, struct eventfd_ctx *eventfd) in get_ioreq()
1418 struct eventfd_ctx *eventfd; in privcmd_ioeventfd_deassign()
/linux-6.12.1/drivers/vfio/
Dvirqfd.c117 struct eventfd_ctx *ctx; in vfio_virqfd_enable()

12