Searched refs:nfscr (Results 1 – 2 of 2) sorted by relevance
242 newnfs_copycred(struct nfscred *nfscr, struct ucred *cr) in newnfs_copycred() argument245 KASSERT(nfscr->nfsc_ngroups >= 0, in newnfs_copycred()247 cr->cr_uid = nfscr->nfsc_uid; in newnfs_copycred()248 crsetgroups(cr, nfscr->nfsc_ngroups, nfscr->nfsc_groups); in newnfs_copycred()
1120 newnfs_copyincred(struct ucred *cr, struct nfscred *nfscr) in newnfs_copyincred() argument1126 nfscr->nfsc_uid = cr->cr_uid; in newnfs_copyincred()1127 nfscr->nfsc_ngroups = MIN(cr->cr_ngroups, NFS_MAXGRPS + 1); in newnfs_copyincred()1128 for (i = 0; i < nfscr->nfsc_ngroups; i++) in newnfs_copyincred()1129 nfscr->nfsc_groups[i] = cr->cr_groups[i]; in newnfs_copyincred()