Lines Matching defs:who
95 static int wait_for_set(cpuset_t *set, int who);
292 unsigned who;
341 for (who = 0; who < max_ncpus; who++) {
343 wc_cpu_t *cpup = wc_other_cpus + who;
346 if (who == boot_cpuid)
349 if (!CPU_IN_SET(mp_cpus, who))
352 PMD(PMD_SX, ("%s() waking up %d cpu\n", str, who))
366 init_real_mode_platter(who, code_length, cpup->wc_cr4, gdt);
369 err = mach_cpuid_start(who, rm_platter_va);
373 "suspend/resume error %d", who, err);
377 PMD(PMD_SX, ("%s() #1 waiting for %d in procset\n", str, who))
379 if (!wait_for_set(&procset, who))
382 PMD(PMD_SX, ("%s() %d cpu started\n", str, who))
388 tsc_sync_master(who);
392 who))
398 if (!wait_for_set(&cpu_ready_set, who))
405 PMD(PMD_SX, ("%s() cpu %d now ready\n", str, who))
481 int who;
489 for (who = 0; who < max_ncpus; who++) {
491 wc_cpu_t *cpup = wc_other_cpus + who;
493 if (!CPU_IN_SET(mp_cpus, who))
496 PMD(PMD_SX, ("prt_other_cpus() who = %d, gdt=%p:%x, "
498 AFMT ", sp=%lx\n", who,
1071 wait_for_set(cpuset_t *set, int who)
1076 for (delays = 0; !CPU_IN_SET(*set, who); delays++) {
1083 "but not running in the kernel yet", who);
1086 str, who))
1091 cmn_err(CE_WARN, "cpu%d: timed out", who);
1093 str, who))