/linux/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 82 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o() 97 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1op() 109 if (epoll_wait(ctx->efd[0], events, 2, -1) > 0) in waiter_entry2a() 124 if (epoll_wait(ctx->efd[0], events, 2, 0) > 0) in waiter_entry2ap() 179 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST() 180 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST() 210 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST() 211 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 0); in TEST() [all …]
|
/linux/tools/testing/selftests/net/packetdrill/ |
H A D | tcp_zerocopy_epoll_edge.pkt | 27 +0 epoll_wait(5, {events=EPOLLOUT, fd=4}, 1, 0) = 1 38 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 39 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0 46 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 47 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
|
H A D | tcp_zerocopy_epoll_exclusive.pkt | 29 +0 epoll_wait(5, {events=EPOLLOUT, fd=4}, 1, 0) = 1 40 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 41 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0 48 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 49 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
|
H A D | tcp_zerocopy_epoll_oneshot.pkt | 39 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 40 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0 47 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0 51 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 52 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
|
/linux/tools/thermal/lib/ |
H A D | mainloop.c | 33 nfds = epoll_wait(epfd, events, MAX_EVENTS, timeout); in mainloop()
|
/linux/arch/um/os-Linux/ |
H A D | irq.c | 73 n = epoll_wait(epollfd, in os_waiting_for_events_epoll()
|
/linux/Documentation/networking/ |
H A D | napi.rst | 241 ``epoll_wait``. In order to use this feature, a user application must ensure 259 epoll-based applications to busy poll when they call epoll_wait. This may 323 While application calls to epoll_wait successfully retrieve events, the kernel will 340 call to epoll_wait, noting that applications can control how much data 341 they retrieve by setting ``max_events`` when calling epoll_wait. 353 As mentioned above, as long as subsequent calls to epoll_wait return events to 357 Once a call to epoll_wait results in no events being found, IRQ suspension is
|
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_ringbufs.c | 333 cnt = epoll_wait(ctx->epoll_fd, &ctx->event, 1, -1); in ringbuf_custom_consumer() 491 cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, -1); in perfbuf_custom_consumer()
|
/linux/tools/testing/selftests/net/ |
H A D | reuseport_dualstack.c | 108 i = epoll_wait(epfd, &ev, 1, -1); in receive_once()
|
H A D | reuseport_bpf_cpu.c | 157 i = epoll_wait(epfd, &ev, 1, -1); in receive_on_cpu()
|
H A D | reuseport_bpf_numa.c | 167 i = epoll_wait(epfd, &ev, 1, -1); in receive_on_node()
|
H A D | reuseport_addr_any.c | 174 i = epoll_wait(epfd, &ev, 1, 3); in receive_once()
|
H A D | tcp_fastopen_backup_key.c | 268 i = epoll_wait(epfd, &ev, 1, -1); in run_one_test()
|
H A D | reuseport_bpf.c | 240 i = epoll_wait(epfd, &ev, 1, -1); in test_recv_order()
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | userfaultfd_util.c | 54 r = epoll_wait(epollfd, &evt, 1, -1); in uffd_handler_thread_fn()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_struct_ops_module.c | 285 nfds = epoll_wait(epollfd, events, 2, 500); in test_detach_link()
|
H A D | select_reuseport.c | 398 nev = epoll_wait(epfd, &ev, 1, expected >= PASS ? 5 : 0); in do_test() 561 nev = epoll_wait(epfd, &ev, 1, 5); in test_detach_bpf()
|
/linux/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 219 event_count = epoll_wait(epoll_fd, ev, MAX_EVENTS, -1); in handle_events()
|
/linux/Documentation/ABI/stable/ |
H A D | firewire-cdev | 73 poll(2), select(2), epoll_wait(2) etc.
|
/linux/kernel/ |
H A D | sys_ni.c | 325 COND_SYSCALL(epoll_wait);
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 415 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); in poll_pidfd() 417 ksft_exit_fail_msg("%s test: Unexpected epoll_wait result (c=%d, events=%x) " in poll_pidfd()
|
/linux/tools/perf/Documentation/ |
H A D | perf-bench.txt | 248 Suite for evaluating concurrent epoll_wait calls.
|
/linux/tools/perf/bench/ |
H A D | epoll-wait.c | 6 * This program benchmarks concurrent epoll_wait(2) monitoring multiple 37 * epoll_wait not finding any ready read events and blocking as this 40 * epoll_wait(2) blocking as the lineal writer thread will take "longer", 50 * epoll_wait(2) + [others] 137 OPT_BOOLEAN( 'B', "nonblocking", &nonblocking, "Nonblocking epoll_wait(2) behaviour"), 203 * In order to stress the epoll_wait(2) syscall, in workerfn() 208 ret = epoll_wait(efd, &ev, 1, to); in workerfn() 211 err(EXIT_FAILURE, "epoll_wait"); in workerfn()
|
/linux/tools/testing/selftests/net/af_unix/ |
H A D | msg_oob.c | 167 ret[i] = epoll_wait(self->epoll_fd[i], &event[i], 1, 0); in __epollpair()
|
/linux/tools/perf/arch/mips/entry/syscalls/ |
H A D | syscall_n64.tbl | 220 209 n64 epoll_wait sys_epoll_wait
|