Home
last modified time | relevance | path

Searched refs:timerfd (Results 1 – 25 of 41) 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/
Dconfigure.ac220 # timerfd
221 AC_CHECK_HEADER([sys/timerfd.h], [timerfd_h=1], [timerfd_h=0])
222 AC_ARG_ENABLE([timerfd], optenable
223 [AS_HELP_STRING([--enable-timerfd],
224 [use timerfd for timing [default=auto]])],
228 AC_MSG_ERROR([timerfd header not available; glibc 2.9+ required])
231 AC_CHECK_DECL([TFD_NONBLOCK], [tfd_hdr_ok=yes], [tfd_hdr_ok=no], [#include <sys/timerfd.h>])
233 AC_MSG_ERROR([timerfd header not usable; glibc 2.9+ required])
236 AC_MSG_CHECKING([whether to use timerfd for timing])
242 AC_DEFINE(USBI_TIMERFD_AVAILABLE, 1, [timerfd headers available])
/external/libusb/libusb/
Dio.c1150 ctx->timerfd = timerfd_create(usbi_backend->get_timerfd_clockid(), in usbi_io_init()
1152 if (ctx->timerfd >= 0) { in usbi_io_init()
1154 r = usbi_add_pollfd(ctx, ctx->timerfd, POLLIN); in usbi_io_init()
1158 usbi_dbg("timerfd not available (code %d error %d)", ctx->timerfd, errno); in usbi_io_init()
1159 ctx->timerfd = -1; in usbi_io_init()
1167 close(ctx->timerfd); in usbi_io_init()
1190 usbi_remove_pollfd(ctx, ctx->timerfd); in usbi_io_exit()
1191 close(ctx->timerfd); in usbi_io_exit()
1316 r = timerfd_settime(ctx->timerfd, 0, &disarm_timer, NULL); in disarm_timerfd()
1346 r = timerfd_settime(ctx->timerfd, TFD_TIMER_ABSTIME, &it, NULL); in arm_timerfd_for_next_timeout()
[all …]
Dlibusbi.h330 int timerfd; member
360 #define usbi_using_timerfd(ctx) ((ctx)->timerfd >= 0)
/external/ltp/m4/
Dltp-timerfd.m46 AC_CHECK_HEADERS([sys/timerfd.h])
/external/crosvm/sys_util/src/
Dlib.rs38 mod timerfd; module
65 pub use crate::timerfd::*;
/external/parameter-framework/support/android/asio/
Dasio_defines.txt63 // bionic doesn't implement eventfd nor timerfd
/external/libusb/include/libusb/
Dlibusbi.h330 int timerfd; member
360 #define usbi_using_timerfd(ctx) ((ctx)->timerfd >= 0)
/external/ltp/include/lapi/syscalls/
Dmips_n64.in277 timerfd 277
Dia64.in278 timerfd 1308
Ds390.in233 timerfd 317
Dmips_n32.in281 timerfd 281
Ds390x.in233 timerfd 317
Dmips_o32.in318 timerfd 318
/external/wayland/
Dconfigure.ac108 [[#include <sys/timerfd.h>]])
/external/strace/linux/mips/
Dsyscallent-n32.h284 [6281] = { 4, TD, SEN(timerfd), "timerfd" },
Dsyscallent-n64.h280 [5277] = { 4, TD, SEN(timerfd), "timerfd" },
Dsyscallent-o32.h322 [4318] = { 4, TD, SEN(timerfd), "timerfd" },
/external/strace/linux/ia64/
Dsyscallent.h314 [1308] = { 4, TD, SEN(timerfd), "timerfd" },
/external/strace/linux/s390x/
Dsyscallent.h333 [317] = { 4, TD, SEN(timerfd), "timerfd" },
/external/strace/linux/avr32/
Dsyscallent.h309 [280] = { 4, TD, SEN(timerfd), "timerfd" },
/external/strace/linux/hppa/
Dsyscallent.h309 [303] = { 4, TD, SEN(timerfd), "timerfd" },
/external/strace/linux/s390/
Dsyscallent.h349 [317] = { 4, TD, SEN(timerfd), "timerfd" },

12