Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsys_timerfd.c61 static LIST_HEAD(, timerfd) timerfd_list;
62 MTX_SYSINIT(timerfd, &timerfd_list_lock, "timerfd_list_lock", MTX_DEF);
80 struct timerfd { struct
95 LIST_ENTRY(timerfd) entry; /* (l) entry in list */ argument
110 SYSINIT(timerfd, SI_SUB_VFS, SI_ORDER_ANY, timerfd_init, NULL); argument
134 struct timerfd *tfd; in timerfd_jumped()
184 struct timerfd *tfd = fp->f_data; in timerfd_read()
253 struct timerfd *tfd = fp->f_data; in timerfd_poll()
270 struct timerfd *tfd = kn->kn_hook; in filt_timerfddetach()
280 struct timerfd *tfd = kn->kn_hook; in filt_timerfdread()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Depoll.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 …]
H A Devent-config.h.cmake379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
H A Dconfig.h.in344 /* Define to 1 if you have the <sys/timerfd.h> header file. */
H A Dconfigure.ac249 sys/timerfd.h \
H A DCMakeLists.txt414 sys/timerfd.h
H A DChangeLog1322 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/contrib/libevent/
H A Depoll.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 …]
H A Devent-config.h.cmake379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
H A Dconfig.h.in341 /* Define to 1 if you have the <sys/timerfd.h> header file. */
H A Dconfigure.ac249 sys/timerfd.h \
H A DCMakeLists.txt414 sys/timerfd.h
H A DChangeLog1322 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/contrib/ntp/sntp/libevent/test/
H A Dtest.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/contrib/libevent/test/
H A Dtest.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/lib/libsys/
H A DMakefile.sys360 timerfd.2 \
528 MLINKS+=timerfd.2 timerfd_create.2 \
529 timerfd.2 timerfd_gettime.2 \
530 timerfd.2 timerfd_settime.2
/freebsd/contrib/ntp/
H A DCommitLog[all...]