Searched refs:smod_refcnt (Results 1 – 3 of 3) sorted by relevance
149 if (smodp->smod_refcnt != 0) { in smod_unregister()192 ASSERT(smodp->smod_refcnt == 0); in smod_destroy()
438 uint_t smod_refcnt; /* # of entries */ member534 atomic_inc_uint(&(smodp)->smod_refcnt); \545 ASSERT((smodp)->smod_refcnt != 0); \546 atomic_dec_uint(&(smodp)->smod_refcnt); \553 if ((smodp)->smod_refcnt == 0) \
6709 smodp->smod_refcnt = 1; in sotpi_smod_create()