Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Deventfd.h33 struct eventfd_ctx;
38 void eventfd_ctx_put(struct eventfd_ctx *ctx);
40 struct eventfd_ctx *eventfd_ctx_fdget(int fd);
41 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file);
42 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n);
45 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt);
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()
[all …]
A Dkvm_irqfd.h52 struct eventfd_ctx *resamplefd;
56 struct eventfd_ctx *eventfd;
A Dvmpressure.h42 struct eventfd_ctx *eventfd,
45 struct eventfd_ctx *eventfd);
A Dvfio_pci_core.h48 struct eventfd_ctx *trigger;
130 struct eventfd_ctx *err_trigger;
131 struct eventfd_ctx *req_trigger;
A Dvfio.h187 struct eventfd_ctx *eventfd;
/linux/fs/
A Deventfd.c30 struct eventfd_ctx { struct
98 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free()
110 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
118 struct eventfd_ctx *ctx = file->private_data; in eventfd_release()
127 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll()
224 struct eventfd_ctx *ctx = file->private_data; in eventfd_read()
315 struct eventfd_ctx *ctx = f->private_data; in eventfd_show_fdinfo()
371 struct eventfd_ctx *eventfd_ctx_fdget(int fd) in eventfd_ctx_fdget()
373 struct eventfd_ctx *ctx; in eventfd_ctx_fdget()
394 struct eventfd_ctx *ctx; in eventfd_ctx_fileget()
[all …]
/linux/drivers/s390/cio/
A Dvfio_ccw_private.h115 struct eventfd_ctx *io_trigger;
116 struct eventfd_ctx *crw_trigger;
117 struct eventfd_ctx *req_trigger;
A Dvfio_ccw_ops.c421 struct eventfd_ctx **ctx; in vfio_ccw_mdev_set_irqs()
470 struct eventfd_ctx *efdctx; in vfio_ccw_mdev_set_irqs()
/linux/drivers/vhost/
A Dvhost.h64 struct eventfd_ctx *ctx;
81 struct eventfd_ctx *error_ctx;
82 struct eventfd_ctx *log_ctx;
150 struct eventfd_ctx *log_ctx;
A 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()
321 struct eventfd_ctx *ctx; in vhost_vdpa_set_config_call()
/linux/drivers/virt/acrn/
A Dirqfd.c36 struct eventfd_ctx *eventfd;
113 struct eventfd_ctx *eventfd = NULL; in acrn_irqfd_assign()
182 struct eventfd_ctx *eventfd; in acrn_irqfd_deassign()
A 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/mm/
A Dvmpressure.c151 struct eventfd_ctx *efd;
367 struct eventfd_ctx *eventfd, const char *args) in vmpressure_register_event()
428 struct eventfd_ctx *eventfd) in vmpressure_unregister_event()
A Dmemcontrol.c129 struct eventfd_ctx *eventfd;
143 struct eventfd_ctx *eventfd;
154 struct eventfd_ctx *eventfd, const char *args);
161 struct eventfd_ctx *eventfd);
4238 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_usage_register_event()
4244 struct eventfd_ctx *eventfd, const char *args) in memsw_cgroup_usage_register_event()
4250 struct eventfd_ctx *eventfd, enum res_type type) in __mem_cgroup_usage_unregister_event()
4335 struct eventfd_ctx *eventfd) in mem_cgroup_usage_unregister_event()
4341 struct eventfd_ctx *eventfd) in memsw_cgroup_usage_unregister_event()
4347 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_oom_register_event()
[all …]
/linux/drivers/vfio/pci/
A 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/virt/kvm/
A Deventfd.c298 struct eventfd_ctx *eventfd = NULL, *resamplefd = NULL; in kvm_irqfd_assign()
542 struct eventfd_ctx *eventfd; in kvm_irqfd_deassign()
679 struct eventfd_ctx *eventfd;
808 struct eventfd_ctx *eventfd; in kvm_assign_ioeventfd_idx()
871 struct eventfd_ctx *eventfd; in kvm_deassign_ioeventfd_idx()
/linux/drivers/vfio/fsl-mc/
A Dvfio_fsl_mc_private.h21 struct eventfd_ctx *trigger;
A Dvfio_fsl_mc_intr.c66 struct eventfd_ctx *trigger; in vfio_set_trigger()
/linux/drivers/misc/ocxl/
A 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/drivers/vfio/platform/
A Dvfio_platform_private.h28 struct eventfd_ctx *trigger;
A Dvfio_platform_irq.c176 struct eventfd_ctx *trigger; in vfio_set_trigger()
/linux/drivers/usb/gadget/function/
A Du_fs.h278 struct eventfd_ctx *ffs_eventfd;
/linux/samples/vfio-mdev/
A Dmtty.c132 struct eventfd_ctx *intx_evtfd;
133 struct eventfd_ctx *msi_evtfd;
926 struct eventfd_ctx *evt; in mtty_set_irqs()
958 struct eventfd_ctx *evt; in mtty_set_irqs()
/linux/drivers/vfio/
A Dvirqfd.c113 struct eventfd_ctx *ctx; in vfio_virqfd_enable()
/linux/drivers/fpga/
A Ddfl.h224 struct eventfd_ctx *trigger;

Completed in 86 milliseconds

12