Lines Matching refs:tz
141 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
151 if (unlikely(tz != NULL)) { in SYSCALL_DEFINE2()
152 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
169 int do_sys_settimeofday64(const struct timespec64 *tv, const struct timezone *tz) in do_sys_settimeofday64() argument
177 error = security_settime64(tv, tz); in do_sys_settimeofday64()
181 if (tz) { in do_sys_settimeofday64()
183 if (tz->tz_minuteswest > 15*60 || tz->tz_minuteswest < -15*60) in do_sys_settimeofday64()
186 sys_tz = *tz; in do_sys_settimeofday64()
200 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
215 if (tz) { in SYSCALL_DEFINE2()
216 if (copy_from_user(&new_tz, tz, sizeof(*tz))) in SYSCALL_DEFINE2()
220 return do_sys_settimeofday64(tv ? &new_ts : NULL, tz ? &new_tz : NULL); in SYSCALL_DEFINE2()
225 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
235 if (tz) { in COMPAT_SYSCALL_DEFINE2()
236 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in COMPAT_SYSCALL_DEFINE2()
244 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
259 if (tz) { in COMPAT_SYSCALL_DEFINE2()
260 if (copy_from_user(&new_tz, tz, sizeof(*tz))) in COMPAT_SYSCALL_DEFINE2()
264 return do_sys_settimeofday64(tv ? &new_ts : NULL, tz ? &new_tz : NULL); in COMPAT_SYSCALL_DEFINE2()