Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 2 of 2) sorted by relevance

/kernel/time/
Dtime.c104 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
112 if (unlikely(tz != NULL)) { in SYSCALL_DEFINE2()
113 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
164 int do_sys_settimeofday(const struct timespec *tv, const struct timezone *tz) in do_sys_settimeofday() argument
172 error = security_settime(tv, tz); in do_sys_settimeofday()
176 if (tz) { in do_sys_settimeofday()
178 if (tz->tz_minuteswest > 15*60 || tz->tz_minuteswest < -15*60) in do_sys_settimeofday()
181 sys_tz = *tz; in do_sys_settimeofday()
195 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
211 if (tz) { in SYSCALL_DEFINE2()
[all …]
/kernel/
Dcompat.c92 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
100 if (tz) { in COMPAT_SYSCALL_DEFINE2()
101 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in COMPAT_SYSCALL_DEFINE2()
109 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
121 if (tz) { in COMPAT_SYSCALL_DEFINE2()
122 if (copy_from_user(&new_tz, tz, sizeof(*tz))) in COMPAT_SYSCALL_DEFINE2()
126 return do_sys_settimeofday(tv ? &new_ts : NULL, tz ? &new_tz : NULL); in COMPAT_SYSCALL_DEFINE2()