Home
last modified time | relevance | path

Searched refs:cpus_in_crash (Results 1 – 2 of 2) sorted by relevance

/linux/arch/mips/kernel/
A Dcrash.c16 static cpumask_t cpus_in_crash = CPU_MASK_NONE; variable
43 if (!cpumask_test_cpu(cpu, &cpus_in_crash)) in crash_shutdown_secondary()
45 cpumask_set_cpu(cpu, &cpus_in_crash); in crash_shutdown_secondary()
75 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus()
102 cpumask_set_cpu(crashing_cpu, &cpus_in_crash); in default_machine_crash_shutdown()
/linux/arch/powerpc/kexec/
A Dcrash.c70 static atomic_t cpus_in_crash; variable
83 atomic_inc(&cpus_in_crash); in crash_ipi_callback()
127 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus()
132 if (atomic_read(&cpus_in_crash) >= ncpus) { in crash_kexec_prepare_cpus()
138 ncpus - atomic_read(&cpus_in_crash)); in crash_kexec_prepare_cpus()
166 atomic_set(&cpus_in_crash, 0); in crash_kexec_prepare_cpus()
169 while (atomic_read(&cpus_in_crash) < ncpus) in crash_kexec_prepare_cpus()

Completed in 6 milliseconds