Lines Matching refs:kp_refcnts

724 			if (kp->kp_refcnts == 0) {  in sfmmu_kpm_mapin()
747 if ((kp->kp_refcntc > 0 || kp->kp_refcnts > 0) && kpm_vac_range == 0) { in sfmmu_kpm_mapin()
767 kp->kp_refcnts++; in sfmmu_kpm_mapin()
768 ASSERT(kp->kp_refcnts > 0); in sfmmu_kpm_mapin()
946 if (kp->kp_refcntc <= 0 && kp->kp_refcnts == 0) { in sfmmu_kpm_mapout()
994 if (kp->kp_refcnts < 1) { in sfmmu_kpm_mapout()
1019 kp->kp_refcnts--; in sfmmu_kpm_mapout()
1278 badstate = (kp->kp_refcnt < 0 || kp->kp_refcnts < 0); in sfmmu_kpm_fault()
1284 badstate |= (kp->kp_refcnt == 0 || kp->kp_refcnts > 0 || in sfmmu_kpm_fault()
1300 ((kp->kp_refcnts > 0) ? KPM_KS : 0) | in sfmmu_kpm_fault()
1350 kp->kp_refcnts++; in sfmmu_kpm_fault()
1395 kp->kp_refcnts++; in sfmmu_kpm_fault()
1449 if (kp->kp_refcntc == 0 && kp->kp_refcnts == 0) in sfmmu_kpm_fault()
1454 kp->kp_refcnts++; in sfmmu_kpm_fault()
1881 badstate = (kp->kp_refcnt < 0 || kp->kp_refcnts < 0); in sfmmu_kpm_vac_unload()
1887 badstate |= (kp->kp_refcnt == 0 || kp->kp_refcnts > 0 || in sfmmu_kpm_vac_unload()
1907 ((kp->kp_refcnts > 0) ? KPM_KS : 0) | in sfmmu_kpm_vac_unload()
1940 kp->kp_refcnts--; in sfmmu_kpm_vac_unload()
2232 badstate = (kp->kp_refcnt < 0 || kp->kp_refcnts < 0); in sfmmu_kpm_page_cache()
2238 badstate |= (kp->kp_refcnt == 0 || kp->kp_refcnts > 0 || in sfmmu_kpm_page_cache()
2253 ((kp->kp_refcnts > 0) ? KPM_KS : 0) | in sfmmu_kpm_page_cache()
2261 if (kp->kp_refcnts < 1) { in sfmmu_kpm_page_cache()
2265 kp->kp_refcnts--; in sfmmu_kpm_page_cache()
2315 kp->kp_refcnts--; in sfmmu_kpm_page_cache()