Searched refs:utsname (Results 1 - 124 of 124) sorted by relevance

/linux-4.1.27/fs/proc/
H A Dversion.c6 #include <linux/utsname.h>
11 utsname()->sysname, version_proc_show()
12 utsname()->release, version_proc_show()
13 utsname()->version); version_proc_show()
H A Dnamespaces.c6 #include <linux/utsname.h>
/linux-4.1.27/arch/um/kernel/
H A Dsyscall.c10 #include <linux/utsname.h>
H A Dum_arch.c12 #include <linux/utsname.h>
/linux-4.1.27/net/wireless/
H A Dethtool.c1 #include <linux/utsname.h>
/linux-4.1.27/init/
H A Dversion.c12 #include <linux/utsname.h>
/linux-4.1.27/kernel/
H A Dutsname.c14 #include <linux/utsname.h>
31 * Clone a new ns copying an original utsname, setting refcount to 1
61 * Copy task tsk's utsname namespace, or clone it if flags
63 * utsname of this process won't be seen by parent, and vice
H A Dutsname_sysctl.c14 #include <linux/utsname.h>
H A Dhung_task.c18 #include <linux/utsname.h>
H A Dsys.c9 #include <linux/utsname.h>
1146 if (copy_to_user(name, utsname(), sizeof *name)) SYSCALL_DEFINE1()
1169 if (copy_to_user(name, utsname(), sizeof(*name))) SYSCALL_DEFINE1()
1190 error = __copy_to_user(&name->sysname, &utsname()->sysname, SYSCALL_DEFINE1()
1193 error |= __copy_to_user(&name->nodename, &utsname()->nodename, SYSCALL_DEFINE1()
1196 error |= __copy_to_user(&name->release, &utsname()->release, SYSCALL_DEFINE1()
1199 error |= __copy_to_user(&name->version, &utsname()->version, SYSCALL_DEFINE1()
1202 error |= __copy_to_user(&name->machine, &utsname()->machine, SYSCALL_DEFINE1()
1228 struct new_utsname *u = utsname(); SYSCALL_DEFINE2()
1249 u = utsname(); SYSCALL_DEFINE2()
1279 struct new_utsname *u = utsname(); SYSCALL_DEFINE2()
H A DMakefile59 obj-$(CONFIG_UTS_NS) += utsname.o
H A Dnsproxy.c21 #include <linux/utsname.h>
H A Dkexec.c26 #include <linux/utsname.h>
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
H A Dlockdep.h8 #include <linux/utsname.h>
/linux-4.1.27/include/linux/
H A Dutsname.h10 #include <uapi/linux/utsname.h>
72 static inline struct new_utsname *utsname(void) utsname() function
H A Dinit_task.h6 #include <linux/utsname.h>
/linux-4.1.27/arch/um/os-Linux/
H A Dutil.c15 #include <sys/utsname.h>
49 struct utsname host; setup_machinename()
70 struct utsname host; setup_hostinfo()
/linux-4.1.27/arch/x86/um/
H A Dsysrq_64.c10 #include <linux/utsname.h>
/linux-4.1.27/arch/sparc/kernel/
H A Dsys_sparc_32.c20 #include <linux/utsname.h>
211 nlen = strlen(utsname()->domainname) + 1; sys_getdomainname()
217 if (!copy_to_user(name, utsname()->domainname, nlen)) sys_getdomainname()
H A Dsys_sparc_64.c19 #include <linux/utsname.h>
534 nlen = strlen(utsname()->domainname) + 1; SYSCALL_DEFINE2()
540 if (!copy_to_user(name, utsname()->domainname, nlen)) SYSCALL_DEFINE2()
/linux-4.1.27/arch/cris/kernel/
H A Dtraps.c17 #include <linux/utsname.h>
221 pr_err("Linux %s %s\n", utsname()->release, utsname()->version); die_if_kernel()
H A Dsetup.c19 #include <linux/utsname.h>
173 /* Setup utsname */ setup_arch()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dbugs.c11 #include <linux/utsname.h>
/linux-4.1.27/arch/m32r/kernel/
H A Dsys_m32r.c22 #include <linux/utsname.h>
/linux-4.1.27/arch/alpha/kernel/
H A Dosf_sys.c23 #include <linux/utsname.h>
532 if (copy_to_user(name + 0, utsname()->sysname, 32)) SYSCALL_DEFINE1()
534 if (copy_to_user(name + 32, utsname()->nodename, 32)) SYSCALL_DEFINE1()
536 if (copy_to_user(name + 64, utsname()->release, 32)) SYSCALL_DEFINE1()
538 if (copy_to_user(name + 96, utsname()->version, 32)) SYSCALL_DEFINE1()
540 if (copy_to_user(name + 128, utsname()->machine, 32)) SYSCALL_DEFINE1()
560 * For compatibility with OSF/1 only. Use utsname(2) instead.
576 __put_user(utsname()->domainname[i], name + i); SYSCALL_DEFINE2()
577 if (utsname()->domainname[i] == '\0') SYSCALL_DEFINE2()
732 utsname()->sysname, SYSCALL_DEFINE3()
733 utsname()->nodename, SYSCALL_DEFINE3()
734 utsname()->release, SYSCALL_DEFINE3()
735 utsname()->version, SYSCALL_DEFINE3()
736 utsname()->machine, SYSCALL_DEFINE3()
/linux-4.1.27/tools/perf/arch/
H A Dcommon.c2 #include <sys/utsname.h>
137 struct utsname uts; perf_session_env__lookup_binutils_path()
/linux-4.1.27/tools/power/cpupower/bench/
H A Dparse.c27 #include <sys/utsname.h>
69 struct utsname sysdata; prepare_output()
/linux-4.1.27/tools/power/cpupower/utils/
H A Dcpupower.c17 #include <sys/utsname.h>
176 struct utsname uts; main()
/linux-4.1.27/arch/sh/kernel/
H A Dsys_sh.c21 #include <linux/utsname.h>
H A Dsetup.c16 #include <linux/utsname.h>
/linux-4.1.27/include/uapi/linux/
H A Dsched.h26 #define CLONE_NEWUTS 0x04000000 /* New utsname namespace */
H A Dsysctl.h930 ABI_FAKE_UTSNAME=6, /* fake target utsname information */
/linux-4.1.27/arch/s390/kernel/
H A Dsys_s390.c26 #include <linux/utsname.h>
H A Ddumpstack.c10 #include <linux/utsname.h>
/linux-4.1.27/Documentation/mic/mpssd/
H A Dmpssd.h42 #include <sys/utsname.h>
/linux-4.1.27/arch/um/drivers/
H A Dmconsole_kern.c19 #include <linux/utsname.h>
106 sprintf(version, "%s %s %s %s %s", utsname()->sysname, mconsole_version()
107 utsname()->nodename, utsname()->release, utsname()->version, mconsole_version()
108 utsname()->machine); mconsole_version()
/linux-4.1.27/fs/nfs/
H A Dnfsroot.c78 #include <linux/utsname.h>
257 * At this point, utsname()->nodename contains our local root_nfs_data()
263 tmp, utsname()->nodename); root_nfs_data()
H A Dnfs4xdr.c48 #include <linux/utsname.h>
285 #define IMPL_NAME_LIMIT (sizeof(utsname()->sysname) + sizeof(utsname()->release) + \
286 sizeof(utsname()->version) + sizeof(utsname()->machine) + 8)
1772 utsname()->sysname, utsname()->release, encode_exchange_id()
1773 utsname()->version, utsname()->machine); encode_exchange_id()
H A Dnfs4proc.c56 #include <linux/utsname.h>
/linux-4.1.27/sound/core/
H A Dinfo_oss.c29 #include <linux/utsname.h>
H A Dinfo.c31 #include <linux/utsname.h>
/linux-4.1.27/net/ipv4/
H A Dipconfig.c38 #include <linux/utsname.h>
717 len = strlen(utsname()->nodename); ic_dhcp_init_options()
719 memcpy(e, utsname()->nodename, len); ic_dhcp_init_options()
921 ic_bootp_string(utsname()->nodename, ext+1, *ext, ic_do_bootp_ext()
938 ic_bootp_string(utsname()->domainname, ext+1, *ext, ic_do_bootp_ext()
1524 utsname()->nodename, ic_domain, utsname()->domainname); ip_auto_config()
1638 strlcpy(utsname()->domainname, dp, ip_auto_config_setup()
1639 sizeof(utsname()->domainname)); ip_auto_config_setup()
1641 strlcpy(utsname()->nodename, ip, ip_auto_config_setup()
1642 sizeof(utsname()->nodename)); ip_auto_config_setup()
/linux-4.1.27/arch/sh/include/asm/
H A Delf.h4 #include <linux/utsname.h>
133 #define ELF_PLATFORM (utsname()->machine)
/linux-4.1.27/drivers/target/tcm_fc/
H A Dtfc_conf.c27 #include <linux/utsname.h>
456 ""UTS_RELEASE"\n", utsname()->sysname, utsname()->machine); ft_wwn_show_attr_version()
H A Dtfc_io.c31 #include <linux/utsname.h>
H A Dtfc_sess.c22 #include <linux/utsname.h>
H A Dtfc_cmd.c22 #include <linux/utsname.h>
/linux-4.1.27/drivers/s390/char/
H A Dsclp_async.c21 #include <linux/utsname.h>
/linux-4.1.27/ipc/
H A Dmsgutil.c18 #include <linux/utsname.h>
/linux-4.1.27/arch/mips/kernel/
H A Dlinux32.c26 #include <linux/utsname.h>
H A Dsyscall.c19 #include <linux/utsname.h>
/linux-4.1.27/arch/mn10300/include/asm/
H A Delf.h15 #include <linux/utsname.h>
/linux-4.1.27/arch/powerpc/kernel/
H A Dsyscalls.c35 #include <linux/utsname.h>
H A Dsetup_64.c26 #include <linux/utsname.h>
H A Dprocess.c34 #include <linux/utsname.h>
/linux-4.1.27/kernel/sched/
H A Dauto_group.c8 #include <linux/utsname.h>
H A Ddebug.c17 #include <linux/utsname.h>
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
H A Dlinux-sysctl.c47 #include <linux/utsname.h>
/linux-4.1.27/arch/x86/kernel/
H A Ddumpstack.c8 #include <linux/utsname.h>
H A Dsys_x86_64.c13 #include <linux/utsname.h>
H A Dprocess.c16 #include <linux/utsname.h>
/linux-4.1.27/arch/unicore32/kernel/
H A Dprocess.c29 #include <linux/utsname.h>
H A Dsetup.c17 #include <linux/utsname.h>
/linux-4.1.27/arch/x86/boot/compressed/
H A Daslr.c10 #include <linux/utsname.h>
/linux-4.1.27/arch/x86/ia32/
H A Dsys_ia32.c30 #include <linux/utsname.h>
/linux-4.1.27/kernel/power/
H A Dpower.h3 #include <linux/utsname.h>
/linux-4.1.27/drivers/target/
H A Dtarget_core_configfs.c26 #include <linux/utsname.h>
96 utsname()->sysname, utsname()->machine); target_core_attr_show()
2881 TARGET_CORE_VERSION, utsname()->sysname, utsname()->machine); target_core_init_configfs()
2972 " on "UTS_RELEASE"\n", utsname()->sysname, utsname()->machine); target_core_init_configfs()
H A Dtarget_core_fabric_configfs.c24 #include <linux/utsname.h>
H A Dtarget_core_stat.c32 #include <linux/utsname.h>
/linux-4.1.27/drivers/xen/
H A Dxen-scsiback.c39 #include <linux/utsname.h>
1837 VSCSI_VERSION, utsname()->sysname, utsname()->machine); scsiback_wwn_show_attr_version()
2031 VSCSI_VERSION, utsname()->sysname, utsname()->machine); scsiback_init()
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dsn_hwperf.c32 #include <linux/utsname.h>
424 partid, utsname()->nodename, sn_topology_show()
/linux-4.1.27/fs/
H A Dcoredump.c18 #include <linux/utsname.h>
242 utsname()->nodename); format_corename()
H A Dexec.c42 #include <linux/utsname.h>
H A Dbinfmt_elf.c35 #include <linux/utsname.h>
/linux-4.1.27/arch/x86/include/asm/
H A Delf.h152 #define ELF_PLATFORM (utsname()->machine)
/linux-4.1.27/include/net/9p/
H A Dclient.h29 #include <linux/utsname.h>
/linux-4.1.27/arch/parisc/kernel/
H A Dsys_parisc.c35 #include <linux/utsname.h>
/linux-4.1.27/arch/arm64/kernel/
H A Dprocess.c41 #include <linux/utsname.h>
H A Dsetup.c26 #include <linux/utsname.h>
/linux-4.1.27/arch/arm/kernel/
H A Dprocess.c26 #include <linux/utsname.h>
H A Dsetup.c15 #include <linux/utsname.h>
/linux-4.1.27/fs/ext4/
H A Dmmp.c4 #include <linux/utsname.h>
/linux-4.1.27/include/linux/lockd/
H A Dlockd.h19 #include <linux/utsname.h>
/linux-4.1.27/Documentation/target/
H A Dtcm_mod_builder.py223 buf += "#include <linux/utsname.h>\n"
363 buf += " \"on \"UTS_RELEASE\"\\n\", " + fabric_mod_name.upper() + "_VERSION, utsname()->sysname,\n"
364 buf += " utsname()->machine);\n"
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c29 #include <linux/utsname.h>
1967 UTS_RELEASE"\n", TCM_QLA2XXX_VERSION, utsname()->sysname, tcm_qla2xxx_wwn_show_attr_version()
1968 utsname()->machine); tcm_qla2xxx_wwn_show_attr_version()
2096 UTS_RELEASE"\n", TCM_QLA2XXX_VERSION, utsname()->sysname, tcm_qla2xxx_register_configfs()
2097 utsname()->machine); tcm_qla2xxx_register_configfs()
H A Dqla_gs.c9 #include <linux/utsname.h>
1626 p_sysid = utsname(); qla2x00_fdmi_rpa()
1853 p_sysid = utsname(); qla2x00_fdmiv2_rhba()
2193 p_sysid = utsname(); qla2x00_fdmiv2_rpa()
H A Dqla_mr.c13 #include <linux/utsname.h>
1848 p_sysid = utsname(); qlafx00_fx_disc()
/linux-4.1.27/drivers/vhost/
H A Dscsi.c27 #include <linux/utsname.h>
2313 "on "UTS_RELEASE"\n", VHOST_SCSI_VERSION, utsname()->sysname, vhost_scsi_wwn_show_attr_version()
2314 utsname()->machine); vhost_scsi_wwn_show_attr_version()
2382 " on "UTS_RELEASE"\n", VHOST_SCSI_VERSION, utsname()->sysname, vhost_scsi_init()
2383 utsname()->machine); vhost_scsi_init()
/linux-4.1.27/tools/perf/
H A Dbuiltin-probe.c23 #include <sys/utsname.h>
H A Dbuiltin-top.c66 #include <sys/utsname.h>
147 struct utsname uts; ui__warn_map_erange()
/linux-4.1.27/tools/perf/util/
H A Dheader.c10 #include <sys/utsname.h>
200 struct utsname uts; write_hostname()
213 struct utsname uts; write_osrelease()
226 struct utsname uts; write_arch()
H A Dsymbol.c24 #include <sys/utsname.h>
1811 struct utsname uts; vmlinux_path__init()
H A Dprobe-finder.c22 #include <sys/utsname.h>
H A Dprobe-event.c22 #include <sys/utsname.h>
/linux-4.1.27/drivers/usb/storage/
H A Dusb.c59 #include <linux/utsname.h>
644 utsname()->release); get_device_info()
/linux-4.1.27/net/sunrpc/
H A Drpc_pipe.c20 #include <linux/utsname.h>
1287 seq_printf(m, "RPC server: %s\n", utsname()->nodename); rpc_show_dummy_info()
H A Dclnt.c29 #include <linux/utsname.h>
421 nodename = utsname()->nodename; rpc_new_client()
/linux-4.1.27/scripts/kconfig/
H A Dsymbol.c10 #include <sys/utsname.h>
48 struct utsname uts; sym_init()
/linux-4.1.27/drivers/char/
H A Drandom.c238 #include <linux/utsname.h>
1303 mix_pool_bytes(r, utsname(), sizeof(*(utsname()))); init_std_data()
/linux-4.1.27/drivers/parisc/
H A Dled.c31 #include <linux/utsname.h>
/linux-4.1.27/fs/lockd/
H A Dclntproc.c15 #include <linux/utsname.h>
H A Dsvclock.c342 call->a_args.lock.caller = utsname()->nodename; nlmsvc_setgrantargs()
/linux-4.1.27/include/scsi/
H A Dfc_encode.h23 #include <linux/utsname.h>
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dsetup.c35 #include <linux/utsname.h>
/linux-4.1.27/arch/ia64/kernel/
H A Dprocess.c30 #include <linux/utsname.h>
/linux-4.1.27/fs/9p/
H A Dvfs_file.c36 #include <linux/utsname.h>
/linux-4.1.27/tools/hv/
H A Dhv_kvp_daemon.c28 #include <sys/utsname.h>
93 static struct utsname uts_buf;
/linux-4.1.27/fs/nfsd/
H A Dnfs4xdr.c39 #include <linux/utsname.h>
3850 major_id = utsname()->nodename; nfsd4_encode_exchange_id()
3852 server_scope = utsname()->nodename; nfsd4_encode_exchange_id()
/linux-4.1.27/fs/ceph/
H A Dmds_client.c10 #include <linux/utsname.h>
848 {"hostname", utsname()->nodename}, create_session_open_msg()
849 {"kernel_version", utsname()->release}, create_session_open_msg()
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_fc.c14 #include <linux/utsname.h>
/linux-4.1.27/kernel/printk/
H A Dprintk.c46 #include <linux/utsname.h>
3045 * The configured string will be printed right after utsname during task
/linux-4.1.27/fs/cifs/
H A Dsess.c31 #include <linux/utsname.h>
H A Dconnect.c29 #include <linux/utsname.h>
1204 char *nodename = utsname()->nodename; cifs_parse_mount_options()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Ddebug.c21 #include <linux/utsname.h>
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_ct.c29 #include <linux/utsname.h>
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_lnode.c38 #include <linux/utsname.h>
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
H A Dmdc_request.c43 # include <linux/utsname.h>
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_verbs.c39 #include <linux/utsname.h>
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_verbs.c39 #include <linux/utsname.h>
/linux-4.1.27/drivers/usb/gadget/
H A Dcomposite.c19 #include <linux/utsname.h>
/linux-4.1.27/net/9p/
H A Dclient.c1004 client_id = utsname()->nodename; p9_client_create()
/linux-4.1.27/drivers/usb/core/
H A Dhcd.c31 #include <linux/utsname.h>
/linux-4.1.27/kernel/debug/kdb/
H A Dkdb_main.c23 #include <linux/utsname.h>
/linux-4.1.27/kernel/locking/
H A Dlockdep.c41 #include <linux/utsname.h>

Completed in 4774 milliseconds