Lines Matching refs:which_clock
60 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
65 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
73 static int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime() argument
75 switch (which_clock) { in do_clock_gettime()
94 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
100 ret = do_clock_gettime(which_clock, &kernel_tp); in SYSCALL_DEFINE2()
109 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
116 switch (which_clock) { in SYSCALL_DEFINE2()
128 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
135 switch (which_clock) { in SYSCALL_DEFINE4()
155 texp = timens_ktime_to_host(which_clock, texp); in SYSCALL_DEFINE4()
158 which_clock); in SYSCALL_DEFINE4()
174 SYSCALL_DEFINE2(clock_settime32, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
179 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
187 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
193 ret = do_clock_gettime(which_clock, &kernel_tp); in SYSCALL_DEFINE2()
202 SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
210 switch (which_clock) { in SYSCALL_DEFINE2()
222 SYSCALL_DEFINE4(clock_nanosleep_time32, clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
229 switch (which_clock) { in SYSCALL_DEFINE4()
249 texp = timens_ktime_to_host(which_clock, texp); in SYSCALL_DEFINE4()
252 which_clock); in SYSCALL_DEFINE4()