Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dhw_breakpoint.c51 static DEFINE_PER_CPU(unsigned long, cpu_debugreg[HBP_NUM]);
57 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]);
110 for (i = 0; i < HBP_NUM; i++) { in arch_install_hw_breakpoint()
119 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) in arch_install_hw_breakpoint()
150 for (i = 0; i < HBP_NUM; i++) { in arch_uninstall_hw_breakpoint()
159 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) in arch_uninstall_hw_breakpoint()
351 for (i = 0; i < HBP_NUM; i++) { in aout_dump_debugregs()
379 for (i = 0; i < HBP_NUM; i++) { in flush_ptrace_hw_breakpoint()
446 for (i = 0; i < HBP_NUM; ++i) { in hw_breakpoint_handler()
Dkgdb.c201 } breakinfo[HBP_NUM];
209 for (breakno = 0; breakno < HBP_NUM; breakno++) { in kgdb_correct_hw_break()
296 for (i = 0; i < HBP_NUM; i++) in kgdb_remove_hw_break()
299 if (i == HBP_NUM) in kgdb_remove_hw_break()
317 for (i = 0; i < HBP_NUM; i++) { in kgdb_remove_all_hw_break()
341 for (i = 0; i < HBP_NUM; i++) in kgdb_set_hw_break()
344 if (i == HBP_NUM) in kgdb_set_hw_break()
405 for (i = 0; i < HBP_NUM; i++) { in kgdb_disable_hw_debug()
668 for (i = 0; i < HBP_NUM; i++) { in kgdb_arch_late()
Dptrace.c569 for (i = 0; i < HBP_NUM; i++) { in ptrace_triggered()
588 for (i = 0; i < HBP_NUM; i++) { in ptrace_get_dr7()
659 for (i = 0; i < HBP_NUM; i++) { in ptrace_write_dr7()
703 if (n < HBP_NUM) { in ptrace_get_debugreg()
762 if (n < HBP_NUM) { in ptrace_set_debugreg()
/linux-4.1.27/arch/x86/include/asm/
Dhw_breakpoint.h44 #define HBP_NUM 4 macro
48 return HBP_NUM; in hw_breakpoint_slots()
Dprocessor.h41 #define HBP_NUM 4 macro
512 struct perf_event *ptrace_bps[HBP_NUM];
/linux-4.1.27/arch/sh/include/asm/
Dhw_breakpoint.h48 #define HBP_NUM 2 macro
52 return HBP_NUM; in hw_breakpoint_slots()
Dprocessor_32.h105 struct perf_event *ptrace_bps[HBP_NUM];
/linux-4.1.27/arch/sh/kernel/
Dhw_breakpoint.c31 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]);
418 WARN_ON(ubc->num_events > HBP_NUM); in register_sh_ubc()
/linux-4.1.27/arch/powerpc/kernel/
Dhw_breakpoint.c50 return HBP_NUM; in hw_breakpoint_slots()
/linux-4.1.27/arch/powerpc/include/asm/
Dprocessor.h235 struct perf_event *ptrace_bps[HBP_NUM];
Dcputable.h565 #define HBP_NUM 1 macro