Lines Matching refs:timerfd
94 int timerfd; member
197 fd = epollop->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC); in epoll_init()
198 if (epollop->timerfd >= 0) { in epoll_init()
201 epev.data.fd = epollop->timerfd; in epoll_init()
206 epollop->timerfd = -1; in epoll_init()
216 epollop->timerfd = -1; in epoll_init()
219 epollop->timerfd = -1; in epoll_init()
428 if (epollop->timerfd >= 0) { in epoll_dispatch()
449 if (timerfd_settime(epollop->timerfd, 0, &is, NULL) < 0) { in epoll_dispatch()
488 if (events[i].data.fd == epollop->timerfd) in epoll_dispatch()
540 if (epollop->timerfd >= 0) in epoll_dealloc()
541 close(epollop->timerfd); in epoll_dealloc()