Searched refs:epevs (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/ |
D | epoll_wait01.c | 53 static struct epoll_event epevs[2] = { in setup() local 60 epevs[0].data.fd = fds[0]; in setup() 61 epevs[1].data.fd = fds[1]; in setup() 70 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) || in setup() 71 epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[1])) { in setup() 76 static int has_event(struct epoll_event *epevs, int epevs_len, in has_event() argument 82 if ((epevs[i].data.fd == fd) && (epevs[i].events == events)) in has_event() 89 static void dump_epevs(struct epoll_event *epevs, int epevs_len) in dump_epevs() argument 95 i, epevs[i].data.fd, epevs[i].events); in dump_epevs()
|
D | epoll_wait04.c | 21 static struct epoll_event epevs[1] = { variable 28 TEST(epoll_wait(epfd, epevs, 1, 0)); in run() 49 epevs[0].data.fd = fds[0]; in setup() 51 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) in setup()
|
D | epoll_wait02.c | 21 static struct epoll_event epevs[1] = { variable 30 TEST(epoll_wait(epfd, epevs, 1, sleep_ms)); in sample_fn() 50 epevs[0].data.fd = fds[0]; in setup() 52 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) in setup()
|
D | epoll_wait03.c | 26 static struct epoll_event epevs[1] = { variable 30 static struct epoll_event *ev_rdonly, *ev_rdwr = epevs; 57 epevs[0].data.fd = fds[1]; in setup() 59 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[0])) in setup()
|