Home | History | Annotate | Download | only in libevent

Lines Matching refs:epfd

59 	int epfd;
110 int epfd;
115 if ((epfd = epoll_create(32000)) == -1) {
121 evutil_make_socket_closeonexec(epfd);
124 close(epfd);
128 epollop->epfd = epfd;
134 close(epfd);
265 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == -1) {
271 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, ch->fd, &epev) == -1) {
288 if (epoll_ctl(epollop->epfd, EPOLL_CTL_MOD, ch->fd, &epev) == -1) {
407 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout);
468 if (epollop->epfd >= 0)
469 close(epollop->epfd);