Home
last modified time | relevance | path

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

/kernel/
Dtime.c103 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
111 if (unlikely(tz != NULL)) { in SYSCALL_DEFINE2()
112 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
155 int do_sys_settimeofday(struct timespec *tv, struct timezone *tz) in do_sys_settimeofday() argument
163 error = security_settime(tv, tz); in do_sys_settimeofday()
167 if (tz) { in do_sys_settimeofday()
169 sys_tz = *tz; in do_sys_settimeofday()
188 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
200 if (tz) { in SYSCALL_DEFINE2()
201 if (copy_from_user(&new_tz, tz, sizeof(*tz))) in SYSCALL_DEFINE2()
[all …]
Dcompat.c55 struct timezone __user *tz) in compat_sys_gettimeofday() argument
63 if (tz) { in compat_sys_gettimeofday()
64 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in compat_sys_gettimeofday()
72 struct timezone __user *tz) in compat_sys_settimeofday() argument
81 if (tz) { in compat_sys_settimeofday()
82 if (copy_from_user(&ktz, tz, sizeof(ktz))) in compat_sys_settimeofday()
86 return do_sys_settimeofday(tv ? &kts : NULL, tz ? &ktz : NULL); in compat_sys_settimeofday()