Lines Matching refs:cpus
188 int cpus;
190 cpus = ml_get_max_cpus(); // NB: this call can block
192 if (cpus == 0)
193 panic("commpage cpus==0");
194 if (cpus > 0xFF)
195 cpus = 0xFF;
197 return cpus;
206 int cpus;
252 cpus = commpage_cpus(); // how many CPUs do we have
254 bits |= (cpus << kNumCPUsShift);
261 setif(bits, kUP, cpus == 1);