Searched refs:nfscr (Results 1 – 2 of 2) sorted by relevance
255 newnfs_copycred(struct nfscred *nfscr, struct ucred *cr) in newnfs_copycred() argument258 KASSERT(nfscr->nfsc_ngroups >= 0, in newnfs_copycred()260 cr->cr_uid = nfscr->nfsc_uid; in newnfs_copycred()261 crsetgroups_fallback(cr, nfscr->nfsc_ngroups, nfscr->nfsc_groups, in newnfs_copycred()
1085 newnfs_copyincred(struct ucred *cr, struct nfscred *nfscr) in newnfs_copyincred() argument1091 nfscr->nfsc_uid = cr->cr_uid; in newnfs_copyincred()1092 nfscr->nfsc_ngroups = MIN(cr->cr_ngroups, NFS_MAXGRPS + 1); in newnfs_copyincred()1093 for (i = 0; i < nfscr->nfsc_ngroups; i++) in newnfs_copyincred()1094 nfscr->nfsc_groups[i] = cr->cr_groups[i]; in newnfs_copyincred()