Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/linux/
Deventfd.h32 struct eventfd_ctx;
37 void eventfd_ctx_put(struct eventfd_ctx *ctx);
39 struct eventfd_ctx *eventfd_ctx_fdget(int fd);
40 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file);
41 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n);
42 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait,
59 static inline struct eventfd_ctx *eventfd_ctx_fdget(int fd) in eventfd_ctx_fdget()
64 static inline int eventfd_signal(struct eventfd_ctx *ctx, int n) in eventfd_signal()
69 static inline void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
74 static inline int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, in eventfd_ctx_remove_wait_queue()
Dkvm_irqfd.h52 struct eventfd_ctx *resamplefd;
56 struct eventfd_ctx *eventfd;
Dvmpressure.h42 struct eventfd_ctx *eventfd,
45 struct eventfd_ctx *eventfd);
Dvfio.h200 struct eventfd_ctx *eventfd;
/Linux-v5.10/fs/
Deventfd.c32 struct eventfd_ctx { struct
62 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n) in eventfd_signal() argument
91 static void eventfd_free_ctx(struct eventfd_ctx *ctx) in eventfd_free_ctx()
100 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free()
112 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
120 struct eventfd_ctx *ctx = file->private_data; in eventfd_release()
129 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll()
185 static void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
204 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, in eventfd_ctx_remove_wait_queue()
223 struct eventfd_ctx *ctx = file->private_data; in eventfd_read()
[all …]
/Linux-v5.10/drivers/vhost/
Dvhost.h65 struct eventfd_ctx *ctx;
82 struct eventfd_ctx *error_ctx;
83 struct eventfd_ctx *log_ctx;
151 struct eventfd_ctx *log_ctx;
Dvdpa.c48 struct eventfd_ctx *config_ctx;
70 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb()
81 struct eventfd_ctx *config_ctx = v->config_ctx; in vhost_vdpa_config_cb()
323 struct eventfd_ctx *ctx; in vhost_vdpa_set_config_call()
/Linux-v5.10/drivers/vfio/pci/
Dvfio_pci_private.h47 struct eventfd_ctx *trigger;
135 struct eventfd_ctx *err_trigger;
136 struct eventfd_ctx *req_trigger;
Dvfio_pci_intrs.c175 struct eventfd_ctx *trigger; in vfio_intx_set_signal()
241 struct eventfd_ctx *trigger = arg; in vfio_msihandler()
292 struct eventfd_ctx *trigger; in vfio_msi_set_vector_signal()
561 static int vfio_pci_set_ctx_trigger_single(struct eventfd_ctx **ctx, in vfio_pci_set_ctx_trigger_single()
599 struct eventfd_ctx *efdctx; in vfio_pci_set_ctx_trigger_single()
/Linux-v5.10/drivers/s390/cio/
Dvfio_ccw_private.h109 struct eventfd_ctx *io_trigger;
110 struct eventfd_ctx *crw_trigger;
Dvfio_ccw_ops.c413 struct eventfd_ctx **ctx; in vfio_ccw_mdev_set_irqs()
461 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs()
/Linux-v5.10/mm/
Dvmpressure.c152 struct eventfd_ctx *efd;
363 struct eventfd_ctx *eventfd, const char *args) in vmpressure_register_event()
424 struct eventfd_ctx *eventfd) in vmpressure_unregister_event()
Dmemcontrol.c125 struct eventfd_ctx *eventfd;
139 struct eventfd_ctx *eventfd;
150 struct eventfd_ctx *eventfd, const char *args);
157 struct eventfd_ctx *eventfd);
4284 struct eventfd_ctx *eventfd, const char *args, enum res_type type) in __mem_cgroup_usage_register_event()
4364 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_usage_register_event()
4370 struct eventfd_ctx *eventfd, const char *args) in memsw_cgroup_usage_register_event()
4376 struct eventfd_ctx *eventfd, enum res_type type) in __mem_cgroup_usage_unregister_event()
4461 struct eventfd_ctx *eventfd) in mem_cgroup_usage_unregister_event()
4467 struct eventfd_ctx *eventfd) in memsw_cgroup_usage_unregister_event()
[all …]
/Linux-v5.10/drivers/staging/gasket/
Dgasket_interrupt.c60 struct eventfd_ctx **eventfd_ctxs;
145 struct eventfd_ctx *ctx; in gasket_handle_interrupt()
490 struct eventfd_ctx *ctx = eventfd_ctx_fdget(event_fd); in gasket_interrupt_set_eventfd()
/Linux-v5.10/drivers/vfio/fsl-mc/
Dvfio_fsl_mc_private.h21 struct eventfd_ctx *trigger;
Dvfio_fsl_mc_intr.c66 struct eventfd_ctx *trigger; in vfio_set_trigger()
/Linux-v5.10/virt/kvm/
Deventfd.c286 struct eventfd_ctx *eventfd = NULL, *resamplefd = NULL; in kvm_irqfd_assign()
530 struct eventfd_ctx *eventfd; in kvm_irqfd_deassign()
661 struct eventfd_ctx *eventfd;
790 struct eventfd_ctx *eventfd; in kvm_assign_ioeventfd_idx()
853 struct eventfd_ctx *eventfd; in kvm_deassign_ioeventfd_idx()
/Linux-v5.10/drivers/vfio/platform/
Dvfio_platform_private.h27 struct eventfd_ctx *trigger;
Dvfio_platform_irq.c176 struct eventfd_ctx *trigger; in vfio_set_trigger()
/Linux-v5.10/drivers/misc/ocxl/
Dfile.c188 struct eventfd_ctx *ev_ctx = private; in irq_handler()
196 struct eventfd_ctx *ev_ctx = private; in irq_free()
206 struct eventfd_ctx *ev_ctx; in afu_ioctl()
/Linux-v5.10/drivers/usb/gadget/function/
Du_fs.h278 struct eventfd_ctx *ffs_eventfd;
/Linux-v5.10/drivers/vfio/
Dvirqfd.c110 struct eventfd_ctx *ctx; in vfio_virqfd_enable()
/Linux-v5.10/samples/vfio-mdev/
Dmtty.c131 struct eventfd_ctx *intx_evtfd;
132 struct eventfd_ctx *msi_evtfd;
949 struct eventfd_ctx *evt; in mtty_set_irqs()
981 struct eventfd_ctx *evt; in mtty_set_irqs()
/Linux-v5.10/drivers/fpga/
Ddfl.h223 struct eventfd_ctx *trigger;
/Linux-v5.10/arch/x86/kvm/
Dhyperv.c1701 struct eventfd_ctx *eventfd; in kvm_hvcall_signal_event()
1894 struct eventfd_ctx *eventfd; in kvm_hv_destroy_vm()
1905 struct eventfd_ctx *eventfd; in kvm_hv_eventfd_assign()
1929 struct eventfd_ctx *eventfd; in kvm_hv_eventfd_deassign()

12