Home
last modified time | relevance | path

Searched refs:HBP_NUM (Results 1 – 11 of 11) sorted by relevance

/arch/x86/kernel/
Dhw_breakpoint.c41 static DEFINE_PER_CPU(unsigned long, cpu_debugreg[HBP_NUM]);
47 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]);
100 for (i = 0; i < HBP_NUM; i++) { in arch_install_hw_breakpoint()
109 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) in arch_install_hw_breakpoint()
140 for (i = 0; i < HBP_NUM; i++) { in arch_uninstall_hw_breakpoint()
149 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) in arch_uninstall_hw_breakpoint()
374 for (i = 0; i < HBP_NUM; i++) { in aout_dump_debugregs()
402 for (i = 0; i < HBP_NUM; i++) { in flush_ptrace_hw_breakpoint()
469 for (i = 0; i < HBP_NUM; ++i) { in hw_breakpoint_handler()
Dkgdb.c185 } breakinfo[HBP_NUM];
193 for (breakno = 0; breakno < HBP_NUM; breakno++) { in kgdb_correct_hw_break()
280 for (i = 0; i < HBP_NUM; i++) in kgdb_remove_hw_break()
283 if (i == HBP_NUM) in kgdb_remove_hw_break()
301 for (i = 0; i < HBP_NUM; i++) { in kgdb_remove_all_hw_break()
325 for (i = 0; i < HBP_NUM; i++) in kgdb_set_hw_break()
328 if (i == HBP_NUM) in kgdb_set_hw_break()
389 for (i = 0; i < HBP_NUM; i++) { in kgdb_disable_hw_debug()
653 for (i = 0; i < HBP_NUM; i++) { in kgdb_arch_late()
Dptrace.c486 for (i = 0; i < HBP_NUM; i++) { in ptrace_triggered()
505 for (i = 0; i < HBP_NUM; i++) { in ptrace_get_dr7()
576 for (i = 0; i < HBP_NUM; i++) { in ptrace_write_dr7()
620 if (n < HBP_NUM) { in ptrace_get_debugreg()
621 int index = array_index_nospec(n, HBP_NUM); in ptrace_get_debugreg()
680 if (n < HBP_NUM) { in ptrace_set_debugreg()
/arch/sh/include/asm/
Dhw_breakpoint.h49 #define HBP_NUM 2 macro
53 return HBP_NUM; in hw_breakpoint_slots()
Dprocessor_32.h101 struct perf_event *ptrace_bps[HBP_NUM];
/arch/x86/include/asm/
Dhw_breakpoint.h45 #define HBP_NUM 4 macro
49 return HBP_NUM; in hw_breakpoint_slots()
Dprocessor.h45 #define HBP_NUM 4 macro
470 struct perf_event *ptrace_bps[HBP_NUM];
/arch/sh/kernel/
Dhw_breakpoint.c29 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]);
405 WARN_ON(ubc->num_events > HBP_NUM); in register_sh_ubc()
/arch/powerpc/kernel/
Dhw_breakpoint.c41 return HBP_NUM; in hw_breakpoint_slots()
/arch/powerpc/include/asm/
Dprocessor.h173 struct perf_event *ptrace_bps[HBP_NUM];
Dcputable.h609 #define HBP_NUM 1 macro