Home
last modified time | relevance | path

Searched refs:epoll_wait (Results 1 – 25 of 41) sorted by relevance

12

/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c55 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 Dtcp_zerocopy_epoll_edge.pkt30 +0 epoll_wait(5, {events=EPOLLOUT, fd=4}, 1, 0) = 1
41 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
42 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
49 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
50 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
H A Dtcp_zerocopy_epoll_exclusive.pkt32 +0 epoll_wait(5, {events=EPOLLOUT, fd=4}, 1, 0) = 1
43 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
44 +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
H A Dtcp_zerocopy_epoll_oneshot.pkt42 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
43 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
50 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
54 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
55 +0 epoll_wait(5, {events=0, ptr=0}, 1, 0) = 0
/linux/tools/thermal/lib/
H A Dmainloop.c33 nfds = epoll_wait(epfd, events, MAX_EVENTS, timeout); in mainloop()
/linux/arch/um/os-Linux/
H A Dirq.c73 n = epoll_wait(epollfd, in os_waiting_for_events_epoll()
H A Dsigio.c42 r = epoll_wait(epollfd, epoll_events, MAX_EPOLL_EVENTS, -1); in write_sigio_thread()
/linux/tools/testing/selftests/arm64/gcs/
H A Dgcs-stress.c334 ret = epoll_wait(epoll_fd, evs, tests, 0); in drain_output()
463 ret = epoll_wait(epoll_fd, evs, tests, 100); in main()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c386 cnt = epoll_wait(ctx->epoll_fd, &ctx->event, 1, -1); in perfbuf_process_sample_raw()
544 cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, -1);
/linux/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c433 ret = epoll_wait(epoll_fd, evs, tests, 0); in drain_output()
591 ret = epoll_wait(epoll_fd, evs, tests, poll_interval); in main()
/linux/tools/testing/selftests/net/
H A Dreuseport_dualstack.c109 i = epoll_wait(epfd, &ev, 1, -1); in receive_once()
111 error(1, errno, "epoll_wait failed"); in receive_once()
H A Dreuseport_bpf_cpu.c157 i = epoll_wait(epfd, &ev, 1, -1); in receive_on_cpu()
159 error(1, errno, "epoll_wait failed"); in receive_on_cpu()
H A Dreuseport_addr_any.c155 i = epoll_wait(epfd, &ev, 1, 3); in connect_and_send()
157 error(1, errno, "epoll_wait failed"); in connect_and_send()
H A Dreuseport_bpf_numa.c167 i = epoll_wait(epfd, &ev, 1, -1); in receive_on_node()
169 error(1, errno, "epoll_wait failed"); in receive_on_node()
H A Dtcp_fastopen_backup_key.c268 i = epoll_wait(epfd, &ev, 1, -1); in run_one_test()
H A Dreuseport_bpf.c241 i = epoll_wait(epfd, &ev, 1, -1); in test_recv_order()
/linux/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c54 r = epoll_wait(epollfd, &evt, 1, -1); in uffd_handler_thread_fn()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_struct_ops_module.c285 nfds = epoll_wait(epollfd, events, 2, 500); in test_detach_link()
H A Dselect_reuseport.c399 nev = epoll_wait(epfd, &ev, 1, expected >= PASS ? 5 : 0); in do_test()
562 nev = epoll_wait(epfd, &ev, 1, 5); in test_detach_bpf()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test_helpers.c340 int n = epoll_wait(epfd, events, 1, -1); in process_coredump_worker()
342 fprintf(stderr, "Worker: epoll_wait() failed: %m\n"); in process_coredump_worker()
/linux/tools/testing/selftests/connector/
H A Dproc_filter.c219 event_count = epoll_wait(epoll_fd, ev, MAX_EVENTS, -1); in handle_events()
/linux/Documentation/ABI/stable/
H A Dfirewire-cdev73 poll(2), select(2), epoll_wait(2) etc.
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c467 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); in poll_pidfd()
/linux/tools/perf/Documentation/
H A Dperf-bench.txt306 Suite for evaluating concurrent epoll_wait calls.
/linux/tools/testing/selftests/net/af_unix/
H A Dmsg_oob.c167 ret[i] = epoll_wait(self->epoll_fd[i], &event[i], 1, 0); in __epollpair()

12