Lines Matching refs:smp_cpu_state
73 static int smp_cpu_state[NR_CPUS]; variable
339 smp_cpu_state[logical_cpu] = CPU_STATE_CONFIGURED; in smp_rescan_cpus_sigp()
372 smp_cpu_state[logical_cpu] = CPU_STATE_STANDBY; in smp_rescan_cpus_sclp()
374 smp_cpu_state[logical_cpu] = CPU_STATE_CONFIGURED; in smp_rescan_cpus_sclp()
562 if (smp_cpu_state[cpu] != CPU_STATE_CONFIGURED) in __cpu_up()
745 smp_cpu_state[0] = CPU_STATE_CONFIGURED; in smp_prepare_boot_cpu()
777 count = sprintf(buf, "%d\n", smp_cpu_state[dev->id]); in cpu_configure_show()
804 if (smp_cpu_state[cpu] == CPU_STATE_CONFIGURED) { in cpu_configure_store()
807 smp_cpu_state[cpu] = CPU_STATE_STANDBY; in cpu_configure_store()
813 if (smp_cpu_state[cpu] == CPU_STATE_STANDBY) { in cpu_configure_store()
816 smp_cpu_state[cpu] = CPU_STATE_CONFIGURED; in cpu_configure_store()