Searched refs:epollfd (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/arch/um/os-Linux/ |
D | irq.c | 19 static int epollfd = -1; variable 62 epollfd = epoll_create(MAX_EPOLL_EVENTS); in os_setup_epoll() 63 return epollfd; in os_setup_epoll() 73 n = epoll_wait(epollfd, in os_waiting_for_events_epoll() 99 result = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event); in os_add_epoll_fd() 117 result = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &event); in os_mod_epoll_fd() 134 result = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &event); in os_del_epoll_fd() 146 os_close_file(epollfd); in os_close_epoll_fd()
|
/Linux-v5.4/tools/perf/bench/ |
D | epoll-wait.c | 103 static int epollfd; variable 121 int epollfd; /* for --multiq */ member 192 int efd = multiq ? w->epollfd : epollfd; in workerfn() 235 close(w->epollfd); in workerfn() 245 int efd = multiq ? w->epollfd : epollfd; in nest_epollfd() 315 w->epollfd = epoll_create(1); in do_threads() 316 if (w->epollfd < 0) in do_threads() 329 int efd = multiq ? w->epollfd : epollfd; in do_threads() 440 epollfd = epoll_create(1); in bench_epoll_wait() 441 if (epollfd < 0) in bench_epoll_wait() [all …]
|
D | epoll-ctl.c | 55 static int epollfd; variable 111 if (!epollfd) in nest_epollfd() 116 if (epollfd < 0) in nest_epollfd() 129 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 143 error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in do_epoll_op() 147 error = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &ev); in do_epoll_op() 150 error = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL); in do_epoll_op() 219 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) in init_fdmaps() 325 epollfd = epoll_create(1); in bench_epoll_ctl() 326 if (epollfd < 0) in bench_epoll_ctl() [all …]
|
/Linux-v5.4/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()
|