Lines Matching defs:nidp
3094 nfssvc_idname(struct nfsd_idargs *nidp)
3102 if (nidp->nid_flag & NFSID_INITIALIZE) {
3103 cp = (u_char *)malloc(nidp->nid_namelen + 1,
3105 error = copyin(CAST_USER_ADDR_T(nidp->nid_name), cp,
3106 nidp->nid_namelen);
3133 nfsrv_dnsnamelen = nidp->nid_namelen;
3134 nfsrv_defaultuid = nidp->nid_uid;
3135 nfsrv_defaultgid = nidp->nid_gid;
3137 nfsrv_usermax = nidp->nid_usermax;
3150 nidp->nid_namelen, M_NFSUSERGROUP, M_WAITOK);
3151 error = copyin(CAST_USER_ADDR_T(nidp->nid_name), newusrp->lug_name,
3152 nidp->nid_namelen);
3157 newusrp->lug_namelen = nidp->nid_namelen;
3163 if (nidp->nid_flag & (NFSID_DELUID | NFSID_ADDUID)) {
3164 hp = NFSUSERHASH(nidp->nid_uid);
3166 if (usrp->lug_uid == nidp->nid_uid)
3170 if (nidp->nid_flag & (NFSID_DELUSERNAME | NFSID_ADDUSERNAME)) {
3179 if (nidp->nid_flag & (NFSID_DELGID | NFSID_ADDGID)) {
3180 hp = NFSGROUPHASH(nidp->nid_gid);
3182 if (usrp->lug_gid == nidp->nid_gid)
3186 if (nidp->nid_flag & (NFSID_DELGROUPNAME | NFSID_ADDGROUPNAME)) {
3207 if (nidp->nid_usertimeout)
3208 newusrp->lug_expiry = NFSD_MONOSEC + nidp->nid_usertimeout;
3211 if (nidp->nid_flag & (NFSID_ADDUID | NFSID_ADDUSERNAME)) {
3212 newusrp->lug_uid = nidp->nid_uid;
3219 } else if (nidp->nid_flag & (NFSID_ADDGID | NFSID_ADDGROUPNAME)) {
3220 newusrp->lug_gid = nidp->nid_gid;