Lines Matching refs:error
311 int error; in dbg_activate_sw_breakpoints() local
319 error = kgdb_arch_set_breakpoint(&kgdb_break[i]); in dbg_activate_sw_breakpoints()
320 if (error) { in dbg_activate_sw_breakpoints()
321 ret = error; in dbg_activate_sw_breakpoints()
377 int error; in dbg_deactivate_sw_breakpoints() local
384 error = kgdb_arch_remove_breakpoint(&kgdb_break[i]); in dbg_deactivate_sw_breakpoints()
385 if (error) { in dbg_deactivate_sw_breakpoints()
388 ret = error; in dbg_deactivate_sw_breakpoints()
438 int error; in dbg_remove_all_break() local
445 error = kgdb_arch_remove_breakpoint(&kgdb_break[i]); in dbg_remove_all_break()
446 if (error) in dbg_remove_all_break()
592 int error; in kgdb_cpu_enter() local
755 error = kdb_stub(ks); in kgdb_cpu_enter()
756 if (error == -1) in kgdb_cpu_enter()
783 error = gdb_serial_stub(ks); in kgdb_cpu_enter()
786 if (error == DBG_PASS_EVENT) { in kgdb_cpu_enter()
788 } else if (error == DBG_SWITCH_CPU_EVENT) { in kgdb_cpu_enter()
793 kgdb_info[cpu].ret_state = error; in kgdb_cpu_enter()