Lines Matching refs:timerfd
91 int timerfd; member
194 fd = epollop->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC); in epoll_init()
195 if (epollop->timerfd >= 0) { in epoll_init()
198 epev.data.fd = epollop->timerfd; in epoll_init()
203 epollop->timerfd = -1; in epoll_init()
213 epollop->timerfd = -1; in epoll_init()
216 epollop->timerfd = -1; in epoll_init()
422 if (epollop->timerfd >= 0) { in epoll_dispatch()
443 if (timerfd_settime(epollop->timerfd, 0, &is, NULL) < 0) { in epoll_dispatch()
482 if (events[i].data.fd == epollop->timerfd) in epoll_dispatch()
532 if (epollop->timerfd >= 0) in epoll_dealloc()
533 close(epollop->timerfd); in epoll_dealloc()