Home
last modified time | relevance | path

Searched refs:eventfd (Results 1 – 25 of 34) sorted by relevance

12

/tools/testing/selftests/kvm/
A Dirqfd_test.c28 static void juggle_eventfd_secondary(struct kvm_vm *vm, int eventfd) in juggle_eventfd_secondary() argument
41 r = __kvm_irqfd(vm, GSI_BASE_SECONDARY, eventfd, 0); in juggle_eventfd_secondary()
47 r = __kvm_irqfd(vm, GSI_BASE_SECONDARY + i, eventfd, KVM_IRQFD_FLAG_DEASSIGN); in juggle_eventfd_secondary()
63 static void juggle_eventfd_primary(struct kvm_vm *vm, int eventfd) in juggle_eventfd_primary() argument
72 r1 = __kvm_irqfd(vm, GSI_BASE_PRIMARY, eventfd, 0); in juggle_eventfd_primary()
76 r2 = __kvm_irqfd(vm, GSI_BASE_PRIMARY + 1, eventfd, 0); in juggle_eventfd_primary()
85 kvm_irqfd(vm, GSI_BASE_PRIMARY, eventfd, KVM_IRQFD_FLAG_DEASSIGN); in juggle_eventfd_primary()
86 kvm_irqfd(vm, GSI_BASE_PRIMARY + 1, eventfd, KVM_IRQFD_FLAG_DEASSIGN); in juggle_eventfd_primary()
/tools/build/feature/
A Dtest-eventfd.c8 return eventfd(0, EFD_NONBLOCK); in main()
A DMakefile9 test-eventfd.bin \
147 $(OUTPUT)test-eventfd.bin:
/tools/testing/selftests/kvm/include/
A Dkvm_util.h509 static inline int __kvm_irqfd(struct kvm_vm *vm, uint32_t gsi, int eventfd, in __kvm_irqfd() argument
513 .fd = eventfd, in __kvm_irqfd()
522 static inline void kvm_irqfd(struct kvm_vm *vm, uint32_t gsi, int eventfd, in kvm_irqfd() argument
525 int ret = __kvm_irqfd(vm, gsi, eventfd, flags); in kvm_irqfd()
530 static inline void kvm_assign_irqfd(struct kvm_vm *vm, uint32_t gsi, int eventfd) in kvm_assign_irqfd() argument
532 kvm_irqfd(vm, gsi, eventfd, 0); in kvm_assign_irqfd()
535 static inline void kvm_deassign_irqfd(struct kvm_vm *vm, uint32_t gsi, int eventfd) in kvm_deassign_irqfd() argument
537 kvm_irqfd(vm, gsi, eventfd, KVM_IRQFD_FLAG_DEASSIGN); in kvm_deassign_irqfd()
542 int fd = eventfd(0, 0); in kvm_new_eventfd()
/tools/virtio/ringtest/
A Dmain.c302 kickfd = eventfd(0, 0); in main()
304 callfd = eventfd(0, 0); in main()
/tools/virtio/
A Dvirtio_test.c116 info->kick = eventfd(0, EFD_NONBLOCK); in vq_info_add()
117 info->call = eventfd(0, EFD_NONBLOCK); in vq_info_add()
A Dvhost_net_test.c198 info->kick = eventfd(0, EFD_NONBLOCK); in vq_info_add()
/tools/build/
A DMakefile.feature69 eventfd \
/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c285 evfd = eventfd(0, 0); in main()
/tools/usb/ffs-aio-example/multibuff/device_app/
A Daio_multibuff.c293 evfd = eventfd(0, 0); in main()
/tools/testing/selftests/uevent/
A Duevent_filtering.c377 sync_fd = eventfd(0, EFD_CLOEXEC); in TEST()
/tools/perf/bench/
A Depoll-ctl.c249 w->fdmap[j] = eventfd(0, EFD_NONBLOCK); in do_threads()
A Depoll-wait.c338 w->fdmap[j] = eventfd(0, EFD_NONBLOCK); in do_threads()
/tools/testing/selftests/kvm/x86/
A Dxen_shinfo_test.c602 inj.u.evtchn.deliver.eventfd.port = 0; in main()
603 inj.u.evtchn.deliver.eventfd.fd = irq_fd[1]; in main()
/tools/testing/selftests/bpf/prog_tests/
A Dtask_local_storage.c270 ev_fd = eventfd(0, 0); in test_uptr_basic()
/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl289 278 n64 eventfd sys_eventfd
/tools/arch/x86/include/uapi/asm/
A Dkvm.h609 } eventfd; member
/tools/perf/arch/parisc/entry/syscalls/
A Dsyscall.tbl344 304 common eventfd sys_eventfd
/tools/perf/arch/sh/entry/syscalls/
A Dsyscall.tbl333 323 common eventfd sys_eventfd
/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl296 284 common eventfd sys_eventfd
/tools/perf/arch/xtensa/entry/syscalls/
A Dsyscall.tbl329 306 common eventfd sys_eventfd
/tools/perf/arch/alpha/entry/syscalls/
A Dsyscall.tbl409 478 common eventfd sys_eventfd
/tools/perf/arch/arm/entry/syscalls/
A Dsyscall.tbl369 351 common eventfd sys_eventfd
/tools/perf/arch/arm64/entry/syscalls/
A Dsyscall_32.tbl366 351 common eventfd sys_eventfd
/tools/perf/arch/sparc/entry/syscalls/
A Dsyscall.tbl380 313 common eventfd sys_eventfd

Completed in 64 milliseconds

12