/linux/tools/power/cpupower/utils/ |
A D | cpupower-set.c | 35 struct utsname uts; in cmd_set() local 46 ret = uname(&uts); in cmd_set() 47 if (!ret && (!strcmp(uts.machine, "ppc64le") || in cmd_set() 48 !strcmp(uts.machine, "ppc64"))) { in cmd_set()
|
A D | cpupower-info.c | 34 struct utsname uts; in cmd_info() local 44 ret = uname(&uts); in cmd_info() 45 if (!ret && (!strcmp(uts.machine, "ppc64le") || in cmd_info() 46 !strcmp(uts.machine, "ppc64"))) { in cmd_info()
|
A D | cpupower.c | 179 struct utsname uts; in main() local 216 ret = uname(&uts); in main() 218 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
|
/linux/kernel/time/ |
A D | time.c | 782 const struct __kernel_timespec __user *uts) in get_timespec64() argument 787 ret = copy_from_user(&kts, uts, sizeof(kts)); in get_timespec64() 805 struct __kernel_timespec __user *uts) in put_timespec64() argument 812 return copy_to_user(uts, &kts, sizeof(kts)) ? -EFAULT : 0; in put_timespec64() 842 int get_old_timespec32(struct timespec64 *ts, const void __user *uts) in get_old_timespec32() argument 845 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in get_old_timespec32() 847 return __get_old_timespec32(ts, uts); in get_old_timespec32() 851 int put_old_timespec32(const struct timespec64 *ts, void __user *uts) in put_old_timespec32() argument 854 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in put_old_timespec32() 856 return __put_old_timespec32(ts, uts); in put_old_timespec32()
|
/linux/tools/perf/util/ |
A D | env.c | 370 struct utsname uts; in perf_env__read_arch() local 375 if (!uname(&uts)) in perf_env__read_arch() 376 env->arch = strdup(uts.machine); in perf_env__read_arch() 441 static struct utsname uts = { .machine[0] = '\0', }; in perf_env__arch() local 442 if (uts.machine[0] == '\0' && uname(&uts) < 0) in perf_env__arch() 444 arch_name = uts.machine; in perf_env__arch()
|
A D | cputopo.c | 163 struct utsname uts; in has_die_topology() local 165 if (uname(&uts) < 0) in has_die_topology() 168 if (strncmp(uts.machine, "x86_64", 6)) in has_die_topology()
|
A D | header.c | 337 struct utsname uts; in write_hostname() local 340 ret = uname(&uts); in write_hostname() 344 return do_write_string(ff, uts.nodename); in write_hostname() 350 struct utsname uts; in write_osrelease() local 353 ret = uname(&uts); in write_osrelease() 357 return do_write_string(ff, uts.release); in write_osrelease() 363 struct utsname uts; in write_arch() local 366 ret = uname(&uts); in write_arch() 370 return do_write_string(ff, uts.machine); in write_arch()
|
A D | symbol.c | 2348 struct utsname uts; in vmlinux_path__init() local 2369 if (uname(&uts) < 0) in vmlinux_path__init() 2372 kernel_version = uts.release; in vmlinux_path__init()
|
/linux/include/linux/ |
A D | time.h | 12 const struct __kernel_timespec __user *uts); 14 struct __kernel_timespec __user *uts);
|
A D | compat.h | 729 struct old_timespec32 __user *uts, compat_size_t sigsetsize); 732 struct __kernel_timespec __user *uts, compat_size_t sigsetsize);
|
A D | syscalls.h | 735 const struct __kernel_timespec __user *uts, 739 const struct old_timespec32 __user *uts,
|
/linux/tools/testing/selftests/powerpc/ |
A D | utils.c | 129 struct utsname uts; in is_ppc64le() local 133 rc = uname(&uts); in is_ppc64le() 139 return strcmp(uts.machine, "ppc64le") == 0; in is_ppc64le()
|
/linux/kernel/ |
A D | signal.c | 3619 const struct __kernel_timespec __user *, uts, in SYSCALL_DEFINE4() argument 3634 if (uts) { in SYSCALL_DEFINE4() 3635 if (get_timespec64(&ts, uts)) in SYSCALL_DEFINE4() 3652 const struct old_timespec32 __user *, uts, in SYSCALL_DEFINE4() argument 3666 if (uts) { in SYSCALL_DEFINE4() 3667 if (get_old_timespec32(&ts, uts)) in SYSCALL_DEFINE4() 3698 if (uts) { in COMPAT_SYSCALL_DEFINE4() 3699 if (get_timespec64(&t, uts)) in COMPAT_SYSCALL_DEFINE4() 3703 ret = do_sigtimedwait(&s, &info, uts ? &t : NULL); in COMPAT_SYSCALL_DEFINE4() 3729 if (uts) { in COMPAT_SYSCALL_DEFINE4() [all …]
|
A D | .utsname_sysctl.o.cmd | 64 include/linux/uts.h \
|
A D | .utsname.o.cmd | 63 include/linux/uts.h \
|
/linux/kernel/power/ |
A D | power.h | 11 struct new_utsname uts; member
|
A D | snapshot.c | 2063 memcpy(&info->uts, init_utsname(), sizeof(struct new_utsname)); in init_header_complete() 2072 if (strcmp(info->uts.sysname,init_utsname()->sysname)) in check_image_kernel() 2074 if (strcmp(info->uts.release,init_utsname()->release)) in check_image_kernel() 2076 if (strcmp(info->uts.version,init_utsname()->version)) in check_image_kernel() 2078 if (strcmp(info->uts.machine,init_utsname()->machine)) in check_image_kernel()
|
/linux/drivers/tty/serial/ |
A D | imx.c | 1031 u32 ucr3, uts; in imx_uart_set_mctrl() local 1060 uts = imx_uart_readl(sport, imx_uart_uts_reg(sport)) & ~UTS_LOOP; in imx_uart_set_mctrl() 1062 uts |= UTS_LOOP; in imx_uart_set_mctrl() 1063 imx_uart_writel(sport, uts, imx_uart_uts_reg(sport)); in imx_uart_set_mctrl() 1562 int i = 100, ubir, ubmr, uts; in imx_uart_flush_buffer() local 1593 uts = imx_uart_readl(sport, IMX21_UTS); in imx_uart_flush_buffer() 1605 imx_uart_writel(sport, uts, IMX21_UTS); in imx_uart_flush_buffer()
|
/linux/tools/perf/ |
A D | builtin-top.c | 170 struct utsname uts; in ui__warn_map_erange() local 171 int err = uname(&uts); in ui__warn_map_erange() 187 err ? "[unknown]" : uts.machine, in ui__warn_map_erange() 188 err ? "[unknown]" : uts.release, perf_version_string); in ui__warn_map_erange()
|
A D | builtin-script.c | 3649 struct utsname uts; in cmd_script() local 4054 uname(&uts); in cmd_script() 4058 if (!strcmp(uts.machine, session->header.env.arch)) in cmd_script() 4060 else if (!strcmp(uts.machine, "x86_64") && in cmd_script()
|
/linux/arch/arm64/kernel/vdso/ |
A D | .note.o.cmd | 12 include/linux/uts.h \
|
/linux/init/ |
A D | .version.o.cmd | 71 include/linux/uts.h \
|
/linux/fs/ |
A D | io_uring.c | 7638 struct __kernel_timespec __user *uts) in io_cqring_wait() argument 7653 if (uts) { in io_cqring_wait() 7656 if (get_timespec64(&ts, uts)) in io_cqring_wait()
|
/linux/tools/lib/bpf/ |
A D | libbpf.c | 1811 struct utsname uts; in bpf_object__read_kconfig_file() local 1815 uname(&uts); in bpf_object__read_kconfig_file() 1816 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release); in bpf_object__read_kconfig_file()
|