/linux-4.4.14/virt/kvm/ |
D | eventfd.c | 128 eventfd_ctx_remove_wait_queue(irqfd->eventfd, &irqfd->wait, &cnt); in irqfd_shutdown() 147 eventfd_ctx_put(irqfd->eventfd); in irqfd_shutdown() 288 struct eventfd_ctx *eventfd = NULL, *resamplefd = NULL; in kvm_irqfd_assign() local 313 eventfd = eventfd_ctx_fileget(f.file); in kvm_irqfd_assign() 314 if (IS_ERR(eventfd)) { in kvm_irqfd_assign() 315 ret = PTR_ERR(eventfd); in kvm_irqfd_assign() 319 irqfd->eventfd = eventfd; in kvm_irqfd_assign() 380 if (irqfd->eventfd != tmp->eventfd) in kvm_irqfd_assign() 411 irqfd->consumer.token = (void *)irqfd->eventfd; in kvm_irqfd_assign() 431 if (eventfd && !IS_ERR(eventfd)) in kvm_irqfd_assign() [all …]
|
/linux-4.4.14/mm/ |
D | vmpressure.c | 297 struct eventfd_ctx *eventfd, const char *args) in vmpressure_register_event() argument 315 ev->efd = eventfd; in vmpressure_register_event() 337 struct eventfd_ctx *eventfd) in vmpressure_unregister_event() argument 344 if (ev->efd != eventfd) in vmpressure_unregister_event()
|
D | memcontrol.c | 142 struct eventfd_ctx *eventfd; member 156 struct eventfd_ctx *eventfd; member 167 struct eventfd_ctx *eventfd, const char *args); 174 struct eventfd_ctx *eventfd); 3303 eventfd_signal(t->entries[i].eventfd, 1); in __mem_cgroup_threshold() 3315 eventfd_signal(t->entries[i].eventfd, 1); in __mem_cgroup_threshold() 3355 eventfd_signal(ev->eventfd, 1); in mem_cgroup_oom_notify_cb() 3370 struct eventfd_ctx *eventfd, const char *args, enum res_type type) in __mem_cgroup_usage_register_event() argument 3415 new->entries[size - 1].eventfd = eventfd; in __mem_cgroup_usage_register_event() 3452 struct eventfd_ctx *eventfd, const char *args) in mem_cgroup_usage_register_event() argument [all …]
|
/linux-4.4.14/include/linux/ |
D | vmpressure.h | 38 struct eventfd_ctx *eventfd, 41 struct eventfd_ctx *eventfd);
|
D | kvm_irqfd.h | 63 struct eventfd_ctx *eventfd; member
|
D | vfio.h | 121 struct eventfd_ctx *eventfd; member
|
D | memcontrol.h | 152 struct eventfd_ctx *eventfd; member
|
/linux-4.4.14/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-4.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 190 API-eventfd-signal 191 API-eventfd-ctx-get 192 API-eventfd-ctx-put 193 API-eventfd-ctx-remove-wait-queue 194 API-eventfd-ctx-read 195 API-eventfd-fget 196 API-eventfd-ctx-fdget 197 API-eventfd-ctx-fileget
|
D | .filesystems.xml.cmd | 2 …ems.c fs/fs-writeback.c fs/block_dev.c kernel/sysctl.c fs/proc/base.c fs/eventfd.c fs/sysfs/file.c…
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | Makefile | 11 $(KVM)/eventfd.o 92 $(KVM)/eventfd.o \
|
/linux-4.4.14/arch/s390/kvm/ |
D | Makefile | 10 common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o $(KVM)/irqchip.o
|
/linux-4.4.14/tools/cgroup/ |
D | cgroup_event_listener.c | 46 efd = eventfd(0, 0); in main()
|
/linux-4.4.14/arch/x86/kvm/ |
D | Makefile | 11 $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o
|
/linux-4.4.14/arch/arm/kvm/ |
D | Makefile | 18 kvm-arm-y = $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
|
/linux-4.4.14/arch/arm64/kvm/ |
D | Makefile | 14 kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfi…
|
/linux-4.4.14/tools/virtio/ |
D | virtio_test.c | 95 info->kick = eventfd(0, EFD_NONBLOCK); in vq_info_add() 96 info->call = eventfd(0, EFD_NONBLOCK); in vq_info_add()
|
/linux-4.4.14/Documentation/cgroups/ |
D | memory.txt | 727 - create an eventfd using eventfd(2); 732 Application will be notified through eventfd when memory usage crosses 746 - create an eventfd using eventfd(2) 751 The application will be notified through eventfd when OOM happens. 811 The file memory.pressure_level is only used to setup an eventfd. To 814 - create an eventfd using eventfd(2); 819 Application will be notified through eventfd when memory pressure is at
|
/linux-4.4.14/fs/ |
D | Makefile | 29 obj-$(CONFIG_EVENTFD) += eventfd.o
|
D | eventfd.c | 445 SYSCALL_DEFINE1(eventfd, unsigned int, count) in SYSCALL_DEFINE1() argument
|
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 267 evfd = eventfd(0, 0); in main()
|
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 293 evfd = eventfd(0, 0); in main()
|
/linux-4.4.14/tools/lguest/ |
D | lguest.c | 224 int eventfd; member 780 if (read(vq->eventfd, &event, sizeof(event)) != sizeof(event)) in wait_for_vq_desc() 1855 vq->eventfd = eventfd(0, 0); in start_virtqueue() 1856 if (vq->eventfd < 0) in start_virtqueue() 2116 write(vq->eventfd, "\1\0\0\0\0\0\0\0", 8); in emulate_mmio_write()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | syscall_table.S | 402 ENTRY_SAME(eventfd)
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 314 SYSCALL_SPU(eventfd)
|
/linux-4.4.14/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 293 284 common eventfd sys_eventfd
|
D | syscall_32.tbl | 332 323 i386 eventfd sys_eventfd
|
/linux-4.4.14/Documentation/filesystems/ |
D | proc.txt | 1734 The files such as eventfd, fsnotify, signalfd, epoll among the regular pos/flags 1742 eventfd-count: 5a 1744 where 'eventfd-count' is hex value of a counter.
|
/linux-4.4.14/Documentation/ |
D | adding-syscalls.txt | 57 together with the corresponding follow-up system calls -- eventfd/eventfd2,
|
/linux-4.4.14/Documentation/virtual/kvm/ |
D | api.txt | 2315 Allows setting an eventfd to directly trigger a guest interrupt. 2316 kvm_irqfd.fd specifies the file descriptor to use as the eventfd and 2318 an event is triggered on the eventfd, an interrupt is injected into 2326 additional eventfd in the kvm_irqfd.resamplefd field. When operating
|
/linux-4.4.14/init/ |
D | Kconfig | 1540 bool "Enable eventfd() system call" if EXPERT 1544 Enable the eventfd() system call that allows to receive both
|