Lines Matching refs:cpus
171 int cpus;
173 cpus = ml_get_max_cpus(); // NB: this call can block
175 if (cpus == 0)
176 panic("commpage cpus==0");
177 if (cpus > 0xFF)
178 cpus = 0xFF;
180 return cpus;
189 int cpus;
232 cpus = commpage_cpus(); // how many CPUs do we have
234 if (cpus == 1)
237 bits |= (cpus << kNumCPUsShift);
380 swapcaps |= 2 << kNumCPUsShift; /* limit #cpus to 2 */