| /linux/tools/power/cpupower/utils/ |
| H 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()
|
| H A D | cpupower-set.c | 39 struct utsname uts; in cmd_set() local 54 ret = uname(&uts); in cmd_set() 55 if (!ret && (!strcmp(uts.machine, "ppc64le") || in cmd_set() 56 !strcmp(uts.machine, "ppc64"))) { in cmd_set()
|
| H A D | cpupower.c | 180 struct utsname uts; in main() local 217 ret = uname(&uts); in main() 219 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | unpriv_helpers.c | 18 struct utsname uts; in open_config() local 22 if (uname(&uts)) { in open_config() 27 snprintf(buf, sizeof(buf), "/boot/config-%s", uts.release); in open_config()
|
| /linux/include/linux/ |
| H A D | time.h | 12 const struct __kernel_timespec __user *uts); 14 struct __kernel_timespec __user *uts);
|
| H A D | syscalls.h | 682 const struct __kernel_timespec __user *uts, 686 const struct old_timespec32 __user *uts,
|
| /linux/drivers/tty/serial/ |
| H A D | imx.c | 345 u32 ucr2, ubir, ubmr, uts; in imx_uart_soft_reset() local 360 uts = imx_uart_readl(sport, IMX21_UTS); in imx_uart_soft_reset() 371 imx_uart_writel(sport, uts, IMX21_UTS); in imx_uart_soft_reset() 379 unsigned int uts; in imx_uart_disable_loopback_rs485() local 382 uts = imx_uart_readl(sport, imx_uart_uts_reg(sport)); in imx_uart_disable_loopback_rs485() 383 uts &= ~UTS_LOOP; in imx_uart_disable_loopback_rs485() 384 imx_uart_writel(sport, uts, imx_uart_uts_reg(sport)); in imx_uart_disable_loopback_rs485() 481 u32 ucr1, ucr2, ucr4, uts; in imx_uart_stop_rx_with_loopback_ctrl() local 501 uts = imx_uart_readl(sport, imx_uart_uts_reg(sport)); in imx_uart_stop_rx_with_loopback_ctrl() 502 uts |= UTS_LOOP; in imx_uart_stop_rx_with_loopback_ctrl() [all …]
|
| /linux/tools/perf/util/ |
| H A D | env.c | 416 struct utsname uts; in perf_env__read_arch() local 421 if (!uname(&uts)) in perf_env__read_arch() 422 env->arch = strdup(uts.machine); in perf_env__read_arch() 599 static struct utsname uts = { .machine[0] = '\0', }; in perf_env__arch() local 600 if (uts.machine[0] == '\0' && uname(&uts) < 0) in perf_env__arch() 602 arch_name = uts.machine; in perf_env__arch()
|
| H A D | cputopo.c | 225 struct utsname uts; in has_die_topology() local 227 if (uname(&uts) < 0) in has_die_topology() 230 if (strncmp(uts.machine, "x86_64", 6) && in has_die_topology() 231 strncmp(uts.machine, "s390x", 5)) in has_die_topology()
|
| H A D | header.c | 345 struct utsname uts; in write_hostname() local 348 ret = uname(&uts); in write_hostname() 352 return do_write_string(ff, uts.nodename); in write_hostname() 358 struct utsname uts; in write_osrelease() local 361 ret = uname(&uts); in write_osrelease() 365 return do_write_string(ff, uts.release); in write_osrelease() 371 struct utsname uts; in write_arch() local 374 ret = uname(&uts); in write_arch() 378 return do_write_string(ff, uts.machine); in write_arch()
|
| H A D | symbol.c | 2220 struct utsname uts; in vmlinux_path__init() local 2241 if (uname(&uts) < 0) in vmlinux_path__init() 2244 kernel_version = uts.release; in vmlinux_path__init()
|
| /linux/tools/testing/selftests/powerpc/ |
| H A D | utils.c | 480 struct utsname uts; in is_ppc64le() local 484 rc = uname(&uts); in is_ppc64le() 490 return strcmp(uts.machine, "ppc64le") == 0; in is_ppc64le()
|
| /linux/tools/perf/ |
| H A D | builtin-top.c | 172 struct utsname uts; in ui__warn_map_erange() local 173 int err = uname(&uts); in ui__warn_map_erange() 190 err ? "[unknown]" : uts.machine, in ui__warn_map_erange() 191 err ? "[unknown]" : uts.release, perf_version_string); in ui__warn_map_erange()
|
| H A D | builtin-script.c | 4020 struct utsname uts; in cmd_script() local 4442 uname(&uts); in cmd_script() 4446 if (!strcmp(uts.machine, env->arch)) in cmd_script() 4448 else if (!strcmp(uts.machine, "x86_64") && in cmd_script()
|