Searched refs:epollfd (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 38 int epollfd; in main() local 55 epollfd = epoll_create1(0); in main() 56 if (epollfd < 0) { in main() 64 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, pipefd[0], &ev)) { in main() 75 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { in main() 139 .efd = epollfd, in main()
|
/tools/perf/bench/ |
D | epoll-wait.c | 102 static int epollfd; variable 120 int epollfd; /* for --multiq */ member 191 int efd = multiq ? w->epollfd : epollfd; in workerfn() 234 close(w->epollfd); in workerfn() 244 int efd = multiq ? w->epollfd : epollfd; in nest_epollfd() 314 w->epollfd = epoll_create(1); in do_threads() 315 if (w->epollfd < 0) in do_threads() 328 int efd = multiq ? w->epollfd : epollfd; in do_threads() 439 epollfd = epoll_create(1); in bench_epoll_wait() 440 if (epollfd < 0) in bench_epoll_wait() [all …]
|
D | epoll-ctl.c | 54 static int epollfd; variable 110 if (!epollfd) in nest_epollfd() 115 if (epollfd < 0) in nest_epollfd() 128 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 142 error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in do_epoll_op() 146 error = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &ev); in do_epoll_op() 149 error = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL); in do_epoll_op() 218 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) in init_fdmaps() 324 epollfd = epoll_create(1); in bench_epoll_ctl() 325 if (epollfd < 0) in bench_epoll_ctl() [all …]
|