Home
last modified time | relevance | path

Searched refs:uts (Results 1 – 5 of 5) sorted by relevance

/kernel/time/
Dtime.c872 const struct __kernel_timespec __user *uts) in get_timespec64() argument
877 ret = copy_from_user(&kts, uts, sizeof(kts)); in get_timespec64()
895 struct __kernel_timespec __user *uts) in put_timespec64() argument
902 return copy_to_user(uts, &kts, sizeof(kts)) ? -EFAULT : 0; in put_timespec64()
932 int get_old_timespec32(struct timespec64 *ts, const void __user *uts) in get_old_timespec32() argument
935 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in get_old_timespec32()
937 return __get_old_timespec32(ts, uts); in get_old_timespec32()
941 int put_old_timespec32(const struct timespec64 *ts, void __user *uts) in put_old_timespec32() argument
944 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in put_old_timespec32()
946 return __put_old_timespec32(ts, uts); in put_old_timespec32()
/kernel/
Dcompat.c75 int compat_get_timespec(struct timespec *ts, const void __user *uts) in compat_get_timespec() argument
78 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in compat_get_timespec()
80 return __compat_get_timespec(ts, uts); in compat_get_timespec()
84 int compat_put_timespec(const struct timespec *ts, void __user *uts) in compat_put_timespec() argument
87 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in compat_put_timespec()
89 return __compat_put_timespec(ts, uts); in compat_put_timespec()
Dsignal.c3492 const struct __kernel_timespec __user *, uts, in SYSCALL_DEFINE4() argument
3507 if (uts) { in SYSCALL_DEFINE4()
3508 if (get_timespec64(&ts, uts)) in SYSCALL_DEFINE4()
3512 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL); in SYSCALL_DEFINE4()
3525 const struct old_timespec32 __user *, uts, in SYSCALL_DEFINE4() argument
3539 if (uts) { in SYSCALL_DEFINE4()
3540 if (get_old_timespec32(&ts, uts)) in SYSCALL_DEFINE4()
3544 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL); in SYSCALL_DEFINE4()
3558 struct __kernel_timespec __user *, uts, compat_size_t, sigsetsize) in COMPAT_SYSCALL_DEFINE4() argument
3571 if (uts) { in COMPAT_SYSCALL_DEFINE4()
[all …]
/kernel/power/
Dpower.h9 struct new_utsname uts; member
Dsnapshot.c2021 memcpy(&info->uts, init_utsname(), sizeof(struct new_utsname)); in init_header_complete()
2030 if (strcmp(info->uts.sysname,init_utsname()->sysname)) in check_image_kernel()
2032 if (strcmp(info->uts.release,init_utsname()->release)) in check_image_kernel()
2034 if (strcmp(info->uts.version,init_utsname()->version)) in check_image_kernel()
2036 if (strcmp(info->uts.machine,init_utsname()->machine)) in check_image_kernel()