Searched refs:HBP_NUM (Results 1 - 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 43 static DEFINE_PER_CPU(unsigned long, cpu_debugreg[HBP_NUM]); 49 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]); 104 for (i = 0; i < HBP_NUM; i++) { in arch_install_hw_breakpoint() 113 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() 474 for (i = 0; i < HBP_NUM; i++) { in flush_ptrace_hw_breakpoint() 527 for (i = 0; i < HBP_NUM; ++i) { in hw_breakpoint_handler()
|
H A D | kgdb.c | 185 } 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() 654 for (i = 0; i < HBP_NUM; i++) { in kgdb_arch_late()
|
H A D | ptrace.c | 463 for (i = 0; i < HBP_NUM; i++) { in ptrace_triggered() 482 for (i = 0; i < HBP_NUM; i++) { in ptrace_get_dr7() 553 for (i = 0; i < HBP_NUM; i++) { in ptrace_write_dr7() 597 if (n < HBP_NUM) { in ptrace_get_debugreg() 598 int index = array_index_nospec(n, HBP_NUM); in ptrace_get_debugreg() 657 if (n < HBP_NUM) { in ptrace_set_debugreg()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 43 static DEFINE_PER_CPU(unsigned long, cpu_debugreg[HBP_NUM]); 49 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]); 104 for (i = 0; i < HBP_NUM; i++) { in arch_install_hw_breakpoint() 113 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() 474 for (i = 0; i < HBP_NUM; i++) { in flush_ptrace_hw_breakpoint() 527 for (i = 0; i < HBP_NUM; ++i) { in hw_breakpoint_handler()
|
H A D | kgdb.c | 185 } 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() 654 for (i = 0; i < HBP_NUM; i++) { in kgdb_arch_late()
|
H A D | ptrace.c | 482 for (i = 0; i < HBP_NUM; i++) { in ptrace_triggered() 501 for (i = 0; i < HBP_NUM; i++) { in ptrace_get_dr7() 572 for (i = 0; i < HBP_NUM; i++) { in ptrace_write_dr7() 616 if (n < HBP_NUM) { in ptrace_get_debugreg() 617 int index = array_index_nospec(n, HBP_NUM); in ptrace_get_debugreg() 676 if (n < HBP_NUM) { in ptrace_set_debugreg()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | hw_breakpoint.h | 49 #define HBP_NUM 2 macro 53 return HBP_NUM; in hw_breakpoint_slots()
|
H A D | processor_32.h | 100 struct perf_event *ptrace_bps[HBP_NUM];
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | hw_breakpoint.h | 49 #define HBP_NUM 2 macro 51 #define hw_breakpoint_slots(type) (HBP_NUM)
|
H A D | processor_32.h | 100 struct perf_event *ptrace_bps[HBP_NUM];
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | hw_breakpoint.h | 45 #define HBP_NUM 4 macro 49 return HBP_NUM; in hw_breakpoint_slots()
|
H A D | processor.h | 47 #define HBP_NUM 4 macro 514 struct perf_event *ptrace_bps[HBP_NUM];
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | hw_breakpoint.h | 45 #define HBP_NUM 4 macro 47 #define hw_breakpoint_slots(type) (HBP_NUM)
|
H A D | processor.h | 49 #define HBP_NUM 4 macro 443 struct perf_event *ptrace_bps[HBP_NUM];
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
H A D | hw_breakpoint.c | 29 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]); 405 WARN_ON(ubc->num_events > HBP_NUM); in register_sh_ubc()
|
/kernel/linux/linux-6.6/arch/sh/kernel/ |
H A D | hw_breakpoint.c | 29 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]); 405 WARN_ON(ubc->num_events > HBP_NUM); in register_sh_ubc()
|
Completed in 21 milliseconds