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