Lines Matching refs:which_clock
160 posix_cpu_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in posix_cpu_clock_getres() argument
162 int error = validate_clock_permissions(which_clock); in posix_cpu_clock_getres()
167 if (CPUCLOCK_WHICH(which_clock) == CPUCLOCK_SCHED) { in posix_cpu_clock_getres()
1501 static int do_cpu_nanosleep(const clockid_t which_clock, int flags, in do_cpu_nanosleep() argument
1514 timer.it_clock = which_clock; in do_cpu_nanosleep()
1592 static int posix_cpu_nsleep(const clockid_t which_clock, int flags, in posix_cpu_nsleep() argument
1601 if (CPUCLOCK_PERTHREAD(which_clock) && in posix_cpu_nsleep()
1602 (CPUCLOCK_PID(which_clock) == 0 || in posix_cpu_nsleep()
1603 CPUCLOCK_PID(which_clock) == task_pid_vnr(current))) in posix_cpu_nsleep()
1606 error = do_cpu_nanosleep(which_clock, flags, rqtp); in posix_cpu_nsleep()
1613 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()
1621 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() local
1626 return do_cpu_nanosleep(which_clock, TIMER_ABSTIME, &t); in posix_cpu_nsleep_restart()
1632 static int process_cpu_clock_getres(const clockid_t which_clock, in process_cpu_clock_getres() argument
1637 static int process_cpu_clock_get(const clockid_t which_clock, in process_cpu_clock_get() argument
1647 static int process_cpu_nsleep(const clockid_t which_clock, int flags, in process_cpu_nsleep() argument
1652 static int thread_cpu_clock_getres(const clockid_t which_clock, in thread_cpu_clock_getres() argument
1657 static int thread_cpu_clock_get(const clockid_t which_clock, in thread_cpu_clock_get() argument