Home
last modified time | relevance | path

Searched refs:timerfd (Results 1 – 16 of 16) sorted by relevance

/freebsd-13-stable/contrib/libevent/
HDepoll.c91 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()
425 if (epollop->timerfd >= 0) { in epoll_dispatch()
446 if (timerfd_settime(epollop->timerfd, 0, &is, NULL) < 0) { in epoll_dispatch()
485 if (events[i].data.fd == epollop->timerfd) in epoll_dispatch()
[all …]
HDevent-config.h.cmake379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
HDconfig.h.in341 /* Define to 1 if you have the <sys/timerfd.h> header file. */
HDconfigure.ac249 sys/timerfd.h \
HDCMakeLists.txt414 sys/timerfd.h
HDChangeLog1322 o When PRECISE_TIMERS is set with epoll, use timerfd for microsecond
1327 o Avoid giving a spurious warning when timerfd support is unavailable
/freebsd-13-stable/contrib/ntp/sntp/libevent/
HDepoll.c91 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()
425 if (epollop->timerfd >= 0) { in epoll_dispatch()
446 if (timerfd_settime(epollop->timerfd, 0, &is, NULL) < 0) { in epoll_dispatch()
485 if (events[i].data.fd == epollop->timerfd) in epoll_dispatch()
[all …]
HDevent-config.h.cmake379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
HDconfig.h.in344 /* Define to 1 if you have the <sys/timerfd.h> header file. */
HDconfigure.ac249 sys/timerfd.h \
HDCMakeLists.txt414 sys/timerfd.h
HDChangeLog1322 o When PRECISE_TIMERS is set with epoll, use timerfd for microsecond
1327 o Avoid giving a spurious warning when timerfd support is unavailable
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
HDtest.sh153 -t - run timerfd test
155 -T - run timerfd+changelist test
161 timerfd=0
168 t) timerfd=1;;
177 [ $timerfd -eq 0 ] || do_test EPOLL "(timerfd)"
/freebsd-13-stable/contrib/libevent/test/
HDtest.sh153 -t - run timerfd test
155 -T - run timerfd+changelist test
161 timerfd=0
168 t) timerfd=1;;
177 [ $timerfd -eq 0 ] || do_test EPOLL "(timerfd)"
/freebsd-13-stable/sys/compat/linux/
HDlinux_event.c139 struct timerfd { struct
150 static void linux_timerfd_curval(struct timerfd *, struct itimerspec *); argument
664 struct timerfd *tfd; in linux_timerfd_create()
707 struct timerfd *tfd; in timerfd_close()
732 struct timerfd *tfd; in timerfd_read()
775 struct timerfd *tfd; in timerfd_poll()
795 struct timerfd *tfd; in timerfd_kqfilter()
815 struct timerfd *tfd = kn->kn_hook; in filt_timerfddetach()
825 struct timerfd *tfd = kn->kn_hook; in filt_timerfdread()
864 linux_timerfd_clocktime(struct timerfd *tfd, struct timespec *ts) in linux_timerfd_clocktime()
[all …]
/freebsd-13-stable/contrib/ntp/
HDCommitLog105299 regress output in that case, and set epollop->timerfd = -1. Suggested
105306 regress output in that case, and set epollop->timerfd = -1. Suggested