Searched refs:breakno (Results 1 – 3 of 3) sorted by relevance
191 int breakno; in kgdb_correct_hw_break() local193 for (breakno = 0; breakno < HBP_NUM; breakno++) { in kgdb_correct_hw_break()198 if (!breakinfo[breakno].enabled) in kgdb_correct_hw_break()201 set_debugreg(breakinfo[breakno].addr, breakno); in kgdb_correct_hw_break()202 early_dr7 |= encode_dr7(breakno, in kgdb_correct_hw_break()203 breakinfo[breakno].len, in kgdb_correct_hw_break()204 breakinfo[breakno].type); in kgdb_correct_hw_break()208 bp = *per_cpu_ptr(breakinfo[breakno].pev, cpu); in kgdb_correct_hw_break()212 bp->attr.bp_addr = breakinfo[breakno].addr; in kgdb_correct_hw_break()213 bp->attr.bp_len = breakinfo[breakno].len; in kgdb_correct_hw_break()[all …]
321 int breakno = -1; in dbg_set_sw_break() local335 breakno = i; in dbg_set_sw_break()340 if (breakno == -1) { in dbg_set_sw_break()343 breakno = i; in dbg_set_sw_break()349 if (breakno == -1) in dbg_set_sw_break()352 kgdb_break[breakno].state = BP_SET; in dbg_set_sw_break()353 kgdb_break[breakno].type = BP_BREAKPOINT; in dbg_set_sw_break()354 kgdb_break[breakno].bpt_addr = addr; in dbg_set_sw_break()
462 static int hw_break_reserve_slot(int breakno) in hw_break_reserve_slot() argument469 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()481 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()488 static int hw_break_release_slot(int breakno) in hw_break_release_slot() argument497 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_release_slot()