Home
last modified time | relevance | path

Searched refs:nodename (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.4.37.9/arch/mips/kernel/
Dsysmips.c56 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()
Dsyscall.c229 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()
Dsysirix.c1153 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/
Dutsname.h8 char nodename[9]; member
18 char nodename[65]; member
26 char nodename[65]; member
/linux-2.4.37.9/arch/mips64/kernel/
Dsyscall.c214 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/
Dsys_s390.c228 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/
Dsys_i386.c237 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/
Dsys_hpux.c81 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/
Dmisc.c154 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/
Dsyscalls.c290 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/
Dsyscalls.c260 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/
Dtree.c188 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/
Dtree.c175 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/
Dipconfig.c357 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/
Dclntproc.c56 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()
Dmon.c162 || !(p = xdr_encode_string(p, system_utsname.nodename))) in xdr_encode_mon()
Dxdr.c538 #define NLM_caller_sz 1+QUADLEN(sizeof(system_utsname.nodename))
/linux-2.4.37.9/kernel/
Dsys.c1048 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/
Dlockd.h64 #define NLMCLNT_OHSIZE (sizeof(system_utsname.nodename)+10)
/linux-2.4.37.9/fs/nfs/
Dnfsroot.c233 cp = system_utsname.nodename; in root_nfs_name()
/linux-2.4.37.9/net/sunrpc/
Dclnt.c113 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/
Dosf_sys.c448 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/
Dexec.c1101 "%s", system_utsname.nodename); in format_corename()
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sunos.c484 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/
Dsys_ia32.c2149 __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()

12