Home | History | Annotate | Download | only in epoll_ctl

Lines Matching refs:events

51 static struct epoll_event events[2] = {
52 {.events = EPOLLIN},
53 {.events = EPOLLOUT},
63 {&inv, EPOLL_CTL_ADD, &fd[1], &events[1], EBADF},
64 {&epfd, EPOLL_CTL_ADD, &inv, &events[1], EBADF},
65 {&epfd, -1, &fd[1], &events[1], EINVAL},
66 {&epfd, EPOLL_CTL_ADD, &epfd, &events[1], EINVAL},
67 {&epfd, EPOLL_CTL_DEL, &fd[1], &events[1], ENOENT},
68 {&epfd, EPOLL_CTL_MOD, &fd[1], &events[1], ENOENT},
69 {&epfd, EPOLL_CTL_ADD, &fd[0], &events[0], EEXIST}
80 events[0].data.fd = fd[0];
81 events[1].data.fd = fd[1];
83 TEST(epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0]));