Home
last modified time | relevance | path

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

/linux/arch/arm/kernel/
H A Dmachine_kexec.c26 static atomic_t waiting_for_crash_ipi; variable
89 atomic_dec(&waiting_for_crash_ipi); in machine_crash_nonpanic_core()
110 atomic_set(&waiting_for_crash_ipi, num_online_cpus() - 1); in crash_smp_send_stop()
120 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in crash_smp_send_stop()
124 if (atomic_read(&waiting_for_crash_ipi) > 0) in crash_smp_send_stop()
/linux/arch/riscv/kernel/
H A Dsmp.c76 static atomic_t waiting_for_crash_ipi = ATOMIC_INIT(0); variable
82 atomic_dec(&waiting_for_crash_ipi); in ipi_cpu_crash_stop()
313 atomic_set(&waiting_for_crash_ipi, num_other_online_cpus()); in crash_smp_send_stop()
320 while ((atomic_read(&waiting_for_crash_ipi) > 0) && timeout--) in crash_smp_send_stop()
323 if (atomic_read(&waiting_for_crash_ipi) > 0) in crash_smp_send_stop()
330 return (atomic_read(&waiting_for_crash_ipi) > 0); in smp_crash_stop_failed()