Searched refs:rs_refcnt (Results 1 – 6 of 6) sorted by relevance
38 size_t size = sizeof (rsp->rs_size) + sizeof (rsp->rs_refcnt) + in refstr_alloc()44 rsp->rs_refcnt = 1; in refstr_alloc()58 atomic_inc_32(&rsp->rs_refcnt); in refstr_hold()64 if (atomic_dec_32_nv(&rsp->rs_refcnt) == 0) in refstr_rele()
61 sp->rs_refcnt++; in snapshot_alloc()70 assert(sp->rs_refcnt == 0 && sp->rs_childref == 0); in snapshot_free()95 sp->rs_refcnt++; in rc_snapshot_hold()96 assert(sp->rs_refcnt > 0); in rc_snapshot_hold()105 assert(sp->rs_refcnt > 0); in rc_snapshot_rele()106 sp->rs_refcnt--; in rc_snapshot_rele()108 sp->rs_refcnt == 0 && sp->rs_childref == 0); in rc_snapshot_rele()134 sp->rs_refcnt == 0 && sp->rs_childref == 0); in rc_snaplevel_rele()
415 uint32_t rs_refcnt; /* references from rc_nodes */ member
47 uint32_t rs_refcnt; /* reference count */ member
112 uint32_t rs_refcnt; member119 daplka_resource::rs_refcnt))
408 #define DAPLKA_RS_REFCNT(rp) ((rp)->header.rs_refcnt)412 (rp)->header.rs_refcnt++; \413 ASSERT((rp)->header.rs_refcnt != 0); \419 ASSERT((rp)->header.rs_refcnt != 0); \420 if (--(rp)->header.rs_refcnt == 0) { \430 (rp)->header.rs_refcnt = 1; \9835 rp->rs_refcnt++; in daplka_hash_generic_lookup()9836 ASSERT(rp->rs_refcnt != 0); in daplka_hash_generic_lookup()