/Linux-v4.19/virt/kvm/ |
D | eventfd.c | 132 eventfd_ctx_remove_wait_queue(irqfd->eventfd, &irqfd->wait, &cnt); in irqfd_shutdown() 151 eventfd_ctx_put(irqfd->eventfd); in irqfd_shutdown() 292 struct eventfd_ctx *eventfd = NULL, *resamplefd = NULL; in kvm_irqfd_assign() local 317 eventfd = eventfd_ctx_fileget(f.file); in kvm_irqfd_assign() 318 if (IS_ERR(eventfd)) { in kvm_irqfd_assign() 319 ret = PTR_ERR(eventfd); in kvm_irqfd_assign() 323 irqfd->eventfd = eventfd; in kvm_irqfd_assign() 384 if (irqfd->eventfd != tmp->eventfd) in kvm_irqfd_assign() 410 irqfd->consumer.token = (void *)irqfd->eventfd; in kvm_irqfd_assign() 438 if (eventfd && !IS_ERR(eventfd)) in kvm_irqfd_assign() [all …]
|
/Linux-v4.19/include/linux/ |
D | vmpressure.h | 42 struct eventfd_ctx *eventfd, 45 struct eventfd_ctx *eventfd);
|
D | kvm_irqfd.h | 63 struct eventfd_ctx *eventfd; member
|
D | vfio.h | 184 struct eventfd_ctx *eventfd; member
|
/Linux-v4.19/mm/ |
D | vmpressure.c | 363 struct eventfd_ctx *eventfd, const char *args) in vmpressure_register_event() argument 403 ev->efd = eventfd; in vmpressure_register_event() 427 struct eventfd_ctx *eventfd) in vmpressure_unregister_event() argument 434 if (ev->efd != eventfd) in vmpressure_unregister_event()
|
D | memcontrol.c | 135 struct eventfd_ctx *eventfd; member 149 struct eventfd_ctx *eventfd; member 160 struct eventfd_ctx *eventfd, const char *args); 167 struct eventfd_ctx *eventfd); 3531 eventfd_signal(t->entries[i].eventfd, 1); in __mem_cgroup_threshold() 3543 eventfd_signal(t->entries[i].eventfd, 1); in __mem_cgroup_threshold() 3583 eventfd_signal(ev->eventfd, 1); in mem_cgroup_oom_notify_cb() 3598 struct eventfd_ctx *eventfd, const char *args, enum res_type type) in __mem_cgroup_usage_register_event() argument 3643 new->entries[size - 1].eventfd = eventfd; in __mem_cgroup_usage_register_event() 3680 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_usage_register_event() argument [all …]
|
/Linux-v4.19/drivers/vfio/ |
D | virqfd.c | 93 eventfd_ctx_remove_wait_queue(virqfd->eventfd, &virqfd->wait, &cnt); in virqfd_shutdown() 95 eventfd_ctx_put(virqfd->eventfd); in virqfd_shutdown() 143 virqfd->eventfd = ctx; in vfio_virqfd_enable()
|
/Linux-v4.19/arch/x86/kvm/ |
D | hyperv.c | 1405 struct eventfd_ctx *eventfd; in kvm_hvcall_signal_event() local 1433 eventfd = idr_find(&vcpu->kvm->arch.hyperv.conn_to_evt, param); in kvm_hvcall_signal_event() 1435 if (!eventfd) in kvm_hvcall_signal_event() 1438 eventfd_signal(eventfd, 1); in kvm_hvcall_signal_event() 1558 struct eventfd_ctx *eventfd; in kvm_hv_destroy_vm() local 1561 idr_for_each_entry(&kvm->arch.hyperv.conn_to_evt, eventfd, i) in kvm_hv_destroy_vm() 1562 eventfd_ctx_put(eventfd); in kvm_hv_destroy_vm() 1569 struct eventfd_ctx *eventfd; in kvm_hv_eventfd_assign() local 1572 eventfd = eventfd_ctx_fdget(fd); in kvm_hv_eventfd_assign() 1573 if (IS_ERR(eventfd)) in kvm_hv_eventfd_assign() [all …]
|
D | Makefile | 12 $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o
|
/Linux-v4.19/arch/s390/kvm/ |
D | Makefile | 7 common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o $(KVM)/irqchip.o $(KVM)/vfio.o
|
/Linux-v4.19/drivers/misc/ocxl/ |
D | afu_irq.c | 165 int ocxl_afu_irq_set_fd(struct ocxl_context *ctx, u64 irq_offset, int eventfd) in ocxl_afu_irq_set_fd() argument 178 ev_ctx = eventfd_ctx_fdget(eventfd); in ocxl_afu_irq_set_fd()
|
D | ocxl_internal.h | 129 int eventfd);
|
/Linux-v4.19/tools/virtio/ringtest/ |
D | main.c | 302 kickfd = eventfd(0, 0); in main() 304 callfd = eventfd(0, 0); in main()
|
/Linux-v4.19/tools/cgroup/ |
D | cgroup_event_listener.c | 47 efd = eventfd(0, 0); in main()
|
/Linux-v4.19/include/uapi/misc/ |
D | ocxl.h | 65 __s32 eventfd; member
|
/Linux-v4.19/tools/virtio/ |
D | virtio_test.c | 96 info->kick = eventfd(0, EFD_NONBLOCK); in vq_info_add() 97 info->call = eventfd(0, EFD_NONBLOCK); in vq_info_add()
|
/Linux-v4.19/arch/arm/kvm/ |
D | Makefile | 19 kvm-arm-y = $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
|
/Linux-v4.19/arch/arm64/kvm/ |
D | Makefile | 15 kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfi…
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | Makefile | 11 common-objs-y = $(KVM)/kvm_main.o $(KVM)/eventfd.o
|
/Linux-v4.19/fs/ |
D | Makefile | 30 obj-$(CONFIG_EVENTFD) += eventfd.o
|
/Linux-v4.19/Documentation/cgroup-v1/ |
D | memory.txt | 719 - create an eventfd using eventfd(2); 724 Application will be notified through eventfd when memory usage crosses 738 - create an eventfd using eventfd(2) 743 The application will be notified through eventfd when OOM happens. 826 The file memory.pressure_level is only used to setup an eventfd. To 829 - create an eventfd using eventfd(2); 834 Application will be notified through eventfd when memory pressure is at
|
/Linux-v4.19/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 267 evfd = eventfd(0, 0); in main()
|
/Linux-v4.19/kernel/ |
D | sys_ni.c | 384 COND_SYSCALL(eventfd);
|
/Linux-v4.19/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 376 sync_fd = eventfd(0, EFD_CLOEXEC); in TEST()
|
/Linux-v4.19/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 293 evfd = eventfd(0, 0); in main()
|