/src/tests/kernel/ |
t_epoll.c | 89 "Checks that epoll_ctl detects an invalid epfd"); 113 int epfd; local in function:ATF_TC_BODY 116 RL(epfd = epoll_create1(0)); 119 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, -1, &event), -1, 133 int epfd, fd; local in function:ATF_TC_BODY 136 RL(epfd = epoll_create1(0)); 140 RL(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event)); 142 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event), -1, 156 int epfd, fd; local in function:ATF_TC_BODY 159 RL(epfd = epoll_create1(0)) 181 int epfd; local in function:ATF_TC_BODY 219 int epfd, tmp; local in function:ATF_TC_BODY [all...] |
t_epoll.c | 89 "Checks that epoll_ctl detects an invalid epfd"); 113 int epfd; local in function:ATF_TC_BODY 116 RL(epfd = epoll_create1(0)); 119 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, -1, &event), -1, 133 int epfd, fd; local in function:ATF_TC_BODY 136 RL(epfd = epoll_create1(0)); 140 RL(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event)); 142 ATF_REQUIRE_EQ_MSG(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event), -1, 156 int epfd, fd; local in function:ATF_TC_BODY 159 RL(epfd = epoll_create1(0)) 181 int epfd; local in function:ATF_TC_BODY 219 int epfd, tmp; local in function:ATF_TC_BODY [all...] |
/src/sys/kern/ |
sys_epoll.c | 68 int epfd; member in struct:epoll_edge 117 epoll_to_kevent(int epfd, int fd, struct epoll_event *l_event, 137 kevent->kext_epfd = epfd; 145 kevent->kext_epfd = epfd; 252 epoll_ctl_common(struct lwp *l, register_t *retval, int epfd, int op, int fd, 267 * Need to validate epfd and fd separately from kevent1 to match 270 epfp = fd_getfile(epfd); 275 fd_putfile(epfd); 300 if (epfd == fd) { 305 error = epoll_to_kevent(epfd, fd, event, kev, &nchanges) [all...] |
sys_epoll.c | 68 int epfd; member in struct:epoll_edge 117 epoll_to_kevent(int epfd, int fd, struct epoll_event *l_event, 137 kevent->kext_epfd = epfd; 145 kevent->kext_epfd = epfd; 252 epoll_ctl_common(struct lwp *l, register_t *retval, int epfd, int op, int fd, 267 * Need to validate epfd and fd separately from kevent1 to match 270 epfp = fd_getfile(epfd); 275 fd_putfile(epfd); 300 if (epfd == fd) { 305 error = epoll_to_kevent(epfd, fd, event, kev, &nchanges) [all...] |