Home
last modified time | relevance | path

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

/netbsd/src/sys/kern/
Dsys_timerfd.c71 struct timerfd { struct
88 static void timerfd_wake(struct timerfd *); argument
91 timerfd_fire_count(const struct timerfd * const tfd) in timerfd_fire_count()
97 timerfd_is_readable(const struct timerfd * const tfd) in timerfd_is_readable()
112 struct timerfd * const tfd = in timerfd_fire()
113 container_of(it, struct timerfd, tfd_itimer); in timerfd_fire()
130 struct timerfd * const tfd = in timerfd_realtime_changed()
131 container_of(it, struct timerfd, tfd_itimer); in timerfd_realtime_changed()
156 static struct timerfd *
159 struct timerfd * const tfd = kmem_zalloc(sizeof(*tfd), KM_SLEEP); in timerfd_create()
[all …]
/netbsd/src/external/bsd/libevent/dist/
Depoll.c94 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()
[all …]
Devent-config.h.cmake379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
Dconfig.h.in341 /* Define to 1 if you have the <sys/timerfd.h> header file. */
Dconfigure.ac249 sys/timerfd.h \
DCMakeLists.txt414 sys/timerfd.h
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
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/
Depoll.c93 int timerfd; member
196 … fd = epollop->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC); in epoll_init()
197 if (epollop->timerfd >= 0) { in epoll_init()
200 epev.data.fd = epollop->timerfd; in epoll_init()
205 epollop->timerfd = -1; in epoll_init()
215 epollop->timerfd = -1; in epoll_init()
218 epollop->timerfd = -1; in epoll_init()
427 if (epollop->timerfd >= 0) { in epoll_dispatch()
448 if (timerfd_settime(epollop->timerfd, 0, &is, NULL) < 0) { in epoll_dispatch()
487 if (events[i].data.fd == epollop->timerfd) in epoll_dispatch()
[all …]
Devent-config.h.cmake379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
Dconfig.h.in344 /* Define to 1 if you have the <sys/timerfd.h> header file. */
Dconfigure.ac249 sys/timerfd.h \
DCMakeLists.txt414 sys/timerfd.h
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
/netbsd/src/external/bsd/libevent/dist/test/
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)"
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/test/
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)"
/netbsd/src/lib/libc/sys/
DMakefile.inc297 timer_settime.2 timerfd.2 truncate.2 umask.2 undelete.2 \
396 MLINKS+=timerfd.2 timerfd_create.2 \
397 timerfd.2 timerfd_gettime.2 \
398 timerfd.2 timerfd_settime.2
/netbsd/src/sys/sys/
Dfile.h115 struct timerfd *fd_timerfd; // DTYPE_TIMERFD
DMakefile46 tape.h termios.h time.h timeb.h timepps.h timerfd.h times.h timespec.h \
/netbsd/src/doc/
DBRANCHES773 Also includes implementations of eventfd and timerfd, as
DCHANGES.prev13127 kernel: Added native eventfd(2) and timerfd(2) implementations.
13129 compat_linux: Added eventfd, timerfd, POSIX timers, and preadv() /
/netbsd/src/distrib/sets/lists/comp/
Dmi3615 ./usr/include/sys/timerfd.h comp-c-include
5097 ./usr/share/man/cat2/timerfd.0 comp-c-catman .cat
13696 ./usr/share/man/html2/timerfd.html comp-c-htmlman html
22140 ./usr/share/man/man2/timerfd.2 comp-c-man .man
/netbsd/src/external/bsd/ntp/dist/
DCommitLog105299 regress output in that case, and set epollop->timerfd = -1. Suggested
105306 regress output in that case, and set epollop->timerfd = -1. Suggested
/netbsd/src/external/gpl3/binutils/dist/
DChangeLog.git61728 Update the NetBSD system call table to add eventfd(2) and timerfd(2).
67202 - <syscall name="timerfd" groups="descriptor"/>
67206 + <syscall name="timerfd" groups="descriptor"/>
/netbsd/src/external/gpl3/gcc/dist/
DMD5SUMS103897 911e6b52f63b86bf643effb3bc490d48 libphobos/libdruntime/core/sys/linux/timerfd.d