Home
last modified time | relevance | path

Searched refs:utsname (Results 1 – 25 of 244) sorted by relevance

12345678910

/linux/tools/testing/selftests/wireguard/qemu/
A Dinit.c47 struct utsname utsname; in print_banner() local
50 if (uname(&utsname) < 0) in print_banner()
53 …" WireGuard Test Suite on ") + strlen(utsname.sysname) + strlen(utsname.release) + strlen… in print_banner()
54 …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/
A Dversion.c12 utsname()->sysname, in version_proc_show()
13 utsname()->release, in version_proc_show()
14 utsname()->version); in version_proc_show()
/linux/tools/testing/selftests/arm64/tags/
A Dtags_test.c18 struct utsname *ptr; in main()
23 ptr = (struct utsname *)malloc(sizeof(*ptr)); in main()
26 ptr = (struct utsname *)SET_TAG(ptr, tag); in main()
/linux/tools/perf/util/
A Dutil.c350 struct utsname utsname; in fetch_kernel_version() local
358 if (uname(&utsname)) in fetch_kernel_version()
362 strncpy(str, utsname.release, str_size); in fetch_kernel_version()
369 err = sscanf(utsname.release, "%d.%d.%d", in fetch_kernel_version()
374 utsname.release); in fetch_kernel_version()
A Denv.c370 struct utsname uts; in perf_env__read_arch()
441 static struct utsname uts = { .machine[0] = '\0', }; in perf_env__arch()
/linux/tools/testing/selftests/powerpc/security/
A Dflush_utils.c42 struct utsname utsname; in syscall_loop_uaccess() local
47 uname(&utsname); in syscall_loop_uaccess()
/linux/arch/alpha/kernel/
A Dosf_sys.c535 memcpy(tmp + 0 * 32, utsname()->sysname, 32); in SYSCALL_DEFINE1()
536 memcpy(tmp + 1 * 32, utsname()->nodename, 32); in SYSCALL_DEFINE1()
537 memcpy(tmp + 2 * 32, utsname()->release, 32); in SYSCALL_DEFINE1()
538 memcpy(tmp + 3 * 32, utsname()->version, 32); in SYSCALL_DEFINE1()
539 memcpy(tmp + 4 * 32, utsname()->machine, 32); in SYSCALL_DEFINE1()
570 kname = utsname()->domainname; in SYSCALL_DEFINE2()
727 utsname()->sysname, in SYSCALL_DEFINE3()
728 utsname()->nodename, in SYSCALL_DEFINE3()
729 utsname()->release, in SYSCALL_DEFINE3()
730 utsname()->version, in SYSCALL_DEFINE3()
[all …]
/linux/arch/um/os-Linux/
A Dutil.c51 struct utsname host; in setup_machinename()
72 struct utsname host; in setup_hostinfo()
/linux/net/ipv4/
A Dipconfig.c726 len = strlen(utsname()->nodename); in ic_dhcp_init_options()
728 memcpy(e, utsname()->nodename, len); in ic_dhcp_init_options()
947 ic_bootp_string(utsname()->nodename, ext+1, *ext, in ic_do_bootp_ext()
966 ic_bootp_string(utsname()->domainname, ext+1, *ext, in ic_do_bootp_ext()
1599 utsname()->nodename, ic_domain, utsname()->domainname); in ip_auto_config()
1762 strlcpy(utsname()->domainname, dp, in ip_auto_config_setup()
1763 sizeof(utsname()->domainname)); in ip_auto_config_setup()
1765 strlcpy(utsname()->nodename, ip, in ip_auto_config_setup()
1766 sizeof(utsname()->nodename)); in ip_auto_config_setup()
/linux/kernel/
A D.utsname.o.cmd1utsname.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/…
3 source_kernel/utsname.o := kernel/utsname.c
5 deps_kernel/utsname.o := \
65 include/linux/utsname.h \
637 include/uapi/linux/utsname.h \
770 kernel/utsname.o: $(deps_kernel/utsname.o)
772 $(deps_kernel/utsname.o):
A Dsys.c1277 memcpy(&tmp, utsname(), sizeof(tmp)); in SYSCALL_DEFINE1()
1301 memcpy(&tmp, utsname(), sizeof(tmp)); in SYSCALL_DEFINE1()
1323 memcpy(&tmp.sysname, &utsname()->sysname, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1324 memcpy(&tmp.nodename, &utsname()->nodename, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1325 memcpy(&tmp.release, &utsname()->release, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1326 memcpy(&tmp.version, &utsname()->version, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1327 memcpy(&tmp.machine, &utsname()->machine, __OLD_UTS_LEN); in SYSCALL_DEFINE1()
1355 u = utsname(); in SYSCALL_DEFINE2()
1376 u = utsname(); in SYSCALL_DEFINE2()
1408 u = utsname(); in SYSCALL_DEFINE2()
A D.built-in.a.cmd1 …ec.o kernel/kexec_file.o kernel/compat.o kernel/cgroup/built-in.a kernel/utsname.o kernel/user_nam…
/linux/arch/um/drivers/
A Dmconsole_kern.c109 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/arch/sparc/kernel/
A Dsys_sparc_32.c208 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2()
212 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
/linux/include/linux/
A Dutsname.h79 static inline struct new_utsname *utsname(void) in utsname() function
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_coredump.c237 strscpy(record->system_name, utsname()->nodename, in bnxt_fill_coredump_record()
249 if (sscanf(utsname()->release, "%u.%u", &os_ver_major, &os_ver_minor) != 2) in bnxt_fill_coredump_record()
254 strscpy(record->os_name, utsname()->sysname, sizeof(record->os_name)); in bnxt_fill_coredump_record()
/linux/tools/power/cpupower/utils/
A Dcpupower-set.c35 struct utsname uts; in cmd_set()
A Dcpupower-info.c34 struct utsname uts; in cmd_info()
A Dcpupower.c179 struct utsname uts; in main()
/linux/drivers/target/tcm_fc/
A Dtfc_conf.c372 ""UTS_RELEASE"\n", utsname()->sysname, utsname()->machine); in ft_wwn_version_show()
/linux/fs/nfs/
A Dnfsroot.c270 tmp, utsname()->nodename); in root_nfs_data()
/linux/drivers/scsi/qla2xxx/
A Dtcm_qla2xxx.c1781 QLA2XXX_VERSION, utsname()->sysname, in tcm_qla2xxx_wwn_version_show()
1782 utsname()->machine, utsname()->release); in tcm_qla2xxx_wwn_version_show()
1884 QLA2XXX_VERSION, utsname()->sysname, in tcm_qla2xxx_register_configfs()
1885 utsname()->machine, utsname()->release); in tcm_qla2xxx_register_configfs()
/linux/arch/sh/include/asm/
A Delf.h133 #define ELF_PLATFORM (utsname()->machine)
/linux/tools/power/cpupower/bench/
A Dparse.c56 struct utsname sysdata; in prepare_output()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dcore_extern.c13 struct utsname info; in get_kernel_version()

Completed in 51 milliseconds

12345678910