Searched refs:timerfd (Results 1 – 19 of 19) sorted by relevance
| /freebsd/tests/sys/kern/ |
| H A D | timerfd.c | 67 wait_for_timerfd(int timerfd) in wait_for_timerfd() argument 69 struct pollfd pfd = { .fd = timerfd, .events = POLLIN }; in wait_for_timerfd() 74 ssize_t r = read(timerfd, &timeouts, sizeof(timeouts)); in wait_for_timerfd() 84 int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/ in ATF_TC_BODY() local 87 ATF_REQUIRE(timerfd >= 0); in ATF_TC_BODY() 97 ATF_REQUIRE(timerfd_settime(timerfd, 0, &time, NULL) == 0); in ATF_TC_BODY() 98 (void)wait_for_timerfd(timerfd); in ATF_TC_BODY() 106 ATF_REQUIRE(close(timerfd) == 0); in ATF_TC_BODY() 112 int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/ in ATF_TC_BODY() local 115 ATF_REQUIRE(timerfd >= 0); in ATF_TC_BODY() [all …]
|
| H A D | Makefile | 57 ATF_TESTS_C+= timerfd 58 LIBADD.timerfd+= pthread 60 TEST_METADATA.timerfd+= is_exclusive="true"
|
| /freebsd/sys/kern/ |
| H A D | sys_timerfd.c | 61 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 122 timerfd_wakeup(struct timerfd *tfd) in timerfd_wakeup() 142 struct timerfd *tfd; in timerfd_jumped() 194 struct timerfd *tfd = fp->f_data; in timerfd_read() 262 struct timerfd *tfd = fp->f_data; in timerfd_poll() 279 struct timerfd *tfd = kn->kn_hook; in filt_timerfddetach() [all …]
|
| /freebsd/contrib/ntp/sntp/libevent/ |
| H A D | epoll.c | 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() 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 D | event-config.h.cmake | 379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
|
| H A D | config.h.in | 344 /* Define to 1 if you have the <sys/timerfd.h> header file. */
|
| H A D | configure.ac | 249 sys/timerfd.h \
|
| H A D | CMakeLists.txt | 414 sys/timerfd.h
|
| H A D | ChangeLog | 1322 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 D | epoll.c | 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() 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 D | event-config.h.cmake | 379 /* Define to 1 if you have the <sys/timerfd.h> header file. */
|
| H A D | config.h.in | 341 /* Define to 1 if you have the <sys/timerfd.h> header file. */
|
| H A D | configure.ac | 249 sys/timerfd.h \
|
| H A D | CMakeLists.txt | 414 sys/timerfd.h
|
| H A D | ChangeLog | 1322 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 D | test.sh | 153 -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 D | test.sh | 153 -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 D | Makefile.sys | 375 timerfd.2 \ 553 MLINKS+=timerfd.2 timerfd_create.2 \ 554 timerfd.2 timerfd_gettime.2 \ 555 timerfd.2 timerfd_settime.2
|
| /freebsd/contrib/ntp/ |
| H A D | CommitLog | [all...] |