Lines Matching refs:prom_cpu
222 static cpu_t *volatile prom_cpu; variable
274 prcp = atomic_cas_ptr((void *)&prom_cpu, NULL, cp); in kern_preprom()
297 prcp = prom_cpu; in kern_preprom()
300 if (prcp == prom_cpu) in kern_preprom()
311 prcp = atomic_cas_ptr((void *)&prom_cpu, NULL, cp); in kern_preprom()
340 if (prom_cpu != cp) in kern_postprom()
342 (void *)cp, (void *)prom_cpu); in kern_postprom()
346 (void *)prom_cpu); in kern_postprom()
357 prom_cpu = NULL; in kern_postprom()
414 while (prom_cpu || mutex_owner(&prom_mutex)) { in promsafe_pause_cpus()
420 while (prom_cpu) in promsafe_pause_cpus()
440 while (prom_cpu || mutex_owner(&prom_mutex)) { in promsafe_xc_attention()
446 while (prom_cpu) in promsafe_xc_attention()