Searched refs:pr_ref (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/kern/
H A Dkern_jail.c104 .pr_ref = 1,
163 #define PD_DEREF 0x01 /* Decrement pr_ref */
1612 refcount_init(&pr->pr_ref, 1);
2847 * Hold a prison reference, by incrementing pr_ref. It is generally
2865 int was_valid = refcount_acquire_if_not_zero(&pr->pr_ref);
2870 refcount_acquire(&pr->pr_ref);
2895 KASSERT(refcount_load(&pr->pr_ref) > 0,
2898 if (!refcount_release_if_not_last(&pr->pr_ref)) {
2913 KASSERT(refcount_load(&pr->pr_ref) > 0,
2916 lastref = refcount_release(&pr->pr_ref);
[all...]
/freebsd-current/sys/sys/
H A Djail.h155 * ucreds's of the inmates. pr_ref keeps track of them and is used to
174 volatile u_int pr_ref; /* (r) refcount */ member in struct:prison

Completed in 138 milliseconds