Home
last modified time | relevance | path

Searched refs:rs_refcnt (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Drefstr.c38 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()
/titanic_44/usr/src/cmd/svc/configd/
H A Dsnapshot.c61 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()
H A Dconfigd.h415 uint32_t rs_refcnt; /* references from rc_nodes */ member
/titanic_44/usr/src/uts/common/sys/
H A Drefstr_impl.h47 uint32_t rs_refcnt; /* reference count */ member
/titanic_44/usr/src/uts/common/sys/ib/clients/daplt/
H A Ddaplt.h112 uint32_t rs_refcnt; member
119 daplka_resource::rs_refcnt))
/titanic_44/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c408 #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()