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)) {\734 uint_t scd_refcnt; /* address spaces attached to scd */ member
2176 scdp->scd_refcnt >= 2); in hat_dup()15097 new_scdp->scd_refcnt = 1; in sfmmu_alloc_scd()15126 ASSERT(scdp->scd_refcnt > 0); in sfmmu_join_scd()15250 ASSERT(scdp->scd_refcnt >= 2); in sfmmu_find_scd()15251 atomic_dec_32((volatile uint32_t *)&scdp->scd_refcnt); in sfmmu_find_scd()15295 ASSERT(new_scdp->scd_refcnt >= 2); in sfmmu_find_scd()15296 atomic_dec_32((volatile uint32_t *)&new_scdp->scd_refcnt); in sfmmu_find_scd()15342 ASSERT(scdp->scd_refcnt); in sfmmu_leave_scd()15441 if (sp == NULL || sp->scd_refcnt) { in sfmmu_destroy_scd()