Home | History | Annotate | Download | only in adb

Lines Matching refs:epoll_fd

105 static int epoll_fd = -1;
110 epoll_fd = epoll_create(256);
112 if(epoll_fd < 0) {
118 fcntl(epoll_fd, F_SETFD, FD_CLOEXEC);
130 if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fde->fd, &ev)) {
150 epoll_ctl(epoll_fd, EPOLL_CTL_DEL, fde->fd, &ev);
176 if(epoll_ctl(epoll_fd, EPOLL_CTL_MOD, fde->fd, &ev)) {
181 if(epoll_ctl(epoll_fd, EPOLL_CTL_DEL, fde->fd, &ev)) {
191 if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fde->fd, &ev)) {
205 n = epoll_wait(epoll_fd, events, 256, -1);