Home
last modified time | relevance | path

Searched refs:tst_ts_set_nsec (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/include/
Dtst_timer.h432 static inline void tst_ts_set_nsec(struct tst_ts *ts, long long nsec) in tst_ts_set_nsec() function
679 tst_ts_set_nsec(&ret, ns % 1000000000); in tst_ts_from_ns()
693 tst_ts_set_nsec(&ret, (us % 1000000) * 1000); in tst_ts_from_us()
716 tst_ts_set_nsec(&ret, (ms % 1000) * 1000000); in tst_ts_from_ms()
799 tst_ts_set_nsec(&t, nsec - 1000000000); in tst_ts_normalize()
804 tst_ts_set_nsec(&t, nsec + 1000000000); in tst_ts_normalize()
819 tst_ts_set_nsec(&res, tst_ts_get_nsec(t) + (us % 1000000) * 1000); in tst_ts_add_us()
846 tst_ts_set_nsec(&res, tst_ts_get_nsec(t) - (us % 1000000) * 1000); in tst_ts_sub_us()
873 tst_ts_set_nsec(&res, tst_ts_get_nsec(t1) + tst_ts_get_nsec(t2)); in tst_ts_add()
900 tst_ts_set_nsec(&res, tst_ts_get_nsec(t1) - tst_ts_get_nsec(t2)); in tst_ts_diff()
/third_party/ltp/testcases/kernel/syscalls/sched_rr_get_interval/
Dsched_rr_get_interval02.c47 tst_ts_set_nsec(&tp, 99); in run()
/third_party/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c222 tst_ts_set_nsec(&ts_short, 20000000); in setup()
224 tst_ts_set_nsec(&ts_long, 0); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop01.c76 tst_ts_set_nsec(&timeout, 10000); in setup()
Dsemop03.c74 tst_ts_set_nsec(&timeout, 10000000); in setup()
Dsemop02.c83 tst_ts_set_nsec(&timeout, 10000); in setup()
/third_party/ltp/lib/
Dtst_clocks.c112 tst_ts_set_nsec(&tts, ts->tv_nsec); in tst_clock_settime()
/third_party/ltp/testcases/kernel/syscalls/clock_settime/
Dclock_settime03.c67 tst_ts_set_nsec(&start, 0); in run()
Dclock_settime02.c132 tst_ts_set_nsec(&spec, tc[i].tv_nsec); in verify_clock_settime()
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c85 tst_ts_set_nsec(&ts, tc->tv_nsec); in do_test()
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c37 tst_ts_set_nsec(&timeout, 0); in run()
/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c152 tst_ts_set_nsec(rq, tc->tv_nsec); in do_test()
/third_party/ltp/testcases/kernel/syscalls/mq_timedreceive/
Dmq_timedreceive01.c160 tst_ts_set_nsec(&ts, tc->tv_nsec); in do_test()
/third_party/ltp/testcases/kernel/syscalls/mq_timedsend/
Dmq_timedsend01.c173 tst_ts_set_nsec(&ts, tc->tv_nsec); in do_test()
/third_party/ltp/libs/libltpsigwait/
Dsigwait.c47 tst_ts_set_nsec(&ts, 0); in test_timeout()