Searched refs:panic_cpu (Results 1 - 5 of 5) sorted by relevance
/linux-master/include/linux/ |
H A D | panic.h | 39 * panic_cpu is used for synchronizing panic() and crash_kexec() execution. It 43 extern atomic_t panic_cpu;
|
/linux-master/kernel/ |
H A D | panic.c | 186 atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID); variable 202 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) 304 * after setting panic_cpu) from invoking panic() again. 322 * panic_cpu to this CPU. In this case, this is also the 1st CPU. 328 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) { 364 * Bypass the panic_cpu check and call __crash_kexec directly. 388 * Bypass the panic_cpu check and call __crash_kexec directly.
|
H A D | crash_core.c | 99 * No panic_cpu check version of crash_kexec(). This function is called 100 * only when panic_cpu holds the current CPU number; this is the only CPU 134 * may stop each other. To exclude them, we use panic_cpu here too. 139 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) { 144 * Reset panic_cpu to allow another panic()/crash_kexec() 147 atomic_set(&panic_cpu, PANIC_CPU_INVALID);
|
/linux-master/kernel/printk/ |
H A D | nbcon.c | 569 if (atomic_read(&panic_cpu) == cpu)
|
H A D | printk.c | 347 return unlikely(atomic_read(&panic_cpu) != PANIC_CPU_INVALID); 355 * the task to be migrated to the panic_cpu, or away from it. If 356 * panic_cpu has already been set, and we're not currently executing on 359 return unlikely(atomic_read(&panic_cpu) == raw_smp_processor_id()); 2996 /* Allow panic_cpu to take over the consoles safely. */
|
Completed in 316 milliseconds