| /linux/tools/testing/selftests/wireguard/qemu/ |
| H A D | init.c | 49 struct utsname utsname; in print_banner() local 52 if (uname(&utsname) < 0) in print_banner() 55 …" WireGuard Test Suite on ") + strlen(utsname.sysname) + strlen(utsname.release) + strlen… in print_banner() 56 …b[0m\n\x1b[45m\x1b[33m\x1b[1m%*.s\x1b[0m\n\n", len, "", utsname.sysname, utsname.release, utsname.… in print_banner()
|
| /linux/fs/proc/ |
| H A D | version.c | 13 utsname()->sysname, in version_proc_show() 14 utsname()->release, in version_proc_show() 15 utsname()->version); in version_proc_show()
|
| /linux/tools/include/nolibc/sys/ |
| H A D | utsname.h | 15 #include <linux/utsname.h> 18 * int uname(struct utsname *buf); 21 struct utsname { struct 31 int _sys_uname(struct utsname *buf) in sys_uname() argument 37 int uname(struct utsname *buf) in uname()
|
| /linux/tools/testing/selftests/arm64/tags/ |
| H A D | tags_test.c | 19 struct utsname *ptr; in main() 26 ptr = (struct utsname *)malloc(sizeof(*ptr)); in main() 32 ptr = (struct utsname *)SET_TAG(ptr, tag); in main()
|
| /linux/tools/testing/selftests/powerpc/security/ |
| H A D | flush_utils.c | 43 struct utsname utsname; in syscall_loop_uaccess() local 48 uname(&utsname); in syscall_loop_uaccess()
|
| /linux/arch/um/os-Linux/ |
| H A D | util.c | 51 struct utsname host; in setup_machinename() 72 struct utsname host; in setup_hostinfo()
|
| /linux/net/ipv4/ |
| H A D | ipconfig.c | 743 len = strlen(utsname()->nodename); in ic_dhcp_init_options() 744 ic_dhcp_add_option(&e, end, 12, utsname()->nodename, len); in ic_dhcp_init_options() 953 ic_bootp_string(utsname()->nodename, ext+1, *ext, in ic_do_bootp_ext() 972 ic_bootp_string(utsname()->domainname, ext+1, *ext, in ic_do_bootp_ext() 1613 utsname()->nodename, ic_domain, utsname()->domainname); in ip_auto_config() 1777 strscpy(utsname()->domainname, dp, in ip_auto_config_setup() 1778 sizeof(utsname()->domainname)); in ip_auto_config_setup() 1780 strscpy(utsname()->nodename, ip, in ip_auto_config_setup() 1781 sizeof(utsname()->nodename)); in ip_auto_config_setup()
|
| /linux/arch/um/drivers/ |
| H A D | mconsole_kern.c | 109 sprintf(version, "%s %s %s %s %s", utsname()->sysname, in mconsole_version() 110 utsname()->nodename, utsname()->release, utsname()->version, in mconsole_version() 111 utsname()->machine); in mconsole_version()
|
| /linux/include/linux/ |
| H A D | utsname.h | 29 static inline struct new_utsname *utsname(void) in utsname() function
|
| /linux/tools/power/cpupower/utils/ |
| H A D | cpupower-info.c | 13 #include <sys/utsname.h> 32 struct utsname uts; in cmd_info()
|
| H A D | cpupower-set.c | 37 struct utsname uts; in cmd_set()
|
| H A D | cpupower.c | 180 struct utsname uts; in main()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_probes.c | 10 #include <sys/utsname.h> 57 * utsname::release 4.19.0-22-amd64 58 * utsname::version #1 SMP Debian 4.19.260-1 (2022-09-29) 63 static __u32 get_debian_kernel_version(struct utsname *info) in get_debian_kernel_version() 83 struct utsname info; in get_kernel_version()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | unpriv_helpers.c | 18 struct utsname uts; in open_config()
|
| /linux/tools/include/nolibc/ |
| H A D | Makefile | 69 sys/utsname.h \
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | amd-ibs-period.c | 6 #include <sys/utsname.h> 914 struct utsname utsname; in get_perf_event_max_sample_rate() 918 if (uname(&utsname) < 0) { 923 major = strtol(utsname.release, &endptr, 10); in kernel_v6_15_or_newer() local
|
| /linux/fs/nfs/ |
| H A D | nfsroot.c | 270 tmp, utsname()->nodename); in root_nfs_data()
|
| /linux/arch/sh/include/asm/ |
| H A D | elf.h | 133 #define ELF_PLATFORM (utsname()->machine)
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_coredump.c | 293 strscpy(record->system_name, utsname()->nodename, in bnxt_fill_coredump_record() 305 if (sscanf(utsname()->release, "%u.%u", &os_ver_major, &os_ver_minor) != 2) in bnxt_fill_coredump_record() 310 strscpy(record->os_name, utsname()->sysname, sizeof(record->os_name)); in bnxt_fill_coredump_record()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | core_extern.c | 13 struct utsname info; in get_kernel_version()
|
| /linux/drivers/net/ethernet/alibaba/eea/ |
| H A D | eea_adminq.c | 514 strscpy(cfg->os_ver_str, utsname()->release, sizeof(cfg->os_ver_str)); in eea_adminq_config_host_info() 515 strscpy(cfg->isa_str, utsname()->machine, sizeof(cfg->isa_str)); in eea_adminq_config_host_info()
|
| /linux/arch/sparc/kernel/ |
| H A D | sys_sparc_64.c | 551 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2() 555 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
|
| /linux/arch/x86/include/asm/ |
| H A D | elf.h | 137 #define ELF_PLATFORM (utsname()->machine)
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest.h | 60 #include <sys/utsname.h> 471 struct utsname info; in ksft_min_kernel_version()
|
| /linux/drivers/xen/ |
| H A D | xen-scsiback.c | 1726 VSCSI_VERSION, utsname()->sysname, utsname()->machine); in scsiback_wwn_version_show() 1876 VSCSI_VERSION, utsname()->sysname, utsname()->machine); in scsiback_init()
|