Searched refs:kgdb_active (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/kernel/debug/
H A Ddebug_core.c119 atomic_t kgdb_active = ATOMIC_INIT(-1); variable
120 EXPORT_SYMBOL_GPL(kgdb_active); variable
418 if (atomic_read(&kgdb_active) != raw_smp_processor_id()) kgdb_reenter_check()
507 atomic_xchg(&kgdb_active, cpu); kgdb_cpu_enter()
513 * master cpu and acquire the kgdb_active lock: kgdb_cpu_enter()
522 atomic_xchg(&kgdb_active, cpu); kgdb_cpu_enter()
558 atomic_set(&kgdb_active, -1); kgdb_cpu_enter()
674 /* Free kgdb_active */ kgdb_cpu_enter()
675 atomic_set(&kgdb_active, -1); kgdb_cpu_enter()
688 * kgdb lock (kgdb_active)
794 if (!kgdb_connected || atomic_read(&kgdb_active) != -1 || dbg_kdb_mode) kgdb_console_write()
960 atomic_read(&kgdb_active) != -1 || kgdb_schedule_breakpoint()
H A Dgdbstub.c438 tid = -atomic_read(&kgdb_active) - 2; getthread()
/linux-4.1.27/arch/sparc/kernel/
H A Dkgdb_64.c127 if (atomic_read(&kgdb_active) != -1) smp_kgdb_capture_client()
/linux-4.1.27/kernel/debug/kdb/
H A Dkdb_debugger.c39 kdb_initial_cpu = atomic_read(&kgdb_active); kdb_common_init_state()
/linux-4.1.27/include/linux/
H A Dkgdb.h318 extern atomic_t kgdb_active;
320 (raw_smp_processor_id() == atomic_read(&kgdb_active))
/linux-4.1.27/arch/hexagon/kernel/
H A Dkgdb.c201 if (atomic_read(&kgdb_active) != -1) { __kgdb_notify()
/linux-4.1.27/arch/mips/kernel/
H A Dkgdb.c312 if (atomic_read(&kgdb_active) != -1) kgdb_mips_notify()
H A Dtraps.c206 } else if (atomic_read(&kgdb_active) != -1 && show_stack()
/linux-4.1.27/arch/x86/kernel/
H A Dkgdb.c520 if (atomic_read(&kgdb_active) != -1) { kgdb_nmi_handler()

Completed in 198 milliseconds