/external/libevent/ |
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 …]
|
/external/libevent/test/ |
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)"
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 133 int timerfd; in suspend() local 146 timerfd = timerfd_create(CLOCK_BOOTTIME_ALARM, 0); in suspend() 147 if (timerfd < 0) in suspend() 151 err = timerfd_settime(timerfd, 0, &spec, NULL); in suspend() 158 close(timerfd); in suspend()
|
/external/libusb/libusb/os/ |
D | events_posix.h | 48 int timerfd; member 50 #define USBI_TIMER_OS_HANDLE(t) ((t)->timerfd) 55 return timer->timerfd >= 0; in usbi_timer_valid()
|
D | events_posix.c | 149 timer->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in usbi_create_timer() 150 if (timer->timerfd == -1) { in usbi_create_timer() 160 if (close(timer->timerfd) == -1) in usbi_destroy_timer() 168 if (timerfd_settime(timer->timerfd, TFD_TIMER_ABSTIME, &it, NULL) == -1) { in usbi_arm_timer() 180 if (timerfd_settime(timer->timerfd, 0, &it, NULL) == -1) { in usbi_disarm_timer()
|
/external/rust/crates/nix/patches/ |
D | 0001-Allow-android-compiled-binaries-to-use-timerfd.patch | 4 Subject: [PATCH] Allow android compiled binaries to use timerfd 23 pub mod timerfd;
|
/external/libusb/ |
D | configure.ac | 254 dnl timerfd support 256 AC_ARG_ENABLE([timerfd], optenable 257 [AS_HELP_STRING([--enable-timerfd], [use timerfd for timing [default=auto]])], 261 AC_CHECK_HEADER([sys/timerfd.h], [timerfd_h=yes], [timerfd_h=]) 263 …CLS([TFD_NONBLOCK, TFD_CLOEXEC], [timerfd_h_ok=yes], [timerfd_h_ok=], [[#include <sys/timerfd.h>]]) 267 AC_DEFINE([HAVE_TIMERFD], [1], [Define to 1 if the system has timerfd functionality.]) 272 AC_MSG_ERROR([timerfd header not usable; glibc 2.9+ required]) 275 AC_MSG_ERROR([timerfd header not available; glibc 2.9+ required]) 278 AC_MSG_CHECKING([whether to use timerfd for timing])
|
D | ChangeLog | 45 * Solaris: Enable timerfd on sunos when available 248 * Use timerfd when available for timer management
|
/external/ltp/m4/ |
D | ltp-timerfd.m4 | 6 AC_CHECK_HEADERS([sys/timerfd.h])
|
/external/rust/crates/nix/test/sys/ |
D | test_timerfd.rs | 2 use nix::sys::timerfd::{ClockId, Expiration, TimerFd, TimerFlags, TimerSetTimeFlags};
|
/external/rust/crates/nix/src/sys/ |
D | mod.rs | 110 pub mod timerfd; module
|
/external/wayland/src/ |
D | event-loop.c | 260 set_timer(int timerfd, struct timespec deadline) { in set_timer() argument 266 return timerfd_settime(timerfd, TFD_TIMER_ABSTIME, &its, NULL); in set_timer() 270 clear_timer(int timerfd) in clear_timer() argument 278 return timerfd_settime(timerfd, 0, &its, NULL); in clear_timer()
|
/external/crosvm/sys_util/src/ |
D | lib.rs | 49 mod timerfd; module 76 pub use crate::timerfd::*;
|
/external/parameter-framework/support/android/asio/ |
D | asio_defines.txt | 63 // bionic doesn't implement eventfd nor timerfd
|
/external/wayland/ |
D | meson.build | 50 { 'header': 'sys/timerfd.h', 'symbol': 'TFD_CLOEXEC' },
|
D | configure.ac | 114 [[#include <sys/timerfd.h>]])
|
/external/ltp/include/lapi/syscalls/ |
D | mips_n64.in | 277 timerfd 277
|
D | ia64.in | 278 timerfd 1308
|
D | s390.in | 233 timerfd 317
|
D | s390x.in | 233 timerfd 317
|
D | mips_n32.in | 281 timerfd 281
|
D | mips_o32.in | 318 timerfd 318
|
/external/strace/linux/s390x/ |
D | syscallent.h | 333 [317] = { 4, TD, SEN(timerfd), "timerfd" },
|
/external/strace/linux/mips/ |
D | syscallent-n32.h | 284 [6281] = { 4, TD, SEN(timerfd), "timerfd" },
|
/external/strace/linux/avr32/ |
D | syscallent.h | 309 [280] = { 4, TD, SEN(timerfd), "timerfd" },
|