Lines Matching refs:cr_groups
125 gid_t *cr_groups; member
1574 anon.cr_groups = NULL; in get_exportlist_one()
1589 anon.cr_groups = anon.cr_smallgrps; in get_exportlist_one()
1592 anon.cr_groups[0] = GID_NOGROUP; in get_exportlist_one()
1921 if (anon.cr_groups != anon.cr_smallgrps) { in get_exportlist_one()
1922 free(anon.cr_groups); in get_exportlist_one()
1923 anon.cr_groups = NULL; in get_exportlist_one()
2393 COMPARE_ARRAYS(cr0->cr_groups, cr1->cr_groups, cr0->cr_ngroups); in compare_cred()
3060 if (ep->ex_defanon.cr_groups != ep->ex_defanon.cr_smallgrps) in free_exp()
3061 free(ep->ex_defanon.cr_groups); in free_exp()
3192 memcpy(eap->ex_groups, anoncrp->cr_groups, eap->ex_ngroups * in do_mount()
3627 cr->cr_groups = cr->cr_smallgrps; in parsecred()
3629 cr->cr_groups[0] = GID_NOGROUP; in parsecred()
3669 cr->cr_groups = malloc(ngroups * sizeof(gid_t)); in parsecred()
3671 cr->cr_groups[0] = groups[0]; in parsecred()
3672 memcpy(&cr->cr_groups[1], &groups[inpos], (ngroups - 1) * in parsecred()
3705 cr->cr_groups = malloc(cr->cr_ngroups * sizeof(gid_t)); in parsecred()
3706 memcpy(cr->cr_groups, groups, cr->cr_ngroups * sizeof(gid_t)); in parsecred()
3815 if (grp->gr_anon.cr_groups != grp->gr_anon.cr_smallgrps) in free_grp()
3816 free(grp->gr_anon.cr_groups); in free_grp()
4083 outcr->cr_groups = malloc(outcr->cr_ngroups * sizeof(gid_t)); in cp_cred()
4085 outcr->cr_groups = outcr->cr_smallgrps; in cp_cred()
4086 memcpy(outcr->cr_groups, incr->cr_groups, incr->cr_ngroups * in cp_cred()