Searched refs:cpus_in_crash (Results 1 – 2 of 2) sorted by relevance
16 static cpumask_t cpus_in_crash = CPU_MASK_NONE; variable43 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()
69 static atomic_t cpus_in_crash; variable82 atomic_inc(&cpus_in_crash); in crash_ipi_callback()126 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus()131 if (atomic_read(&cpus_in_crash) >= ncpus) { in crash_kexec_prepare_cpus()137 ncpus - atomic_read(&cpus_in_crash)); in crash_kexec_prepare_cpus()165 atomic_set(&cpus_in_crash, 0); in crash_kexec_prepare_cpus()168 while (atomic_read(&cpus_in_crash) < ncpus) in crash_kexec_prepare_cpus()