Searched refs:pr_ref (Results 1 – 2 of 2) sorted by relevance
112 .pr_ref = 1,184 #define PD_DEREF 0x01 /* Decrement pr_ref */1795 refcount_init(&pr->pr_ref, 1); in kern_jail_set() 3418 * Hold a prison reference, by incrementing pr_ref. It is generally3436 int was_valid = refcount_acquire_if_not_zero(&pr->pr_ref); in prison_hold() 3441 refcount_acquire(&pr->pr_ref); in prison_hold() 3466 KASSERT(refcount_load(&pr->pr_ref) > 0, in prison_free() 3469 if (!refcount_release_if_not_last(&pr->pr_ref)) { in prison_free() 3484 KASSERT(refcount_load(&pr->pr_ref) > 0, in prison_free_not_last() 3487 lastref = refcount_release(&pr->pr_ref); in prison_free_not_last() [all...]
278 volatile u_int pr_ref; /* (r) refcount */ member