Searched refs:efd (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-epoll.c | 58 int efd = epoll_create1 (0); in test_epoll_basic() local 59 TEST_VERIFY_EXIT (efd != -1); in test_epoll_basic() 65 TEST_COMPARE (epoll_ctl (efd, EPOLL_CTL_ADD, fds[1][0], &event), 0); in test_epoll_basic() 76 TEST_COMPARE (epoll_ctl (efd, EPOLL_CTL_ADD, fds[0][0], &event), 0); in test_epoll_basic() 85 e = epoll_wait_check (efd, &event, 1, 500, &ss); in test_epoll_basic() 104 int e = epoll_wait_check (efd, &event, 1, 500000000, &ss); in test_epoll_basic() 110 xclose (efd); in test_epoll_basic() 130 int efd = epoll_create1 (0); in test_epoll_large_timeout() local 131 TEST_VERIFY_EXIT (efd != -1); in test_epoll_large_timeout() 136 TEST_COMPARE (epoll_ctl (efd, EPOLL_CTL_ADD, fds[0], &event), 0); in test_epoll_large_timeout() [all …]
|
/glibc-2.36/nscd/ |
D | connections.c | 2187 main_loop_epoll (int efd) in main_loop_epoll() argument 2196 if (epoll_ctl (efd, EPOLL_CTL_ADD, sock, &ev) == -1) in main_loop_epoll() 2205 if (epoll_ctl (efd, EPOLL_CTL_ADD, inotify_fd, &ev) == -1) in main_loop_epoll() 2217 if (epoll_ctl (efd, EPOLL_CTL_ADD, nl_status_fd, &ev) == -1) in main_loop_epoll() 2228 int n = epoll_wait (efd, revs, nrevs, MAIN_THREAD_TIMEOUT); in main_loop_epoll() 2245 || epoll_ctl (efd, EPOLL_CTL_ADD, fd, &ev) == -1) in main_loop_epoll() 2271 (void) epoll_ctl (efd, EPOLL_CTL_DEL, inotify_fd, NULL); in main_loop_epoll() 2293 (void) epoll_ctl (efd, EPOLL_CTL_DEL, revs[cnt].data.fd, NULL); in main_loop_epoll() 2320 (void) epoll_ctl (efd, EPOLL_CTL_DEL, cnt, NULL); in main_loop_epoll() 2440 int efd = epoll_create (100); in start_threads() local [all …]
|