Searched refs:PANIC_CPU_INVALID (Results 1 – 4 of 4) sorted by relevance
185 atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID);198 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, cpu); in nmi_panic()200 if (old_cpu == PANIC_CPU_INVALID) in nmi_panic()320 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic()322 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu) in panic()
1084 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec()1085 if (old_cpu == PANIC_CPU_INVALID) { in crash_kexec()1093 atomic_set(&panic_cpu, PANIC_CPU_INVALID); in crash_kexec()
44 #define PANIC_CPU_INVALID -1 macro
353 return unlikely(atomic_read(&panic_cpu) != PANIC_CPU_INVALID); in panic_in_progress()