Home
last modified time | relevance | path

Searched refs:ncp (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/nfsd/
Dexport.c731 exp_addclient(struct nfsctl_client *ncp) in exp_addclient() argument
739 if (!(ilen = exp_verify_string(ncp->cl_ident, NFSCLNT_IDMAX))) in exp_addclient()
741 if (ncp->cl_naddr > NFSCLNT_ADDRMAX) in exp_addclient()
750 if (!strcmp(clp->cl_ident, ncp->cl_ident)) in exp_addclient()
766 dprintk("created client %s (%p)\n", ncp->cl_ident, clp); in exp_addclient()
768 strcpy(clp->cl_ident, ncp->cl_ident); in exp_addclient()
773 for (i = 0; i < ncp->cl_naddr; i++) { in exp_addclient()
785 for (i = 0; i < ncp->cl_naddr; i++) { in exp_addclient()
786 clp->cl_addr[i] = ncp->cl_addrlist[i]; in exp_addclient()
788 clp->cl_naddr = ncp->cl_naddr; in exp_addclient()
[all …]
/linux-2.4.37.9/include/linux/nfsd/
Dsyscall.h140 extern int exp_addclient(struct nfsctl_client *ncp);
141 extern int exp_delclient(struct nfsctl_client *ncp);