Home
last modified time | relevance | path

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

123

/linux-6.15/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()
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()
321 ASSERT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST()
326 ASSERT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST()
360 ASSERT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST()
[all …]
/linux-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_epoll_edge.pkt27 +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 Dtcp_zerocopy_epoll_exclusive.pkt29 +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 Dtcp_zerocopy_epoll_oneshot.pkt39 +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-6.15/tools/thermal/lib/
H A Dmainloop.c33 nfds = epoll_wait(epfd, events, MAX_EVENTS, timeout); in mainloop()
/linux-6.15/arch/um/os-Linux/
H A Dirq.c73 n = epoll_wait(epollfd, in os_waiting_for_events_epoll()
H A Dsigio.c41 r = epoll_wait(epollfd, epoll_events, MAX_EPOLL_EVENTS, -1); in write_sigio_thread()
/linux-6.15/Documentation/networking/
H A Dnapi.rst272 ``epoll_wait``. In order to use this feature, a user application must ensure
290 epoll-based applications to busy poll when they call epoll_wait. This may
354 While application calls to epoll_wait successfully retrieve events, the kernel will
371 call to epoll_wait, noting that applications can control how much data
372 they retrieve by setting ``max_events`` when calling epoll_wait.
384 As mentioned above, as long as subsequent calls to epoll_wait return events to
388 Once a call to epoll_wait results in no events being found, IRQ suspension is
/linux-6.15/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-6.15/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c333 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-6.15/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-6.15/tools/testing/selftests/net/
H A Dreuseport_dualstack.c108 i = epoll_wait(epfd, &ev, 1, -1); in receive_once()
H A Dreuseport_bpf_numa.c167 i = epoll_wait(epfd, &ev, 1, -1); in receive_on_node()
H A Dreuseport_addr_any.c174 i = epoll_wait(epfd, &ev, 1, 3); in receive_once()
H A Dreuseport_bpf_cpu.c157 i = epoll_wait(epfd, &ev, 1, -1); in receive_on_cpu()
H A Dbusy_poller.c312 nfds = epoll_wait(epfd, events, cfg_max_events, -1); in run_poller()
H A Dtcp_fastopen_backup_key.c268 i = epoll_wait(epfd, &ev, 1, -1); in run_one_test()
/linux-6.15/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c54 r = epoll_wait(epollfd, &evt, 1, -1); in uffd_handler_thread_fn()
/linux-6.15/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.c398 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-6.15/tools/lib/bpf/
H A Dringbuf.c342 cnt = epoll_wait(rb->epoll_fd, rb->events, rb->ring_cnt, timeout_ms); in ring_buffer__poll()
668 cnt = epoll_wait(rb->epoll_fd, &rb->event, 1, ms_remaining); in user_ring_buffer__reserve_blocking()
/linux-6.15/tools/perf/bench/
H A Dsched-pipe.c178 ret = epoll_wait(td->epoll_fd, &td->epoll_ev, 1, -1); in read_pipe()
/linux-6.15/tools/testing/selftests/connector/
H A Dproc_filter.c219 event_count = epoll_wait(epoll_fd, ev, MAX_EVENTS, -1); in handle_events()
/linux-6.15/Documentation/ABI/stable/
H A Dfirewire-cdev73 poll(2), select(2), epoll_wait(2) etc.
/linux-6.15/kernel/
H A Dsys_ni.c325 COND_SYSCALL(epoll_wait);

123