Home | History | Annotate | Download | only in kernel

Lines Matching refs:epoll_ctl

89 	    "Checks that epoll_ctl detects an invalid epfd");
99 ATF_REQUIRE_EQ_MSG(epoll_ctl(-1, EPOLL_CTL_ADD, fd, &event), -1,
100 "epoll_ctl succeeded unexpectedly");
109 "Checks that epoll_ctl detects an invalid fd");
119 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, -1, &event), -1,
120 "epoll_ctl succeeded unexpectedly");
129 "Checks that epoll_ctl detects if a fd has already been added");
140 RL(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event));
142 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event), -1,
143 "epoll_ctl succeeded unexpectedly");
152 "Checks that epoll_ctl detects if a fd has not been added");
163 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_MOD, fd, &event), -1,
164 "epoll_ctl succeeded unexpectedly");
167 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_DEL, fd, NULL), -1,
168 "epoll_ctl succeeded unexpectedly");
185 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, epfd, &event), -1,
186 "epoll_ctl succeeded unexpectedly");
204 RL(epoll_ctl(epfd1, EPOLL_CTL_ADD, epfd2, &event));
205 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd2, EPOLL_CTL_ADD, epfd1, &event), -1,
206 "epoll_ctl succeeded unexpectedly");
226 RL(epoll_ctl(tmp, EPOLL_CTL_ADD, epfd, &event));
230 ATF_REQUIRE_EQ_MSG(epoll_ctl(tmp, EPOLL_CTL_ADD, epfd, &event), -1,
231 "epoll_ctl succeeded unexpectedly");