Home
last modified time | relevance | path

Searched refs:pd_refcount (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/sys/
H A Dprocdesc.h65 u_int pd_refcount; /* (r) Reference count. */ member
H A Dfiledesc.h106 u_int pd_refcount; member
/freebsd/sys/kern/
H A Dsys_procdesc.c227 refcount_init(&pd->pd_refcount, 2); in procdesc_new()
266 if (refcount_release(&pd->pd_refcount)) { in procdesc_free()
H A Dkern_descrip.c2250 refcount_init(&newpdp->pd_refcount, 1); in pdinit()
2302 refcount_acquire(&pdp->pd_refcount); in pdhold()
2324 if (refcount_release_if_not_last(&pdp->pd_refcount)) in pddrop()
2328 if (refcount_release(&pdp->pd_refcount) == 0) { in pddrop()
2358 refcount_acquire(&pdp->pd_refcount); in pdshare()
2390 if (refcount_load(&p->p_pd->pd_refcount) == 1) in pdunshare()