Searched refs:epoll_wait (Results 1 - 23 of 23) sorted by relevance

/linux-master/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0)
70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0)
82 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0)
97 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0)
109 if (epoll_wait(ctx->efd[0], events, 2, -1) > 0)
124 if (epoll_wait(ctx->efd[0], events, 2, 0) > 0)
179 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1);
180 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1);
210 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1);
211 EXPECT_EQ(epoll_wait(ef
[all...]
/linux-master/tools/thermal/lib/
H A Dmainloop.c33 nfds = epoll_wait(epfd, events, MAX_EVENTS, timeout);
/linux-master/arch/um/os-Linux/
H A Dirq.c67 * Helper to run the actual epoll_wait
73 n = epoll_wait(epollfd,
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c418 ret = epoll_wait(epoll_fd, evs, tests, 0);
422 ksft_print_msg("epoll_wait() failed: %s (%d)\n",
580 ret = epoll_wait(epoll_fd, evs, tests, 1000);
584 ksft_exit_fail_msg("epoll_wait() failed: %s (%d)\n",
597 /* Otherwise epoll_wait() timed out */
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c333 cnt = epoll_wait(ctx->epoll_fd, &ctx->event, 1, -1);
491 cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, -1);
/linux-master/tools/testing/selftests/net/
H A Dreuseport_bpf_cpu.c157 i = epoll_wait(epfd, &ev, 1, -1);
159 error(1, errno, "epoll_wait failed");
H A Dreuseport_dualstack.c108 i = epoll_wait(epfd, &ev, 1, -1);
110 error(1, errno, "epoll_wait failed");
H A Dreuseport_addr_any.c174 i = epoll_wait(epfd, &ev, 1, 3);
176 error(1, errno, "epoll_wait failed");
H A Dreuseport_bpf_numa.c167 i = epoll_wait(epfd, &ev, 1, -1);
169 error(1, errno, "epoll_wait failed");
H A Dtcp_fastopen_backup_key.c268 i = epoll_wait(epfd, &ev, 1, -1);
270 error(1, errno, "epoll_wait failed");
H A Dreuseport_bpf.c240 i = epoll_wait(epfd, &ev, 1, -1);
H A Dtls.c1891 EXPECT_EQ(epoll_wait(epollfd, events, 10, 0), 0);
1901 EXPECT_EQ(epoll_wait(epollfd, events, 10, 0), 0);
1904 EXPECT_EQ(epoll_wait(epollfd, events, 10, 0), 1);
H A Dtxtimestamp.c292 ret = epoll_wait(epfd, &events, 1, cfg_poll_timeout);
294 error(1, errno, "epoll_wait");
/linux-master/tools/testing/selftests/connector/
H A Dproc_filter.c219 event_count = epoll_wait(epoll_fd, ev, MAX_EVENTS, -1);
223 perror("epoll_wait failed");
/linux-master/tools/lib/bpf/
H A Dringbuf.c309 cnt = epoll_wait(rb->epoll_fd, rb->events, rb->ring_cnt, timeout_ms);
629 cnt = epoll_wait(rb->epoll_fd, &rb->event, 1, ms_remaining);
H A Dlibbpf.c13238 cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, timeout_ms);
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_test.c415 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000);
417 ksft_exit_fail_msg("%s test: Unexpected epoll_wait result (c=%d, events=%x) "
/linux-master/kernel/
H A Dsys_ni.c326 COND_SYSCALL(epoll_wait); variable
/linux-master/tools/perf/bench/
H A Depoll-wait.c6 * 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,
208 ret = epoll_wait(efd, &ev, 1, to);
211 err(EXIT_FAILURE, "epoll_wait");
/linux-master/tools/testing/vsock/
H A Dutil.c81 nfds = epoll_wait(epollfd, &ev, 1, TIMEOUT * 1000);
83 perror("epoll_wait");
88 fprintf(stderr, "epoll_wait timed out\n");
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c408 nev = epoll_wait(epfd, &ev, 1, expected >= PASS ? 5 : 0);
571 nev = epoll_wait(epfd, &ev, 1, 5);
H A Dsockmap_basic.c401 err = epoll_wait(epollfd, events, MAX_EVENTS, -1);
402 if (!ASSERT_EQ(err, 1, "epoll_wait(fd)"))
/linux-master/fs/
H A Deventpoll.c1856 * epoll_wait() will check again the events
2391 * part of the user space epoll_wait(2).
2435 SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events,

Completed in 240 milliseconds