Lines Matching defs:xcr
2136 cru2x(struct ucred *cr, struct xucred *xcr)
2140 bzero(xcr, sizeof(*xcr));
2141 xcr->cr_version = XUCRED_VERSION;
2142 xcr->cr_uid = cr->cr_uid;
2145 xcr->cr_ngroups = ngroups;
2146 bcopy(cr->cr_groups, xcr->cr_groups,
2151 cru2xt(struct thread *td, struct xucred *xcr)
2154 cru2x(td->td_ucred, xcr);
2155 xcr->cr_pid = td->td_proc->p_pid;