Lines Matching refs:tp
172 struct timespec *tp) in common_clock_getres() argument
174 tp->tv_sec = 0; in common_clock_getres()
175 tp->tv_nsec = posix_clocks[which_clock].res; in common_clock_getres()
182 static int common_clock_get(clockid_t which_clock, struct timespec *tp) in common_clock_get() argument
184 ktime_get_real_ts(tp); in common_clock_get()
189 struct timespec *tp) in common_clock_set() argument
191 return do_sys_settimeofday(tp, NULL); in common_clock_set()
224 static int posix_ktime_get_ts(clockid_t which_clock, struct timespec *tp) in posix_ktime_get_ts() argument
226 ktime_get_ts(tp); in posix_ktime_get_ts()
233 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec *tp) in posix_get_monotonic_raw() argument
235 getrawmonotonic(tp); in posix_get_monotonic_raw()
885 int do_posix_clock_nosettime(const clockid_t clockid, struct timespec *tp) in do_posix_clock_nosettime() argument
903 const struct timespec __user *, tp) in SYSCALL_DEFINE2() argument
909 if (copy_from_user(&new_tp, tp, sizeof (*tp))) in SYSCALL_DEFINE2()
916 struct timespec __user *,tp) in SYSCALL_DEFINE2() argument
925 if (!error && copy_to_user(tp, &kernel_tp, sizeof (kernel_tp))) in SYSCALL_DEFINE2()
933 struct timespec __user *, tp) in SYSCALL_DEFINE2() argument
944 if (!error && tp && copy_to_user(tp, &rtn_tp, sizeof (rtn_tp))) { in SYSCALL_DEFINE2()