| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A 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()
|
| /OK3568_Linux_fs/external/recovery/minui/ |
| H A D | events.c | 44 static int epollfd; variable 62 epollfd = epoll_create(MAX_DEVICES + MAX_MISC_FDS); in ev_init() 63 if (epollfd == -1) in ev_init() 91 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev)) { in ev_init() 107 close(epollfd); in ev_init() 108 epollfd = -1; in ev_init() 125 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in ev_add_fd() 139 return epollfd; in ev_get_epollfd() 149 close(epollfd); in ev_exit() 154 npolledevents = epoll_wait(epollfd, polledevents, ev_count, timeout); in ev_wait()
|
| /OK3568_Linux_fs/kernel/tools/perf/bench/ |
| H A 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() 440 epollfd = epoll_create(1); in bench_epoll_wait() 441 if (epollfd < 0) in bench_epoll_wait() [all …]
|
| H A 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() 325 epollfd = epoll_create(1); in bench_epoll_ctl() 326 if (epollfd < 0) in bench_epoll_ctl() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kcmp/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/tools/testing/vsock/ |
| H A D | util.c | 53 int epollfd, nfds; in vsock_wait_remote_close() local 55 epollfd = epoll_create1(0); in vsock_wait_remote_close() 56 if (epollfd == -1) { in vsock_wait_remote_close() 63 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in vsock_wait_remote_close() 68 nfds = epoll_wait(epollfd, &ev, 1, TIMEOUT * 1000); in vsock_wait_remote_close() 83 close(epollfd); in vsock_wait_remote_close()
|
| /OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/ |
| H A D | hciattach_rtk.c | 1027 nfds = epoll_wait(rtb_cfg.epollfd, events, MAX_EVENTS, msec); in start_transmit_wait() 1212 nfds = epoll_wait(rtb_cfg.epollfd, events, MAX_EVENTS, -1); in h5_download_patch() 2015 rtb_cfg.epollfd = epoll_create(64); in rtb_init() 2016 if (rtb_cfg.epollfd == -1) { in rtb_init() 2023 if (epoll_ctl(rtb_cfg.epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in rtb_init() 2038 if (epoll_ctl(rtb_cfg.epollfd, EPOLL_CTL_ADD, in rtb_init() 2055 epoll_ctl(rtb_cfg.epollfd, EPOLL_CTL_DEL, fd, NULL); in rtb_init() 2056 epoll_ctl(rtb_cfg.epollfd, EPOLL_CTL_DEL, rtb_cfg.timerfd, NULL); in rtb_init()
|
| H A D | hciattach.h | 182 int epollfd; member
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/ |
| H A D | events.c | 48 static int epollfd; variable
|