Home
last modified time | relevance | path

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

12

/external/libevent/
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 …]
/external/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)"
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c133 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/
Devents_posix.h48 int timerfd; member
50 #define USBI_TIMER_OS_HANDLE(t) ((t)->timerfd)
55 return timer->timerfd >= 0; in usbi_timer_valid()
Devents_posix.c149 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/
D0001-Allow-android-compiled-binaries-to-use-timerfd.patch4 Subject: [PATCH] Allow android compiled binaries to use timerfd
23 pub mod timerfd;
/external/libusb/
Dconfigure.ac254 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])
DChangeLog45 * Solaris: Enable timerfd on sunos when available
248 * Use timerfd when available for timer management
/external/ltp/m4/
Dltp-timerfd.m46 AC_CHECK_HEADERS([sys/timerfd.h])
/external/rust/crates/nix/test/sys/
Dtest_timerfd.rs2 use nix::sys::timerfd::{ClockId, Expiration, TimerFd, TimerFlags, TimerSetTimeFlags};
/external/rust/crates/nix/src/sys/
Dmod.rs110 pub mod timerfd; module
/external/wayland/src/
Devent-loop.c260 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/
Dlib.rs49 mod timerfd; module
76 pub use crate::timerfd::*;
/external/parameter-framework/support/android/asio/
Dasio_defines.txt63 // bionic doesn't implement eventfd nor timerfd
/external/wayland/
Dmeson.build50 { 'header': 'sys/timerfd.h', 'symbol': 'TFD_CLOEXEC' },
Dconfigure.ac114 [[#include <sys/timerfd.h>]])
/external/ltp/include/lapi/syscalls/
Dmips_n64.in277 timerfd 277
Dia64.in278 timerfd 1308
Ds390.in233 timerfd 317
Ds390x.in233 timerfd 317
Dmips_n32.in281 timerfd 281
Dmips_o32.in318 timerfd 318
/external/strace/linux/s390x/
Dsyscallent.h333 [317] = { 4, TD, SEN(timerfd), "timerfd" },
/external/strace/linux/mips/
Dsyscallent-n32.h284 [6281] = { 4, TD, SEN(timerfd), "timerfd" },
/external/strace/linux/avr32/
Dsyscallent.h309 [280] = { 4, TD, SEN(timerfd), "timerfd" },

12