Lines Matching refs:clockid
18 static int tclock_gettime(clock_t clockid, struct timespec *now) in tclock_gettime() argument
20 if (clockid == CLOCK_BOOTTIME_ALARM) in tclock_gettime()
21 clockid = CLOCK_BOOTTIME; in tclock_gettime()
22 return clock_gettime(clockid, now); in tclock_gettime()
25 int run_test(int clockid, struct timespec now) in run_test() argument
31 if (check_skip(clockid)) in run_test()
34 if (tclock_gettime(clockid, &now)) in run_test()
35 return pr_perror("clock_gettime(%d)", clockid); in run_test()
50 fd = timerfd_create(clockid, 0); in run_test()
52 return pr_perror("timerfd_create(%d)", clockid); in run_test()
58 return pr_perror("timerfd_settime(%d)", clockid); in run_test()
61 return pr_perror("timerfd_gettime(%d)", clockid); in run_test()
66 clockid, elapsed); in run_test()
73 ksft_test_result_pass("clockid=%d\n", clockid); in run_test()