Searched refs:pd_refcount (Results 1 – 4 of 4) sorted by relevance
67 u_int pd_refcount; /* (r) Reference count. */ member
99 volatile u_int pd_refcount; member
230 refcount_init(&pd->pd_refcount, 2); in procdesc_new()269 if (refcount_release(&pd->pd_refcount)) { in procdesc_free()
2182 refcount_init(&newpdp->pd_refcount, 1); in pdinit()2219 refcount_acquire(&pdp->pd_refcount); in pdhold()2241 if (refcount_release_if_not_last(&pdp->pd_refcount)) in pddrop()2245 if (refcount_release(&pdp->pd_refcount) == 0) { in pddrop()2277 refcount_acquire(&pdp->pd_refcount); in pdshare()2309 if (p->p_pd->pd_refcount == 1) in pdunshare()