Lines Matching refs:tp
170 static int posix_get_realtime_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_timespec() argument
172 ktime_get_real_ts64(tp); in posix_get_realtime_timespec()
183 const struct timespec64 *tp) in posix_clock_realtime_set() argument
185 return do_sys_settimeofday64(tp, NULL); in posix_clock_realtime_set()
197 static int posix_get_monotonic_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_timespec() argument
199 ktime_get_ts64(tp); in posix_get_monotonic_timespec()
200 timens_add_monotonic(tp); in posix_get_monotonic_timespec()
212 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_raw() argument
214 ktime_get_raw_ts64(tp); in posix_get_monotonic_raw()
215 timens_add_monotonic(tp); in posix_get_monotonic_raw()
220 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_coarse() argument
222 ktime_get_coarse_real_ts64(tp); in posix_get_realtime_coarse()
227 struct timespec64 *tp) in posix_get_monotonic_coarse() argument
229 ktime_get_coarse_ts64(tp); in posix_get_monotonic_coarse()
230 timens_add_monotonic(tp); in posix_get_monotonic_coarse()
234 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec64 *tp) in posix_get_coarse_res() argument
236 *tp = ktime_to_timespec64(KTIME_LOW_RES); in posix_get_coarse_res()
240 static int posix_get_boottime_timespec(const clockid_t which_clock, struct timespec64 *tp) in posix_get_boottime_timespec() argument
242 ktime_get_boottime_ts64(tp); in posix_get_boottime_timespec()
243 timens_add_boottime(tp); in posix_get_boottime_timespec()
252 static int posix_get_tai_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_tai_timespec() argument
254 ktime_get_clocktai_ts64(tp); in posix_get_tai_timespec()
263 static int posix_get_hrtimer_res(clockid_t which_clock, struct timespec64 *tp) in posix_get_hrtimer_res() argument
265 tp->tv_sec = 0; in posix_get_hrtimer_res()
266 tp->tv_nsec = hrtimer_resolution; in posix_get_hrtimer_res()
1108 const struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
1116 if (get_timespec64(&new_tp, tp)) in SYSCALL_DEFINE2()
1123 struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
1134 if (!error && put_timespec64(&kernel_tp, tp)) in SYSCALL_DEFINE2()
1170 struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
1181 if (!error && tp && put_timespec64(&rtn_tp, tp)) in SYSCALL_DEFINE2()
1190 struct old_timespec32 __user *, tp) in SYSCALL_DEFINE2() argument
1198 if (get_old_timespec32(&ts, tp)) in SYSCALL_DEFINE2()
1205 struct old_timespec32 __user *, tp) in SYSCALL_DEFINE2() argument
1216 if (!err && put_old_timespec32(&ts, tp)) in SYSCALL_DEFINE2()
1241 struct old_timespec32 __user *, tp) in SYSCALL_DEFINE2() argument
1251 if (!err && tp && put_old_timespec32(&ts, tp)) in SYSCALL_DEFINE2()