Home
last modified time | relevance | path

Searched refs:cr_users (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/kern/
H A Dkern_prot.c1975 KASSERT(cr->cr_users > 0, ("%s: users %d not > 0 on cred %p", in crcowget()
1976 __func__, cr->cr_users, cr)); in crcowget()
1977 cr->cr_users++; in crcowget()
1993 KASSERT(cr->cr_users > 0, ("%s: users %d not > 0 on cred %p", in crunuse()
1994 __func__, cr->cr_users, cr)); in crunuse()
1995 cr->cr_users--; in crunuse()
1996 if (cr->cr_users == 0) { in crunuse()
2016 KASSERT(cr->cr_users >= users, ("%s: users %d not > %d on cred %p", in crunusebatch()
2017 __func__, cr->cr_users, users, cr)); in crunusebatch()
2018 cr->cr_users -= users; in crunusebatch()
[all …]
H A Dinit_main.c562 newcred->cr_users++; /* avoid assertion failure */ in proc0_init()
564 newcred->cr_users--; in proc0_init()
/freebsd/sys/sys/
H A Ducred.h69 u_int cr_users; /* (c) proc + thread using this cred */ member