Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/
Dhw_breakpoint.c53 static DEFINE_PER_CPU(unsigned long, cpu_debugreg[HBP_NUM]);
59 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]);
112 for (i = 0; i < HBP_NUM; i++) { in arch_install_hw_breakpoint()
121 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) in arch_install_hw_breakpoint()
152 for (i = 0; i < HBP_NUM; i++) { in arch_uninstall_hw_breakpoint()
161 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) in arch_uninstall_hw_breakpoint()
388 for (i = 0; i < HBP_NUM; i++) { in aout_dump_debugregs()
416 for (i = 0; i < HBP_NUM; i++) { in flush_ptrace_hw_breakpoint()
483 for (i = 0; i < HBP_NUM; ++i) { in hw_breakpoint_handler()
Dkgdb.c202 } breakinfo[HBP_NUM];
210 for (breakno = 0; breakno < HBP_NUM; breakno++) { in kgdb_correct_hw_break()
297 for (i = 0; i < HBP_NUM; i++) in kgdb_remove_hw_break()
300 if (i == HBP_NUM) in kgdb_remove_hw_break()
318 for (i = 0; i < HBP_NUM; i++) { in kgdb_remove_all_hw_break()
342 for (i = 0; i < HBP_NUM; i++) in kgdb_set_hw_break()
345 if (i == HBP_NUM) in kgdb_set_hw_break()
406 for (i = 0; i < HBP_NUM; i++) { in kgdb_disable_hw_debug()
674 for (i = 0; i < HBP_NUM; i++) { in kgdb_arch_late()
Dptrace.c521 for (i = 0; i < HBP_NUM; i++) { in ptrace_triggered()
540 for (i = 0; i < HBP_NUM; i++) { in ptrace_get_dr7()
611 for (i = 0; i < HBP_NUM; i++) { in ptrace_write_dr7()
655 if (n < HBP_NUM) { in ptrace_get_debugreg()
714 if (n < HBP_NUM) { in ptrace_set_debugreg()
/Linux-v4.19/arch/x86/include/asm/
Dhw_breakpoint.h45 #define HBP_NUM 4 macro
49 return HBP_NUM; in hw_breakpoint_slots()
Dprocessor.h44 #define HBP_NUM 4 macro
484 struct perf_event *ptrace_bps[HBP_NUM];
/Linux-v4.19/arch/sh/include/asm/
Dhw_breakpoint.h49 #define HBP_NUM 2 macro
53 return HBP_NUM; in hw_breakpoint_slots()
Dprocessor_32.h106 struct perf_event *ptrace_bps[HBP_NUM];
/Linux-v4.19/arch/sh/kernel/
Dhw_breakpoint.c32 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]);
407 WARN_ON(ubc->num_events > HBP_NUM); in register_sh_ubc()
/Linux-v4.19/arch/powerpc/kernel/
Dhw_breakpoint.c51 return HBP_NUM; in hw_breakpoint_slots()
/Linux-v4.19/arch/powerpc/include/asm/
Dprocessor.h267 struct perf_event *ptrace_bps[HBP_NUM];
Dcputable.h612 #define HBP_NUM 1 macro