Home
last modified time | relevance | path

Searched refs:cr_refs (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc_subr.c336 cr->cr_refs = 0; in chipc_alloc_region()
371 KASSERT(cr->cr_refs == 0, in chipc_free_region()
374 cr->cr_region_num, cr->cr_refs)); in chipc_free_region()
459 if (cr->cr_refs == 0) { in chipc_retain_region()
480 cr->cr_refs++; in chipc_retain_region()
485 KASSERT(cr->cr_refs > 0, in chipc_retain_region()
531 KASSERT(cr->cr_act_refs <= cr->cr_refs, in chipc_release_region()
546 KASSERT(cr->cr_refs > 0, ("overrelease of refs")); in chipc_release_region()
548 if (cr->cr_refs == 1) { in chipc_release_region()
557 cr->cr_refs--; in chipc_release_region()
H A Dchipc_private.h104 u_int cr_refs; /**< RF_ALLOCATED refcount */ member