Lines Matching defs:crb
2428 credbatch_add(struct credbatch *crb, struct thread *td)
2438 if (crb->cred != cr) {
2439 if (crb->users > 0) {
2440 MPASS(crb->cred != NULL);
2441 crunusebatch(crb->cred, crb->users, crb->ref);
2442 crb->users = 0;
2443 crb->ref = 0;
2446 crb->cred = cr;
2447 crb->users++;
2448 crb->ref += td->td_ucredref;
2454 credbatch_final(struct credbatch *crb)
2457 MPASS(crb->cred != NULL);
2458 MPASS(crb->users > 0);
2459 crunusebatch(crb->cred, crb->users, crb->ref);