Searched refs:ret_evs (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
D | epoll_wait01.c | 110 struct epoll_event ret_evs = {.events = 0, .data.fd = 0}; in verify_epollout() local 112 TEST(epoll_wait(epfd, &ret_evs, 1, -1)); in verify_epollout() 125 if (ret_evs.data.fd != fds[1]) { in verify_epollout() 127 ret_evs.data.fd, fds[1]); in verify_epollout() 131 if (ret_evs.events != EPOLLOUT) { in verify_epollout() 133 ret_evs.events, EPOLLOUT); in verify_epollout() 144 struct epoll_event ret_evs = {.events = 0, .data.fd = 0}; in verify_epollin() local 150 TEST(epoll_wait(epfd, &ret_evs, 1, -1)); in verify_epollin() 163 if (ret_evs.data.fd != fds[0]) { in verify_epollin() 165 ret_evs.data.fd, fds[0]); in verify_epollin() [all …]
|