Lines Matching refs:new_ts
202 struct timespec64 new_ts; in SYSCALL_DEFINE2() local
206 if (get_user(new_ts.tv_sec, &tv->tv_sec) || in SYSCALL_DEFINE2()
207 get_user(new_ts.tv_nsec, &tv->tv_usec)) in SYSCALL_DEFINE2()
210 if (new_ts.tv_nsec > USEC_PER_SEC || new_ts.tv_nsec < 0) in SYSCALL_DEFINE2()
213 new_ts.tv_nsec *= NSEC_PER_USEC; in SYSCALL_DEFINE2()
220 return do_sys_settimeofday64(tv ? &new_ts : NULL, tz ? &new_tz : NULL); in SYSCALL_DEFINE2()
246 struct timespec64 new_ts; in COMPAT_SYSCALL_DEFINE2() local
250 if (get_user(new_ts.tv_sec, &tv->tv_sec) || in COMPAT_SYSCALL_DEFINE2()
251 get_user(new_ts.tv_nsec, &tv->tv_usec)) in COMPAT_SYSCALL_DEFINE2()
254 if (new_ts.tv_nsec > USEC_PER_SEC || new_ts.tv_nsec < 0) in COMPAT_SYSCALL_DEFINE2()
257 new_ts.tv_nsec *= NSEC_PER_USEC; in COMPAT_SYSCALL_DEFINE2()
264 return do_sys_settimeofday64(tv ? &new_ts : NULL, tz ? &new_tz : NULL); in COMPAT_SYSCALL_DEFINE2()