Searched refs:badstate (Results 1 – 1 of 1) sorted by relevance
1214 int badstate; in sfmmu_kpm_fault() local1278 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()1287 if (badstate == 0) in sfmmu_kpm_fault()1291 if (badstate || kp->kp_refcntc < 0) in sfmmu_kpm_fault()1839 int badstate = 0; in sfmmu_kpm_vac_unload() local1875 badstate++; in sfmmu_kpm_vac_unload()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()1890 badstate |= (kp->kp_refcntc < 0); in sfmmu_kpm_vac_unload()[all …]