Searched refs:eventfd_ctx (Results 1 - 19 of 19) sorted by relevance

/linux-4.4.14/include/linux/
H A Deventfd.h33 struct eventfd_ctx *eventfd_ctx_get(struct eventfd_ctx *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 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n);
39 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt);
40 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_t *wait,
54 static inline struct eventfd_ctx *eventfd_ctx_fdget(int fd) eventfd_ctx_fdget()
59 static inline int eventfd_signal(struct eventfd_ctx *ctx, int n) eventfd_signal()
64 static inline void eventfd_ctx_put(struct eventfd_ctx *ctx) eventfd_ctx_put()
69 static inline ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, eventfd_ctx_read()
75 static inline int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, eventfd_ctx_remove_wait_queue()
H A Dvmpressure.h38 struct eventfd_ctx *eventfd,
41 struct eventfd_ctx *eventfd);
H A Dkvm_irqfd.h59 struct eventfd_ctx *resamplefd;
63 struct eventfd_ctx *eventfd;
H A Dirqbypass.h24 * via a shared token (ex. eventfd_ctx). Producers and consumers register
H A Dvfio.h121 struct eventfd_ctx *eventfd;
H A Dmemcontrol.h152 struct eventfd_ctx *eventfd;
/linux-4.4.14/fs/
H A Deventfd.c25 struct eventfd_ctx { struct
54 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n) eventfd_signal()
70 static void eventfd_free_ctx(struct eventfd_ctx *ctx) eventfd_free_ctx()
77 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); eventfd_free()
88 struct eventfd_ctx *eventfd_ctx_get(struct eventfd_ctx *ctx) eventfd_ctx_get()
102 void eventfd_ctx_put(struct eventfd_ctx *ctx) eventfd_ctx_put()
110 struct eventfd_ctx *ctx = file->private_data; eventfd_release()
119 struct eventfd_ctx *ctx = file->private_data; eventfd_poll()
137 static void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) eventfd_ctx_do_read()
156 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_t *wait, eventfd_ctx_remove_wait_queue()
186 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt) eventfd_ctx_read()
229 struct eventfd_ctx *ctx = file->private_data; eventfd_read()
245 struct eventfd_ctx *ctx = file->private_data; eventfd_write()
292 struct eventfd_ctx *ctx = f->private_data; eventfd_show_fdinfo()
347 struct eventfd_ctx *eventfd_ctx_fdget(int fd) eventfd_ctx_fdget()
349 struct eventfd_ctx *ctx; eventfd_ctx_fdget()
368 struct eventfd_ctx *eventfd_ctx_fileget(struct file *file) eventfd_ctx_fileget()
394 struct eventfd_ctx *ctx; eventfd_file_create()
H A Daio.c188 struct eventfd_ctx *ki_eventfd;
/linux-4.4.14/drivers/vfio/pci/
H A Dvfio_pci_private.h28 struct eventfd_ctx *trigger;
62 struct eventfd_ctx *err_trigger;
63 struct eventfd_ctx *req_trigger;
H A Dvfio_pci_intrs.c178 struct eventfd_ctx *trigger; vfio_intx_set_signal()
244 struct eventfd_ctx *trigger = arg; vfio_msihandler()
314 struct eventfd_ctx *trigger; vfio_msi_set_vector_signal()
565 static int vfio_pci_set_ctx_trigger_single(struct eventfd_ctx **ctx, vfio_pci_set_ctx_trigger_single()
592 struct eventfd_ctx *efdctx; vfio_pci_set_ctx_trigger_single()
/linux-4.4.14/drivers/vhost/
H A Dvhost.h68 struct eventfd_ctx *call_ctx;
69 struct eventfd_ctx *error_ctx;
70 struct eventfd_ctx *log_ctx;
126 struct eventfd_ctx *log_ctx;
H A Dvhost.c737 struct eventfd_ctx *ctx = NULL; vhost_vring_ioctl()
942 struct eventfd_ctx *ctx = NULL; vhost_dev_ioctl()
/linux-4.4.14/drivers/vfio/platform/
H A Dvfio_platform_private.h35 struct eventfd_ctx *trigger;
H A Dvfio_platform_irq.c184 struct eventfd_ctx *trigger; vfio_set_trigger()
/linux-4.4.14/virt/kvm/
H A Deventfd.c288 struct eventfd_ctx *eventfd = NULL, *resamplefd = NULL; kvm_irqfd_assign()
525 struct eventfd_ctx *eventfd; kvm_irqfd_deassign()
656 struct eventfd_ctx *eventfd;
785 struct eventfd_ctx *eventfd; kvm_assign_ioeventfd_idx()
848 struct eventfd_ctx *eventfd; kvm_deassign_ioeventfd_idx()
/linux-4.4.14/mm/
H A Dvmpressure.c134 struct eventfd_ctx *efd;
297 struct eventfd_ctx *eventfd, const char *args) vmpressure_register_event()
337 struct eventfd_ctx *eventfd) vmpressure_unregister_event()
H A Dmemcontrol.c142 struct eventfd_ctx *eventfd;
156 struct eventfd_ctx *eventfd;
167 struct eventfd_ctx *eventfd, const char *args);
174 struct eventfd_ctx *eventfd);
3370 struct eventfd_ctx *eventfd, const char *args, enum res_type type) __mem_cgroup_usage_register_event()
3452 struct eventfd_ctx *eventfd, const char *args) mem_cgroup_usage_register_event()
3458 struct eventfd_ctx *eventfd, const char *args) memsw_cgroup_usage_register_event()
3464 struct eventfd_ctx *eventfd, enum res_type type) __mem_cgroup_usage_unregister_event()
3543 struct eventfd_ctx *eventfd) mem_cgroup_usage_unregister_event()
3549 struct eventfd_ctx *eventfd) memsw_cgroup_usage_unregister_event()
3555 struct eventfd_ctx *eventfd, const char *args) mem_cgroup_oom_register_event()
3577 struct eventfd_ctx *eventfd) mem_cgroup_oom_unregister_event()
/linux-4.4.14/drivers/vfio/
H A Dvirqfd.c113 struct eventfd_ctx *ctx; vfio_virqfd_enable()
/linux-4.4.14/drivers/usb/gadget/function/
H A Du_fs.h275 struct eventfd_ctx *ffs_eventfd;

Completed in 311 milliseconds