Searched refs:tst_ts_set_nsec (Results 1 – 15 of 15) sorted by relevance
/third_party/ltp/include/ |
D | tst_timer.h | 432 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/ |
D | sched_rr_get_interval02.c | 47 tst_ts_set_nsec(&tp, 99); in run()
|
/third_party/ltp/testcases/kernel/syscalls/ppoll/ |
D | ppoll01.c | 222 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/ |
D | semop01.c | 76 tst_ts_set_nsec(&timeout, 10000); in setup()
|
D | semop03.c | 74 tst_ts_set_nsec(&timeout, 10000000); in setup()
|
D | semop02.c | 83 tst_ts_set_nsec(&timeout, 10000); in setup()
|
/third_party/ltp/lib/ |
D | tst_clocks.c | 112 tst_ts_set_nsec(&tts, ts->tv_nsec); in tst_clock_settime()
|
/third_party/ltp/testcases/kernel/syscalls/clock_settime/ |
D | clock_settime03.c | 67 tst_ts_set_nsec(&start, 0); in run()
|
D | clock_settime02.c | 132 tst_ts_set_nsec(&spec, tc[i].tv_nsec); in verify_clock_settime()
|
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/ |
D | recvmmsg01.c | 85 tst_ts_set_nsec(&ts, tc->tv_nsec); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 37 tst_ts_set_nsec(&timeout, 0); in run()
|
/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 152 tst_ts_set_nsec(rq, tc->tv_nsec); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/mq_timedreceive/ |
D | mq_timedreceive01.c | 160 tst_ts_set_nsec(&ts, tc->tv_nsec); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/mq_timedsend/ |
D | mq_timedsend01.c | 173 tst_ts_set_nsec(&ts, tc->tv_nsec); in do_test()
|
/third_party/ltp/libs/libltpsigwait/ |
D | sigwait.c | 47 tst_ts_set_nsec(&ts, 0); in test_timeout()
|