/Linux-v5.4/fs/proc/ |
D | version.c | 12 utsname()->sysname, in version_proc_show() 13 utsname()->release, in version_proc_show() 14 utsname()->version); in version_proc_show()
|
/Linux-v5.4/tools/testing/selftests/arm64/ |
D | tags_test.c | 18 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-v5.4/tools/perf/util/ |
D | util.c | 314 struct utsname utsname; in fetch_kernel_version() local 322 if (uname(&utsname)) in fetch_kernel_version() 326 strncpy(str, utsname.release, str_size); in fetch_kernel_version() 333 err = sscanf(utsname.release, "%d.%d.%d", in fetch_kernel_version() 338 utsname.release); in fetch_kernel_version()
|
D | env.c | 261 struct utsname uts; in perf_env__read_arch() 329 struct utsname uts; in perf_env__arch()
|
D | cputopo.c | 158 struct utsname uts; in has_die_topology()
|
/Linux-v5.4/arch/um/os-Linux/ |
D | util.c | 50 struct utsname host; in setup_machinename() 71 struct utsname host; in setup_hostinfo()
|
/Linux-v5.4/arch/alpha/kernel/ |
D | osf_sys.c | 535 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-v5.4/net/ipv4/ |
D | ipconfig.c | 702 len = strlen(utsname()->nodename); in ic_dhcp_init_options() 704 memcpy(e, utsname()->nodename, len); in ic_dhcp_init_options() 922 ic_bootp_string(utsname()->nodename, ext+1, *ext, in ic_do_bootp_ext() 939 ic_bootp_string(utsname()->domainname, ext+1, *ext, in ic_do_bootp_ext() 1563 utsname()->nodename, ic_domain, utsname()->domainname); in ip_auto_config() 1722 strlcpy(utsname()->domainname, dp, in ip_auto_config_setup() 1723 sizeof(utsname()->domainname)); in ip_auto_config_setup() 1725 strlcpy(utsname()->nodename, ip, in ip_auto_config_setup() 1726 sizeof(utsname()->nodename)); in ip_auto_config_setup()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | sys_sparc_32.c | 208 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2() 212 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
|
D | sys_sparc_64.c | 534 nlen = strlen(utsname()->domainname) + 1; in SYSCALL_DEFINE2() 538 memcpy(tmp, utsname()->domainname, nlen); in SYSCALL_DEFINE2()
|
/Linux-v5.4/arch/um/drivers/ |
D | mconsole_kern.c | 106 sprintf(version, "%s %s %s %s %s", utsname()->sysname, in mconsole_version() 107 utsname()->nodename, utsname()->release, utsname()->version, in mconsole_version() 108 utsname()->machine); in mconsole_version()
|
/Linux-v5.4/include/linux/ |
D | utsname.h | 80 static inline struct new_utsname *utsname(void) in utsname() function
|
/Linux-v5.4/kernel/ |
D | sys.c | 1244 memcpy(&tmp, utsname(), sizeof(tmp)); in SYSCALL_DEFINE1() 1268 memcpy(&tmp, utsname(), sizeof(tmp)); in SYSCALL_DEFINE1() 1288 memcpy(&tmp.sysname, &utsname()->sysname, __OLD_UTS_LEN); in SYSCALL_DEFINE1() 1289 memcpy(&tmp.nodename, &utsname()->nodename, __OLD_UTS_LEN); in SYSCALL_DEFINE1() 1290 memcpy(&tmp.release, &utsname()->release, __OLD_UTS_LEN); in SYSCALL_DEFINE1() 1291 memcpy(&tmp.version, &utsname()->version, __OLD_UTS_LEN); in SYSCALL_DEFINE1() 1292 memcpy(&tmp.machine, &utsname()->machine, __OLD_UTS_LEN); in SYSCALL_DEFINE1() 1320 u = utsname(); in SYSCALL_DEFINE2() 1341 u = utsname(); in SYSCALL_DEFINE2() 1373 u = utsname(); in SYSCALL_DEFINE2()
|
D | Makefile | 72 obj-$(CONFIG_UTS_NS) += utsname.o
|
/Linux-v5.4/fs/nfs/ |
D | nfsroot.c | 264 tmp, utsname()->nodename); in root_nfs_data()
|
/Linux-v5.4/drivers/target/tcm_fc/ |
D | tfc_conf.c | 372 ""UTS_RELEASE"\n", utsname()->sysname, utsname()->machine); in ft_wwn_version_show()
|
/Linux-v5.4/tools/power/cpupower/bench/ |
D | parse.c | 56 struct utsname sysdata; in prepare_output()
|
/Linux-v5.4/tools/power/cpupower/utils/ |
D | cpupower.c | 177 struct utsname uts; in main()
|
/Linux-v5.4/tools/testing/selftests/powerpc/ |
D | utils.c | 117 struct utsname uts; in is_ppc64le()
|
/Linux-v5.4/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 1792 QLA2XXX_VERSION, utsname()->sysname, in tcm_qla2xxx_wwn_version_show() 1793 utsname()->machine, utsname()->release); in tcm_qla2xxx_wwn_version_show() 1894 QLA2XXX_VERSION, utsname()->sysname, in tcm_qla2xxx_register_configfs() 1895 utsname()->machine, utsname()->release); in tcm_qla2xxx_register_configfs()
|
/Linux-v5.4/arch/sh/include/asm/ |
D | elf.h | 134 #define ELF_PLATFORM (utsname()->machine)
|
/Linux-v5.4/tools/lib/bpf/ |
D | libbpf_probes.c | 54 struct utsname utsn; in get_kernel_version()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | elf.h | 153 #define ELF_PLATFORM (utsname()->machine)
|
/Linux-v5.4/drivers/xen/ |
D | xen-scsiback.c | 1700 VSCSI_VERSION, utsname()->sysname, utsname()->machine); in scsiback_wwn_version_show() 1857 VSCSI_VERSION, utsname()->sysname, utsname()->machine); in scsiback_init()
|
/Linux-v5.4/drivers/target/ |
D | target_core_configfs.c | 89 utsname()->sysname, utsname()->machine); in target_core_item_version_show() 3465 TARGET_CORE_VERSION, utsname()->sysname, utsname()->machine); in target_core_init_configfs() 3521 " on "UTS_RELEASE"\n", utsname()->sysname, utsname()->machine); in target_core_init_configfs()
|