Lines Matching refs:epoll_fd
174 #define PROTECT_FUNC(fn, errval, epoll_fd) ( \ argument
182 return fn(epoll_fd); \
205 int epoll_fd = -1; in test_epoll_create() local
215 epoll_fd = epoll_create(fd_set_size); in test_epoll_create()
216 if (epoll_fd >= 0) { in test_epoll_create()
220 close(epoll_fd); in test_epoll_create()
238 epoll_fd = epoll_create(fd_set_size); in test_epoll_create()
239 if (epoll_fd == -1) { in test_epoll_create()
254 close(epoll_fd); in test_epoll_create()
264 epoll_fd = epoll_create(fd_set_size); in test_epoll_create()
265 if (epoll_fd < 0) { in test_epoll_create()
280 close(epoll_fd); in test_epoll_create()
387 int test_epoll_ctl(int epoll_fd) in test_epoll_ctl() argument
436 epoll_fds[0] = epoll_fd; in test_epoll_ctl()
509 epoll_fd) { in test_epoll_ctl()
678 close(epoll_fd); in test_epoll_ctl()
691 int epoll_fd; in main() local
718 epoll_fd = epoll_create(BACKING_STORE_SIZE_HINT); in main()
719 if (epoll_fd < 0) { in main()
724 last_result = PROTECT_FUNC(test_epoll_ctl, -1, epoll_fd); in main()