Lines Matching refs:tp

206 static int posix_clock_realtime_get(clockid_t which_clock, struct timespec *tp)  in posix_clock_realtime_get()  argument
208 ktime_get_real_ts(tp); in posix_clock_realtime_get()
214 const struct timespec *tp) in posix_clock_realtime_set() argument
216 return do_sys_settimeofday(tp, NULL); in posix_clock_realtime_set()
228 static int posix_ktime_get_ts(clockid_t which_clock, struct timespec *tp) in posix_ktime_get_ts() argument
230 ktime_get_ts(tp); in posix_ktime_get_ts()
237 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec *tp) in posix_get_monotonic_raw() argument
239 getrawmonotonic(tp); in posix_get_monotonic_raw()
244 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec *tp) in posix_get_realtime_coarse() argument
246 *tp = current_kernel_time(); in posix_get_realtime_coarse()
251 struct timespec *tp) in posix_get_monotonic_coarse() argument
253 *tp = get_monotonic_coarse(); in posix_get_monotonic_coarse()
257 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec *tp) in posix_get_coarse_res() argument
259 *tp = ktime_to_timespec(KTIME_LOW_RES); in posix_get_coarse_res()
263 static int posix_get_boottime(const clockid_t which_clock, struct timespec *tp) in posix_get_boottime() argument
265 get_monotonic_boottime(tp); in posix_get_boottime()
269 static int posix_get_tai(clockid_t which_clock, struct timespec *tp) in posix_get_tai() argument
271 timekeeping_clocktai(tp); in posix_get_tai()
275 static int posix_get_hrtimer_res(clockid_t which_clock, struct timespec *tp) in posix_get_hrtimer_res() argument
277 tp->tv_sec = 0; in posix_get_hrtimer_res()
278 tp->tv_nsec = hrtimer_resolution; in posix_get_hrtimer_res()
1013 const struct timespec __user *, tp) in SYSCALL_DEFINE2() argument
1021 if (copy_from_user(&new_tp, tp, sizeof (*tp))) in SYSCALL_DEFINE2()
1028 struct timespec __user *,tp) in SYSCALL_DEFINE2() argument
1039 if (!error && copy_to_user(tp, &kernel_tp, sizeof (kernel_tp))) in SYSCALL_DEFINE2()
1069 struct timespec __user *, tp) in SYSCALL_DEFINE2() argument
1080 if (!error && tp && copy_to_user(tp, &rtn_tp, sizeof (rtn_tp))) in SYSCALL_DEFINE2()