Home
last modified time | relevance | path

Searched refs:timereq (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/nanosleep/
Dnanosleep03.c53 maybe_run_child(&do_child, "dddd", &timereq.tv_sec, &timereq.tv_nsec, in main()
72 timereq.tv_sec, timereq.tv_nsec, in main()
105 struct timespec timereq = {.tv_sec = 5, .tv_nsec = 9999}; in do_child() local
115 TEST(nanosleep(&timereq, &timerem)); in do_child()
Dnanosleep01.c40 struct timespec timereq = {.tv_sec = 2, .tv_nsec = 9999}; in main() local
48 TEST(nanosleep(&timereq, NULL)); in main()
56 if (tst_timespec_lt(tst_timer_elapsed(), timereq)) { in main()
59 tst_timer_elapsed_us(), tst_timespec_to_us(timereq)); in main()
Dnanosleep02.c108 struct timespec timereq = {.tv_sec = 5, .tv_nsec = 9999}; in do_child() local
112 TEST(nanosleep(&timereq, &timerem)); in do_child()
115 if (tst_timespec_lt(timereq, tst_timer_elapsed())) { in do_child()
120 exp_rem = tst_timespec_diff(timereq, tst_timer_elapsed()); in do_child()