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