Lines Matching defs:badstate
1214 int badstate;
1278 badstate = (kp->kp_refcnt < 0 || kp->kp_refcnts < 0);
1284 badstate |= (kp->kp_refcnt == 0 || kp->kp_refcnts > 0 ||
1287 if (badstate == 0)
1291 if (badstate || kp->kp_refcntc < 0)
1839 int badstate = 0;
1875 badstate++;
1881 badstate = (kp->kp_refcnt < 0 || kp->kp_refcnts < 0);
1887 badstate |= (kp->kp_refcnt == 0 || kp->kp_refcnts > 0 ||
1890 badstate |= (kp->kp_refcntc < 0);
1893 if (badstate)
1984 badstate++;
1987 if (badstate) {
2182 int badstate = 0;
2232 badstate = (kp->kp_refcnt < 0 || kp->kp_refcnts < 0);
2238 badstate |= (kp->kp_refcnt == 0 || kp->kp_refcnts > 0 ||
2241 badstate |= (kp->kp_refcntc < 0);
2244 if (badstate)
2277 badstate++;
2335 badstate++;
2338 if (badstate) {