Searched refs:pd_refcount (Results 1 – 4 of 4) sorted by relevance
184 refcount_init(&pd->pd_refcount, 2); in procdesc_alloc()262 if (refcount_release(&pd->pd_refcount)) { in procdesc_free()677 refcount_acquire(&pd->pd_refcount); in pdopenpid1()738 MPASS(pdf->pd_refcount == 2); in kern_pdopenpid()
2389 refcount_init(&newpdp->pd_refcount, 1); in pdinit()2441 refcount_acquire(&pdp->pd_refcount); in pdhold()2463 if (refcount_release_if_not_last(&pdp->pd_refcount)) in pddrop()2467 if (refcount_release(&pdp->pd_refcount) == 0) { in pddrop()2497 refcount_acquire(&pdp->pd_refcount); in pdshare()2529 if (refcount_load(&p->p_pd->pd_refcount) == 1) in pdunshare()
68 u_int pd_refcount; /* (r) Reference count. */ member
106 u_int pd_refcount; member