OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timerfd
(Results
1 - 15
of
15
) sorted by relevancy
/src/sys/kern/
sys_timerfd.c
36
*
timerfd
38
*
Timerfd
objects are similar to POSIX timers, except they are associated
39
* with a file descriptor rather than a process.
Timerfd
objects are
41
* The
timerfd
analogues for timer_gettime(2) and timer_settime(2) are
44
* When a
timerfd
object's timer fires, an internal counter is incremented.
45
* When this counter is non-zero, the descriptor associated with the
timerfd
49
* responsible for incrementing the "overrun" counter each time the
timerfd
52
* This implementation is API compatible with the Linux
timerfd
interface.
67
#include <sys/
timerfd
.h>
70
/* N.B. all
timerfd
state is protected by itimer_lock() *
71
struct
timerfd
{
struct
[
all
...]
/src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/linux/
timerfd.d
7
module core.sys.linux.
timerfd
;
/src/external/bsd/libevent/dist/test/
test.sh
139
elif test "$2" = "(
timerfd
)" ; then
141
elif test "$2" = "(
timerfd
+changelist)" ; then
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
)"
179
[ $timerfd_changelist -eq 0 ] || do_test EPOLL "(
timerfd
+changelist)"
/src/external/bsd/ntp/dist/sntp/libevent/test/
test.sh
139
elif test "$2" = "(
timerfd
)" ; then
141
elif test "$2" = "(
timerfd
+changelist)" ; then
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
)"
179
[ $timerfd_changelist -eq 0 ] || do_test EPOLL "(
timerfd
+changelist)"
/src/external/bsd/libevent/dist/
epoll.c
54
#include <sys/
timerfd
.h>
82
/* Note that we only use
timerfd
if TFD_NONBLOCK and TFD_CLOEXEC are available
83
and working. This means that we can't support it on 2.6.25 (where
timerfd
94
int
timerfd
;
member in struct:epollop
192
event_base, we can try to use
timerfd
to give them finer granularity.
197
fd = epollop->
timerfd
= timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC);
198
if (epollop->
timerfd
>= 0) {
201
epev.data.fd = epollop->
timerfd
;
204
event_warn("epoll_ctl(
timerfd
)");
206
epollop->
timerfd
= -1
[
all
...]
CMakeLists.txt
414
sys/
timerfd
.h
/src/external/bsd/ntp/dist/sntp/libevent/
epoll.c
53
#include <sys/
timerfd
.h>
81
/* Note that we only use
timerfd
if TFD_NONBLOCK and TFD_CLOEXEC are available
82
and working. This means that we can't support it on 2.6.25 (where
timerfd
93
int
timerfd
;
member in struct:epollop
191
event_base, we can try to use
timerfd
to give them finer granularity.
196
fd = epollop->
timerfd
= timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC);
197
if (epollop->
timerfd
>= 0) {
200
epev.data.fd = epollop->
timerfd
;
203
event_warn("epoll_ctl(
timerfd
)");
205
epollop->
timerfd
= -1
[
all
...]
CMakeLists.txt
414
sys/
timerfd
.h
/src/sys/sys/
file.h
115
struct
timerfd
*fd_timerfd; // DTYPE_TIMERFD
189
#define DTYPE_TIMERFD 10 /*
timerfd
*/
194
"semaphore", "eventfd", "
timerfd
", "memfd"
Makefile
46
tape.h termios.h time.h timeb.h timepps.h
timerfd
.h times.h timespec.h \
/src/lib/libc/sys/
Makefile.inc
297
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
/src/sys/compat/linux/common/
linux_time.c
42
#include <sys/
timerfd
.h>
/src/sys/compat/linux32/common/
linux32_time.c
48
#include <sys/
timerfd
.h>
/src/sys/compat/netbsd32/
netbsd32_time.c
41
#include <sys/
timerfd
.h>
/src/tests/lib/libc/sys/
t_timerfd.c
41
#include <sys/
timerfd
.h>
603
* Read the
timerfd
to ensure we get the correct numnber of
Completed in 28 milliseconds
Indexes created Mon Sep 14 00:24:24 UTC 2026