Searched refs:epevs (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
D | epoll_wait01.c | 63 static struct epoll_event epevs[2] = { in setup() local 70 epevs[0].data.fd = fds[0]; in setup() 71 epevs[1].data.fd = fds[1]; in setup() 79 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) || in setup() 80 epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[1])) { in setup() 85 static int has_event(struct epoll_event *epevs, int epevs_len, in has_event() argument 91 if ((epevs[i].data.fd == fd) && (epevs[i].events == events)) in has_event() 98 static void dump_epevs(struct epoll_event *epevs, int epevs_len) in dump_epevs() argument 104 i, epevs[i].data.fd, epevs[i].events); in dump_epevs()
|
D | epoll_wait02.c | 31 static struct epoll_event epevs[1] = { variable 40 TEST(epoll_wait(epfd, epevs, 1, sleep_ms)); in sample_fn() 61 epevs[0].data.fd = fds[0]; in setup() 63 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) in setup()
|
D | epoll_wait03.c | 47 static struct epoll_event epevs[1] = { variable 51 static struct epoll_event *ev_rdwr = epevs; 117 epevs[0].data.fd = fds[1]; in setup() 119 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[0])) { in setup()
|
/external/ltp/testcases/kernel/syscalls/epoll_pwait/ |
D | epoll_pwait01.c | 45 static struct epoll_event epevs; variable 108 epevs.events = EPOLLIN; in setup() 109 epevs.data.fd = fds[0]; in setup() 111 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs) == -1) { in setup() 164 TEST(epoll_pwait(epfd, &epevs, 1, 100, sigmask)); in do_test()
|