/Linux-v5.10/include/linux/ |
D | eventfd.h | 32 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()
|
D | kvm_irqfd.h | 52 struct eventfd_ctx *resamplefd; 56 struct eventfd_ctx *eventfd;
|
D | vmpressure.h | 42 struct eventfd_ctx *eventfd, 45 struct eventfd_ctx *eventfd);
|
D | vfio.h | 200 struct eventfd_ctx *eventfd;
|
/Linux-v5.10/fs/ |
D | eventfd.c | 32 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/ |
D | vhost.h | 65 struct eventfd_ctx *ctx; 82 struct eventfd_ctx *error_ctx; 83 struct eventfd_ctx *log_ctx; 151 struct eventfd_ctx *log_ctx;
|
D | vdpa.c | 48 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/ |
D | vfio_pci_private.h | 47 struct eventfd_ctx *trigger; 135 struct eventfd_ctx *err_trigger; 136 struct eventfd_ctx *req_trigger;
|
D | vfio_pci_intrs.c | 175 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/ |
D | vfio_ccw_private.h | 109 struct eventfd_ctx *io_trigger; 110 struct eventfd_ctx *crw_trigger;
|
D | vfio_ccw_ops.c | 413 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/ |
D | vmpressure.c | 152 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()
|
D | memcontrol.c | 125 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/ |
D | gasket_interrupt.c | 60 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/ |
D | vfio_fsl_mc_private.h | 21 struct eventfd_ctx *trigger;
|
D | vfio_fsl_mc_intr.c | 66 struct eventfd_ctx *trigger; in vfio_set_trigger()
|
/Linux-v5.10/virt/kvm/ |
D | eventfd.c | 286 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/ |
D | vfio_platform_private.h | 27 struct eventfd_ctx *trigger;
|
D | vfio_platform_irq.c | 176 struct eventfd_ctx *trigger; in vfio_set_trigger()
|
/Linux-v5.10/drivers/misc/ocxl/ |
D | file.c | 188 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/ |
D | u_fs.h | 278 struct eventfd_ctx *ffs_eventfd;
|
/Linux-v5.10/drivers/vfio/ |
D | virqfd.c | 110 struct eventfd_ctx *ctx; in vfio_virqfd_enable()
|
/Linux-v5.10/samples/vfio-mdev/ |
D | mtty.c | 131 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/ |
D | dfl.h | 223 struct eventfd_ctx *trigger;
|
/Linux-v5.10/arch/x86/kvm/ |
D | hyperv.c | 1701 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()
|