| /linux/tools/power/cpupower/utils/ |
| H A D | cpupower-info.c | 32 struct utsname uts; in cmd_info() 42 ret = uname(&uts); in cmd_info() 43 if (!ret && (!strcmp(uts.machine, "ppc64le") || in cmd_info() 44 !strcmp(uts.machine, "ppc64"))) { in cmd_info() 34 struct utsname uts; cmd_info() local
|
| H A D | cpupower-set.c | 37 struct utsname uts; in cmd_set() local 52 ret = uname(&uts); in cmd_set() 53 if (!ret && (!strcmp(uts.machine, "ppc64le") || in cmd_set() 54 !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 | compat.h | 721 struct old_timespec32 __user *uts, compat_size_t sigsetsize); 724 struct __kernel_timespec __user *uts, compat_size_t sigsetsize);
|
| /linux/tools/perf/util/ |
| 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 | env.c | 320 static struct utsname uts = { .machine[0] = '\0', }; in perf_env__init_kernel_mode() 322 if (uts.machine[0] == '\0') 323 uname(&uts); in perf_env__kernel_is_64_bit() 324 if (uts.machine[0] != '\0') in perf_env__kernel_is_64_bit() 325 arch = uts.machine; in perf_env__kernel_is_64_bit() 366 struct utsname uts; in perf_env__read_cpu_topology_map() 394 ret = uname(&uts); in perf_env__read_pmu_mappings() 395 env->os_release = strdup(ret < 0 ? perf_version_string : uts.release); in perf_env__read_pmu_mappings() 797 static struct utsname uts = { .machine[0] = '\0', }; 799 if (uts in perf_env__find_br_cntr_info() 445 struct utsname uts; perf_env__read_arch() local 628 static struct utsname uts = { .machine[0] = '\0', }; perf_env__arch() local [all...] |
| H A D | header.c | 421 struct utsname uts; in __write_cpudesc() 424 ret = uname(&uts); in __write_cpudesc() 428 return do_write_string(ff, uts.nodename); in __write_cpudesc() 434 struct utsname uts; in __write_cpudesc() 441 int ret = uname(&uts); in __write_cpudesc() 445 release = uts.release; in __write_cpudesc() 452 struct utsname uts; in __write_cpudesc() 459 int ret = uname(&uts); in write_cpudesc() 463 arch = uts.machine; in write_cpudesc() 346 struct utsname uts; write_hostname() local 359 struct utsname uts; write_osrelease() local 372 struct utsname uts; write_arch() local
|
| H A D | symbol.c | 2338 struct utsname uts; in symbol__read_kptr_restrict() 2359 if (uname(&uts) < 0) in symbol__annotation_init() 2362 kernel_version = uts.release; in setup_parallelism_bitmap() 2209 struct utsname uts; vmlinux_path__init() local
|
| /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/kernel/ |
| H A D | signal.c | 3816 const struct __kernel_timespec __user *, uts, in SYSCALL_DEFINE4() argument 3831 if (uts) { in SYSCALL_DEFINE4() 3832 if (get_timespec64(&ts, uts)) in SYSCALL_DEFINE4() 3836 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL); in SYSCALL_DEFINE4() 3849 const struct old_timespec32 __user *, uts, in SYSCALL_DEFINE4() argument 3863 if (uts) { in SYSCALL_DEFINE4() 3864 if (get_old_timespec32(&ts, uts)) in SYSCALL_DEFINE4() 3868 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL); in SYSCALL_DEFINE4() 3882 struct __kernel_timespec __user *, uts, compat_size_t, sigsetsize) in COMPAT_SYSCALL_DEFINE4() argument 3895 if (uts) { in COMPAT_SYSCALL_DEFINE4() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-top.c | 173 struct utsname uts; in ui__warn_map_erange() 174 int err = uname(&uts); in ui__warn_map_erange() 191 err ? "[unknown]" : uts.machine, in ui__warn_map_erange() 192 err ? "[unknown]" : uts.release, perf_version_string); in ui__warn_map_erange() 172 struct utsname uts; ui__warn_map_erange() local
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 2338 struct utsname uts; in bpf_object__read_kconfig_file() local 2342 uname(&uts); in bpf_object__read_kconfig_file() 2343 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release); in bpf_object__read_kconfig_file()
|