Home
last modified time | relevance | path

Searched refs:timerfd_create (Results 1 - 25 of 31) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dtimerfd_create.c29 int timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in timerfd_create_0100()
45 int timerfd = timerfd_create(CLOCK_REALTIME, 0); in timerfd_create_0200()
60 int timerfd = timerfd_create(-1, -1); in timerfd_create_0300()
H A Dtimerfd_settime.c44 fd = timerfd_create(CLOCK_REALTIME, 0); in timerfd_settime_0100()
46 t_error("%s timerfd_create failed\n", __func__); in timerfd_settime_0100()
95 fd = timerfd_create(CLOCK_REALTIME, 0); in timerfd_settime64_0100()
97 t_error("%s timerfd_create failed\n", __func__); in timerfd_settime64_0100()
H A Dtimerfd_gettime.c40 fd = timerfd_create(CLOCK_REALTIME, 0); in timerfd_gettime_0100()
42 t_error("%s timerfd_create failed", __func__); in timerfd_gettime_0100()
92 fd = timerfd_create(CLOCK_REALTIME, 0); in timerfd_gettime64_0100()
94 t_error("%s timerfd_create failed", __func__); in timerfd_gettime64_0100()
/third_party/rust/crates/rustix/src/time/
H A Dtimerfd.rs6 /// `timerfd_create(clockid, flags)`—Create a timer.
11 /// [Linux]: https://man7.org/linux/man-pages/man2/timerfd_create.2.html
13 pub fn timerfd_create(clockid: TimerfdClockId, flags: TimerfdFlags) -> io::Result<OwnedFd> { in timerfd_create() functions
14 backend::time::syscalls::timerfd_create(clockid, flags) in timerfd_create()
H A Dmod.rs18 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags,
/third_party/rust/crates/rustix/tests/time/
H A Dtimerfd.rs2 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags,
8 let fd = timerfd_create(TimerfdClockId::Monotonic, TimerfdFlags::CLOEXEC).unwrap(); in test_timerfd()
42 let fd = timerfd_create(TimerfdClockId::Monotonic, TimerfdFlags::CLOEXEC).unwrap(); in test_timerfd_with_interval()
H A Dy2038.rs41 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags, in test_y2038_with_timerfd()
45 let fd = timerfd_create(TimerfdClockId::Monotonic, TimerfdFlags::CLOEXEC).unwrap(); in test_y2038_with_timerfd()
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dtimerfd.h19 int timerfd_create(int, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dtimerfd.h19 int timerfd_create(int, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dtimerfd.h19 int timerfd_create(int, int);
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_timerfd_create_test.cpp20 int timerfd = timerfd_create(CLOCK_MONOTONIC, 0); in HWTEST_F()
H A Dlinux_timerfd_settime_test.cpp13 * @tc.desc: This test verifies that for timerfd_create, timerfd_settime and timerfd_gettime functions create a
22 int fd = timerfd_create(CLOCK_REALTIME, 0); in HWTEST_F()
/third_party/musl/include/sys/
H A Dtimerfd.h19 int timerfd_create(int, int);
/third_party/ltp/testcases/kernel/syscalls/timerfd/
H A Dtimerfd_create01.c34 TST_EXP_FAIL(timerfd_create(test->clockid, test->flags), test->exp_errno); in run()
H A Dtimerfd_settime01.c57 clockfd = timerfd_create(CLOCK_REALTIME, 0); in setup()
59 tst_brk(TFAIL | TERRNO, "timerfd_create() fail"); in setup()
H A Dtimerfd_gettime01.c51 clockfd = timerfd_create(CLOCK_REALTIME, 0); in setup()
53 tst_brk(TFAIL | TERRNO, "timerfd_create() fail"); in setup()
/third_party/ltp/include/lapi/
H A Dtimerfd.h19 static inline int timerfd_create(int clockid, int flags) in timerfd_create() function
/third_party/ltp/lib/
H A Dtst_safe_timerfd.c19 fd = timerfd_create(clockid, flags); in safe_timerfd_create()
23 "timerfd_create(%s) failed", tst_clock_name(clockid)); in safe_timerfd_create()
26 "Invalid timerfd_create(%s) return value %d", in safe_timerfd_create()
/third_party/musl/src/linux/
H A Dtimerfd.c7 int timerfd_create(int clockid, int flags) in timerfd_create() function
/third_party/rust/crates/nix/src/sys/
H A Dtimerfd.rs6 //! For more documentation, please read [timerfd_create(2)](https://man7.org/linux/man-pages/man2/timerfd_create.2.html).
59 /// details on each kind of clock, please refer to [timerfd_create(2)](https://man7.org/linux/man-pages/man2/timerfd_create.2.html).
95 #[doc(alias("timerfd_create"))]
98 libc::timerfd_create(clockid as i32, flags.bits()) in new()
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
H A Dsyscalls.rs70 pub(crate) fn timerfd_create(clockid: TimerfdClockId, flags: TimerfdFlags) -> io::Result<OwnedFd> {
/third_party/libinput/src/
H A Dtimer.c194 libinput->timer.fd = timerfd_create(CLOCK_MONOTONIC, in libinput_timer_subsys_init()
/third_party/musl/Benchmark/musl/
H A Dlibc_time.cpp156 int fd = timerfd_create(CLOCK_REALTIME, 0); in Bm_function_Timerfd_settime()
158 perror("timerfd_create"); in Bm_function_Timerfd_settime()
/third_party/alsa-utils/amidi/
H A Damidi.c656 pfds[0].fd = timerfd_create(CLOCK_MONOTONIC, 0); in main()
/third_party/curl/docs/examples/
H A Dephiperfifo.c484 g.tfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in main()
486 perror("timerfd_create failed"); in main()

Completed in 11 milliseconds

12