/linux-master/tools/testing/selftests/arm64/tags/ |
H A D | tags_test.c | 8 #include <sys/utsname.h> 18 struct utsname *ptr; 23 ptr = (struct utsname *)malloc(sizeof(*ptr)); 26 ptr = (struct utsname *)SET_TAG(ptr, tag);
|
/linux-master/fs/proc/ |
H A D | version.c | 7 #include <linux/utsname.h> 13 utsname()->sysname, 14 utsname()->release, 15 utsname()->version);
|
/linux-master/tools/testing/selftests/powerpc/security/ |
H A D | flush_utils.c | 16 #include <sys/utsname.h> 43 struct utsname utsname; local 48 uname(&utsname);
|
/linux-master/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 22 #include <sys/utsname.h> 49 struct utsname utsname; local 52 if (uname(&utsname) < 0) 55 len = strlen(" WireGuard Test Suite on ") + strlen(utsname.sysname) + strlen(utsname.release) + strlen(utsname.machine); 56 printf("\x1b[45m\x1b[33m\x1b[1m%*.s\x1b[0m\n\x1b[45m\x1b[33m\x1b[1m WireGuard Test Suite on %s %s %s \x1b[0m\n\x1b[45m\x1b[33m\x1b[1m%*.s\x1b[0m\n\n", len, "", utsname.sysname, utsname.release, utsname [all...] |
/linux-master/init/ |
H A D | version-timestamp.c | 8 #include <linux/utsname.h>
|
H A D | version.c | 17 #include <linux/utsname.h>
|
/linux-master/include/linux/ |
H A D | utsname.h | 10 #include <uapi/linux/utsname.h> 80 static inline struct new_utsname *utsname(void) function
|
H A D | init_task.h | 7 #include <linux/utsname.h>
|
/linux-master/tools/power/cpupower/utils/ |
H A D | cpupower-info.c | 13 #include <sys/utsname.h> 34 struct utsname uts;
|
H A D | cpupower-set.c | 13 #include <sys/utsname.h> 38 struct utsname uts;
|
H A D | cpupower.c | 17 #include <sys/utsname.h> 180 struct utsname uts;
|
/linux-master/net/wireless/ |
H A D | ethtool.c | 2 #include <linux/utsname.h>
|
/linux-master/arch/sparc/kernel/ |
H A D | sys_sparc_32.c | 23 #include <linux/utsname.h> 208 nlen = strlen(utsname()->domainname) + 1; 212 memcpy(tmp, utsname()->domainname, nlen);
|
/linux-master/arch/um/os-Linux/ |
H A D | util.c | 16 #include <sys/utsname.h> 52 struct utsname host; 73 struct utsname host;
|
/linux-master/arch/x86/um/ |
H A D | sysrq_64.c | 12 #include <linux/utsname.h>
|
/linux-master/lib/ |
H A D | dump_stack.c | 15 #include <linux/utsname.h> 25 * The configured string will be printed right after utsname during task
|
/linux-master/tools/perf/util/ |
H A D | util.c | 7 #include <sys/utsname.h> 386 struct utsname utsname; local 394 if (uname(&utsname)) 398 strncpy(str, utsname.release, str_size); 405 err = sscanf(utsname.release, "%d.%d.%d", 410 utsname.release);
|
/linux-master/tools/power/cpupower/bench/ |
H A D | parse.c | 14 #include <sys/utsname.h> 56 struct utsname sysdata;
|
/linux-master/arch/sh/include/asm/ |
H A D | elf.h | 5 #include <linux/utsname.h> 133 #define ELF_PLATFORM (utsname()->machine)
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_extern.c | 6 #include <sys/utsname.h> 13 struct utsname info;
|
/linux-master/kernel/sched/ |
H A D | build_utility.c | 43 #include <linux/utsname.h>
|
/linux-master/fs/nfs/ |
H A D | nfsroot.c | 79 #include <linux/utsname.h> 264 * At this point, utsname()->nodename contains our local 270 tmp, utsname()->nodename);
|
/linux-master/arch/sh/kernel/ |
H A D | sys_sh.c | 22 #include <linux/utsname.h>
|
/linux-master/arch/alpha/kernel/ |
H A D | osf_sys.c | 27 #include <linux/utsname.h> 536 memcpy(tmp + 0 * 32, utsname()->sysname, 32); 537 memcpy(tmp + 1 * 32, utsname()->nodename, 32); 538 memcpy(tmp + 2 * 32, utsname()->release, 32); 539 memcpy(tmp + 3 * 32, utsname()->version, 32); 540 memcpy(tmp + 4 * 32, utsname()->machine, 32); 559 * For compatibility with OSF/1 only. Use utsname(2) instead. 571 kname = utsname()->domainname; 728 utsname()->sysname, 729 utsname() [all...] |
/linux-master/arch/um/drivers/ |
H A D | mconsole_kern.c | 21 #include <linux/utsname.h> 109 sprintf(version, "%s %s %s %s %s", utsname()->sysname, 110 utsname()->nodename, utsname()->release, utsname()->version, 111 utsname()->machine);
|