Lines Matching refs:kgdb_active
110 atomic_t kgdb_active = ATOMIC_INIT(-1);
111 EXPORT_SYMBOL_GPL(kgdb_active);
417 if (atomic_read(&kgdb_active) != raw_smp_processor_id())
463 * holds the kgdb_active token. This must be done so that the
466 if (cpu == atomic_read(&kgdb_active)) {
503 * master cpu and acquire the kgdb_active lock:
511 if (atomic_cmpxchg(&kgdb_active, -1, cpu) == cpu)
543 atomic_set(&kgdb_active, -1);
660 /* Free kgdb_active */
661 atomic_set(&kgdb_active, -1);
674 * kgdb lock (kgdb_active)
710 atomic_read(&kgdb_active) != -1 &&
711 atomic_read(&kgdb_active) != cpu) {
728 if (!kgdb_connected || atomic_read(&kgdb_active) != -1 || dbg_kdb_mode)
854 atomic_read(&kgdb_active) != -1 ||