/linux-2.4.37.9/arch/mips/kernel/ |
D | sysmips.c | 56 char nodename[__NEW_UTS_LEN + 1]; in _sys_sysmips() local 63 len = strncpy_from_user(nodename, name, sizeof(nodename)); in _sys_sysmips() 68 strncpy(system_utsname.nodename, nodename, len); in _sys_sysmips() 69 system_utsname.nodename[len] = '\0'; in _sys_sysmips()
|
D | syscall.c | 229 error -= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); in sys_olduname() 230 error -= __put_user(0,name->nodename+__OLD_UTS_LEN); in sys_olduname()
|
D | sysirix.c | 1153 char sysname[257], nodename[257], release[257]; member 1164 || copy_to_user(system_utsname.nodename, buf->nodename, 65) in irix_uname()
|
/linux-2.4.37.9/include/linux/ |
D | utsname.h | 8 char nodename[9]; member 18 char nodename[65]; member 26 char nodename[65]; member
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | syscall.c | 214 char nodename[__NEW_UTS_LEN + 1]; in sys_sysmips() local 221 len = strncpy_from_user(nodename, name, sizeof(nodename)); in sys_sysmips() 226 strncpy(system_utsname.nodename, nodename, len); in sys_sysmips() 227 system_utsname.nodename[len] = '\0'; in sys_sysmips()
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | sys_s390.c | 228 error |= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); in sys_olduname() 229 error |= __put_user(0,name->nodename+__OLD_UTS_LEN); in sys_olduname()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | sys_i386.c | 237 error |= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); in sys_olduname() 238 error |= __put_user(0,name->nodename+__OLD_UTS_LEN); in sys_olduname()
|
/linux-2.4.37.9/arch/parisc/hpux/ |
D | sys_hpux.c | 81 char nodename[HPUX_UTSLEN]; member 229 error |= __copy_to_user(&name->nodename,&system_utsname.nodename,HPUX_UTSLEN-1); in hpux_uname() 230 error |= __put_user(0,name->nodename+HPUX_UTSLEN-1); in hpux_uname()
|
/linux-2.4.37.9/arch/sparc64/solaris/ |
D | misc.c | 154 char nodename[9]; member 162 char nodename[257]; member 224 set_utsfield(((struct sol_uname *)A(buf))->nodename, in solaris_utssys() 225 system_utsname.nodename, 1, 1); in solaris_utssys() 249 set_utsfield(((struct sol_utsname *)A(buf))->nodename, in solaris_utsname() 250 system_utsname.nodename, 1, 1); in solaris_utsname() 284 for (p = system_utsname.nodename, q = buffer; in solaris_sysinfo()
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | syscalls.c | 290 error -= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); in sys_olduname() 291 error -= __put_user(0,name->nodename+__OLD_UTS_LEN); in sys_olduname()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | syscalls.c | 260 error -= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); in sys_olduname() 261 error -= __put_user(0,name->nodename+__OLD_UTS_LEN); in sys_olduname()
|
/linux-2.4.37.9/arch/sparc/prom/ |
D | tree.c | 188 int prom_searchsiblings(int node_start, char *nodename) in prom_searchsiblings() argument 199 if(strcmp(nodename, promlib_buf)==0) return thisnode; in prom_searchsiblings()
|
/linux-2.4.37.9/arch/sparc64/prom/ |
D | tree.c | 175 prom_searchsiblings(int node_start, char *nodename) in prom_searchsiblings() argument 187 if(strcmp(nodename, promlib_buf)==0) return thisnode; in prom_searchsiblings()
|
/linux-2.4.37.9/net/ipv4/ |
D | ipconfig.c | 357 sprintf(system_utsname.nodename, "%u.%u.%u.%u", NIPQUAD(ic_myaddr)); in ic_defaults() 774 ic_bootp_string(system_utsname.nodename, ext+1, *ext, __NEW_UTS_LEN); in ic_do_bootp_ext() 1304 system_utsname.nodename, ic_domain, system_utsname.domainname); in ip_auto_config() 1417 strncpy(system_utsname.nodename, ip, __NEW_UTS_LEN); in ip_auto_config_setup() 1418 system_utsname.nodename[__NEW_UTS_LEN] = '\0'; in ip_auto_config_setup()
|
/linux-2.4.37.9/fs/lockd/ |
D | clntproc.c | 56 lock->caller = system_utsname.nodename; in nlmclnt_setlockargs() 59 current->pid, system_utsname.nodename); in nlmclnt_setlockargs() 72 call->a_args.lock.caller = system_utsname.nodename; in nlmclnt_setgrantargs()
|
D | mon.c | 162 || !(p = xdr_encode_string(p, system_utsname.nodename))) in xdr_encode_mon()
|
D | xdr.c | 538 #define NLM_caller_sz 1+QUADLEN(sizeof(system_utsname.nodename))
|
/linux-2.4.37.9/kernel/ |
D | sys.c | 1048 memcpy(system_utsname.nodename, tmp, len); in sys_sethostname() 1049 system_utsname.nodename[len] = 0; in sys_sethostname() 1063 i = 1 + strlen(system_utsname.nodename); in sys_gethostname() 1067 if (copy_to_user(name, system_utsname.nodename, i)) in sys_gethostname()
|
/linux-2.4.37.9/include/linux/lockd/ |
D | lockd.h | 64 #define NLMCLNT_OHSIZE (sizeof(system_utsname.nodename)+10)
|
/linux-2.4.37.9/fs/nfs/ |
D | nfsroot.c | 233 cp = system_utsname.nodename; in root_nfs_name()
|
/linux-2.4.37.9/net/sunrpc/ |
D | clnt.c | 113 clnt->cl_nodelen = strlen(system_utsname.nodename); in rpc_create_client() 116 memcpy(clnt->cl_nodename, system_utsname.nodename, clnt->cl_nodelen); in rpc_create_client()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | osf_sys.c | 448 if (copy_to_user(name + 32, system_utsname.nodename, 32)) in osf_utsname() 723 system_utsname.nodename, in osf_sysinfo()
|
/linux-2.4.37.9/fs/ |
D | exec.c | 1101 "%s", system_utsname.nodename); in format_corename()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | sys_sunos.c | 484 ret |= __copy_to_user(&name->nname[0], &system_utsname.nodename[0], sizeof(name->nname) - 1); in sunos_uname()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | sys_ia32.c | 2149 __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN); in sys32_olduname() 2150 __put_user(0,name->nodename+__OLD_UTS_LEN); in sys32_olduname()
|