Lines Matching refs:ncp
731 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()
795 for (i = 0; i < ncp->cl_naddr; i++) { in exp_addclient()
822 exp_delclient(struct nfsctl_client *ncp) in exp_delclient() argument
828 if (!exp_verify_string(ncp->cl_ident, NFSCLNT_IDMAX)) in exp_delclient()
837 if (!strcmp(ncp->cl_ident, clp->cl_ident)) in exp_delclient()