Searched refs:eventfd_ctx (Results 1 - 19 of 19) sorted by relevance
/linux-4.4.14/include/linux/ |
H A D | eventfd.h | 33 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 D | vmpressure.h | 38 struct eventfd_ctx *eventfd, 41 struct eventfd_ctx *eventfd);
|
H A D | kvm_irqfd.h | 59 struct eventfd_ctx *resamplefd; 63 struct eventfd_ctx *eventfd;
|
H A D | irqbypass.h | 24 * via a shared token (ex. eventfd_ctx). Producers and consumers register
|
H A D | vfio.h | 121 struct eventfd_ctx *eventfd;
|
H A D | memcontrol.h | 152 struct eventfd_ctx *eventfd;
|
/linux-4.4.14/fs/ |
H A D | eventfd.c | 25 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 D | aio.c | 188 struct eventfd_ctx *ki_eventfd;
|
/linux-4.4.14/drivers/vfio/pci/ |
H A D | vfio_pci_private.h | 28 struct eventfd_ctx *trigger; 62 struct eventfd_ctx *err_trigger; 63 struct eventfd_ctx *req_trigger;
|
H A D | vfio_pci_intrs.c | 178 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 D | vhost.h | 68 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 D | vhost.c | 737 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 D | vfio_platform_private.h | 35 struct eventfd_ctx *trigger;
|
H A D | vfio_platform_irq.c | 184 struct eventfd_ctx *trigger; vfio_set_trigger()
|
/linux-4.4.14/virt/kvm/ |
H A D | eventfd.c | 288 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 D | vmpressure.c | 134 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 D | memcontrol.c | 142 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 D | virqfd.c | 113 struct eventfd_ctx *ctx; vfio_virqfd_enable()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | u_fs.h | 275 struct eventfd_ctx *ffs_eventfd;
|
Completed in 311 milliseconds