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()
431 uint_t smod_refcnt; /* # of entries */ member527 atomic_inc_uint(&(smodp)->smod_refcnt); \538 ASSERT((smodp)->smod_refcnt != 0); \539 atomic_dec_uint(&(smodp)->smod_refcnt); \546 if ((smodp)->smod_refcnt == 0) \
6795 smodp->smod_refcnt = 1; in sotpi_smod_create()