Searched refs:scd_refcnt (Results 1 – 2 of 2) sorted by relevance
362 atomic_inc_32((volatile uint32_t *)&(scdp)->scd_refcnt); \367 if (!atomic_dec_32_nv((volatile uint32_t *)&(scdp)->scd_refcnt)) {\731 uint_t scd_refcnt; /* address spaces attached to scd */ member
2167 scdp->scd_refcnt >= 2); in hat_dup()14892 new_scdp->scd_refcnt = 1; in sfmmu_alloc_scd()14921 ASSERT(scdp->scd_refcnt > 0); in sfmmu_join_scd()15045 ASSERT(scdp->scd_refcnt >= 2); in sfmmu_find_scd()15046 atomic_dec_32((volatile uint32_t *)&scdp->scd_refcnt); in sfmmu_find_scd()15090 ASSERT(new_scdp->scd_refcnt >= 2); in sfmmu_find_scd()15091 atomic_dec_32((volatile uint32_t *)&new_scdp->scd_refcnt); in sfmmu_find_scd()15137 ASSERT(scdp->scd_refcnt); in sfmmu_leave_scd()15236 if (sp == NULL || sp->scd_refcnt) { in sfmmu_destroy_scd()