Searched refs:old_cpu (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | panic.c | 194 int old_cpu, cpu; in nmi_panic() local 197 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, cpu); in nmi_panic() 199 if (old_cpu == PANIC_CPU_INVALID) in nmi_panic() 201 else if (old_cpu != cpu) in nmi_panic() 281 int old_cpu, this_cpu; in panic() local 319 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic() 321 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu) in panic()
|
D | kexec_core.c | 986 int old_cpu, this_cpu; in crash_kexec() local 994 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec() 995 if (old_cpu == PANIC_CPU_INVALID) { in crash_kexec()
|
/kernel/debug/kdb/ |
D | kdb_io.c | 590 int this_cpu, old_cpu; in vkdb_printf() local 602 old_cpu = cmpxchg(&kdb_printf_cpu, -1, this_cpu); in vkdb_printf() 603 if (old_cpu == -1 || old_cpu == this_cpu) in vkdb_printf() 853 smp_store_release(&kdb_printf_cpu, old_cpu); in vkdb_printf()
|