Lines Matching defs:switchcnt
1028 int cpu, switchcnt, goup;
1035 switchcnt = TDQ_SWITCHCNT(tdq);
1106 switchcnt != TDQ_SWITCHCNT(tdq)) {
2997 int oldswitchcnt, switchcnt;
3010 switchcnt = TDQ_SWITCHCNT(tdq);
3012 if (always_steal || switchcnt != oldswitchcnt) {
3013 oldswitchcnt = switchcnt;
3017 switchcnt = TDQ_SWITCHCNT(tdq);
3019 oldswitchcnt = switchcnt;
3028 if (TDQ_IDLESPIN(tdq) && switchcnt > sched_idlespinthresh) {
3037 switchcnt = TDQ_SWITCHCNT(tdq);
3038 if (TDQ_LOAD(tdq) != 0 || switchcnt != oldswitchcnt)
3058 cpu_idle(switchcnt * 4 > sched_idlespinthresh);
3065 switchcnt = TDQ_SWITCHCNT(tdq);
3066 if (switchcnt != oldswitchcnt)