Lines Matching refs:kgdb_info
61 struct debuggerinfo_struct kgdb_info[NR_CPUS]; variable
466 kgdb_info[ks->cpu].enter_kgdb++; in kgdb_cpu_enter()
467 kgdb_info[ks->cpu].exception_state |= exception_state; in kgdb_cpu_enter()
485 kgdb_info[cpu].debuggerinfo = regs; in kgdb_cpu_enter()
486 kgdb_info[cpu].task = current; in kgdb_cpu_enter()
487 kgdb_info[cpu].ret_state = 0; in kgdb_cpu_enter()
488 kgdb_info[cpu].irq_depth = hardirq_count() >> HARDIRQ_SHIFT; in kgdb_cpu_enter()
505 if (kgdb_info[cpu].exception_state & DCPU_NEXT_MASTER) { in kgdb_cpu_enter()
506 kgdb_info[cpu].exception_state &= ~DCPU_NEXT_MASTER; in kgdb_cpu_enter()
508 } else if (kgdb_info[cpu].exception_state & DCPU_WANT_MASTER) { in kgdb_cpu_enter()
513 } else if (kgdb_info[cpu].exception_state & DCPU_IS_SLAVE) { in kgdb_cpu_enter()
525 kgdb_info[cpu].exception_state &= in kgdb_cpu_enter()
527 kgdb_info[cpu].enter_kgdb--; in kgdb_cpu_enter()
544 (kgdb_info[cpu].task && in kgdb_cpu_enter()
545 kgdb_info[cpu].task->pid != kgdb_sstep_pid) && --sstep_tries) { in kgdb_cpu_enter()
555 kgdb_info[cpu].ret_state = 1; in kgdb_cpu_enter()
616 kgdb_info[dbg_switch_cpu].exception_state |= in kgdb_cpu_enter()
620 kgdb_info[cpu].ret_state = error; in kgdb_cpu_enter()
639 if (kgdb_info[sstep_cpu].task) in kgdb_cpu_enter()
640 kgdb_sstep_pid = kgdb_info[sstep_cpu].task->pid; in kgdb_cpu_enter()
649 kgdb_info[cpu].exception_state &= in kgdb_cpu_enter()
651 kgdb_info[cpu].enter_kgdb--; in kgdb_cpu_enter()
660 return kgdb_info[cpu].ret_state; in kgdb_cpu_enter()
685 if (kgdb_info[ks->cpu].enter_kgdb != 0) in kgdb_handle_exception()
701 if (kgdb_info[ks->cpu].enter_kgdb == 0 && in kgdb_nmicallback()