Lines Matching refs:which_clock

26 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock,  in SYSCALL_DEFINE2()  argument
31 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
39 static int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime() argument
41 switch (which_clock) { in do_clock_gettime()
60 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
66 ret = do_clock_gettime(which_clock, &kernel_tp); in SYSCALL_DEFINE2()
75 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
82 switch (which_clock) { in SYSCALL_DEFINE2()
94 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
101 switch (which_clock) { in SYSCALL_DEFINE4()
121 texp = timens_ktime_to_host(which_clock, texp); in SYSCALL_DEFINE4()
124 which_clock); in SYSCALL_DEFINE4()
129 SYSCALL_DEFINE2(clock_settime32, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
134 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
142 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
148 ret = do_clock_gettime(which_clock, &kernel_tp); in SYSCALL_DEFINE2()
157 SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
165 switch (which_clock) { in SYSCALL_DEFINE2()
177 SYSCALL_DEFINE4(clock_nanosleep_time32, clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
184 switch (which_clock) { in SYSCALL_DEFINE4()
204 texp = timens_ktime_to_host(which_clock, texp); in SYSCALL_DEFINE4()
207 which_clock); in SYSCALL_DEFINE4()