/linux-6.12.1/arch/powerpc/include/asm/ |
D | hw_breakpoint.h | 15 struct arch_hw_breakpoint { struct 61 struct arch_hw_breakpoint *info); 79 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); 82 struct arch_hw_breakpoint *hw); 96 struct arch_hw_breakpoint null_brk = {0}; in hw_breakpoint_disable() 121 int set_dawr(int nr, struct arch_hw_breakpoint *brk); 124 static inline int set_dawr(int nr, struct arch_hw_breakpoint *brk) { return -1; } in set_dawr()
|
D | debug.h | 48 void __set_breakpoint(int nr, struct arch_hw_breakpoint *brk);
|
D | processor.h | 176 struct arch_hw_breakpoint hw_brk[HBP_NUM_MAX]; /* hardware breakpoint info */
|
/linux-6.12.1/arch/sh/include/asm/ |
D | hw_breakpoint.h | 12 struct arch_hw_breakpoint { struct 33 void (*enable)(struct arch_hw_breakpoint *, int); argument 34 void (*disable)(struct arch_hw_breakpoint *, int); 54 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); 59 struct arch_hw_breakpoint *hw);
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | hw_breakpoint_constraints.c | 9 static bool dar_in_user_range(unsigned long dar, struct arch_hw_breakpoint *info) in dar_in_user_range() 15 struct arch_hw_breakpoint *info) in ea_user_range_overlaps() 21 static bool dar_in_hw_range(unsigned long dar, struct arch_hw_breakpoint *info) in dar_in_hw_range() 32 struct arch_hw_breakpoint *info) in ea_hw_range_overlaps() 57 struct arch_hw_breakpoint *info) in check_dawrx_constraints() 85 struct arch_hw_breakpoint *info) in wp_check_constraints()
|
D | hw_breakpoint.c | 58 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 94 struct arch_hw_breakpoint null_brk = {0}; in arch_uninstall_hw_breakpoint() 120 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() 156 static int hw_breakpoint_validate_len(struct arch_hw_breakpoint *hw) in hw_breakpoint_validate_len() 189 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse() 230 struct arch_hw_breakpoint *info; in thread_change_pc() 327 struct arch_hw_breakpoint *info; in handle_p10dd1_spurious_exception() 406 struct arch_hw_breakpoint *info; in hw_breakpoint_handler() 517 struct arch_hw_breakpoint *info; in single_step_dabr_instruction()
|
D | dawr.c | 19 int set_dawr(int nr, struct arch_hw_breakpoint *brk) in set_dawr() 55 struct arch_hw_breakpoint null_brk = {0}; in disable_dawrs_cb() 66 struct arch_hw_breakpoint null_brk = {0}; in dawr_write_file_bool()
|
D | process.c | 624 struct arch_hw_breakpoint null_brk = {0}; in do_break_handler() 625 struct arch_hw_breakpoint *info; in do_break_handler() 684 static DEFINE_PER_CPU(struct arch_hw_breakpoint, current_brk[HBP_NUM_MAX]); 758 static void set_breakpoint(int i, struct arch_hw_breakpoint *brk) in set_breakpoint() 768 struct arch_hw_breakpoint null_brk = {0}; in set_debug_reg_defaults() 777 static inline bool hw_brk_match(struct arch_hw_breakpoint *a, in hw_brk_match() 778 struct arch_hw_breakpoint *b) in hw_brk_match() 805 static inline int set_dabr(struct arch_hw_breakpoint *brk) in set_dabr() 830 static inline int set_breakpoint_8xx(struct arch_hw_breakpoint *brk) in set_breakpoint_8xx() 863 static void set_hw_breakpoint(int nr, struct arch_hw_breakpoint *brk) in set_hw_breakpoint() [all …]
|
/linux-6.12.1/arch/xtensa/include/asm/ |
D | hw_breakpoint.h | 27 struct arch_hw_breakpoint { struct 39 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); argument 42 struct arch_hw_breakpoint *hw);
|
/linux-6.12.1/arch/x86/include/asm/ |
D | hw_breakpoint.h | 14 struct arch_hw_breakpoint { struct 53 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); 56 struct arch_hw_breakpoint *hw);
|
/linux-6.12.1/arch/sh/kernel/ |
D | hw_breakpoint.c | 49 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 81 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint() 124 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() 176 struct arch_hw_breakpoint *hw) in arch_build_bp_info() 221 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | hw_breakpoint.c | 37 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() 53 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse() 150 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in set_ibreak_regs() 160 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in set_dbreak_regs() 209 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
|
/linux-6.12.1/arch/arm/include/asm/ |
D | hw_breakpoint.h | 21 struct arch_hw_breakpoint { struct 125 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); 128 struct arch_hw_breakpoint *hw);
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | hw_breakpoint.h | 25 struct arch_hw_breakpoint { struct 107 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); 110 struct arch_hw_breakpoint *hw);
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | hw_breakpoint.h | 21 struct arch_hw_breakpoint { struct 114 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); 117 struct arch_hw_breakpoint *hw);
|
/linux-6.12.1/arch/x86/kernel/ |
D | hw_breakpoint.c | 98 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 146 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint() 234 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() 325 struct arch_hw_breakpoint *hw) in arch_build_bp_info() 424 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse()
|
D | kgdb.c | 195 struct arch_hw_breakpoint *info; in kgdb_correct_hw_break()
|
/linux-6.12.1/arch/arm/kernel/ |
D | hw_breakpoint.c | 328 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 385 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint() 452 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() 515 struct arch_hw_breakpoint *hw) in arch_build_bp_info() 589 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse() 668 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in enable_single_step() 722 struct arch_hw_breakpoint *info) in watchpoint_fault_on_uaccess() 734 struct arch_hw_breakpoint *info; in watchpoint_handler() 826 struct arch_hw_breakpoint *info; in watchpoint_single_step_handler() 859 struct arch_hw_breakpoint *info; in breakpoint_handler()
|
/linux-6.12.1/arch/sh/kernel/cpu/sh4a/ |
D | ubc.c | 32 static void sh4a_ubc_enable(struct arch_hw_breakpoint *info, int idx) in sh4a_ubc_enable() 38 static void sh4a_ubc_disable(struct arch_hw_breakpoint *info, int idx) in sh4a_ubc_disable()
|
/linux-6.12.1/include/linux/ |
D | hw_breakpoint.h | 96 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) in counter_arch_bp() 139 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) in counter_arch_bp()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | hw_breakpoint.c | 181 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in hw_breakpoint_control() 286 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() 349 struct arch_hw_breakpoint *hw) in arch_build_bp_info() 398 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse() 421 struct arch_hw_breakpoint *info; in update_bp_registers()
|
D | ptrace.c | 392 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered() 632 struct arch_hw_breakpoint *info; in ptrace_hbp_set_mask() 1039 struct arch_hw_breakpoint *info; in set_single_step()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | hw_breakpoint.c | 226 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in hw_breakpoint_control() 336 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() 415 struct arch_hw_breakpoint *hw) in arch_build_bp_info() 510 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse() 738 struct arch_hw_breakpoint *info = counter_arch_bp(wp); in watchpoint_report()
|
/linux-6.12.1/arch/powerpc/kernel/ptrace/ |
D | ptrace-noadv.c | 87 struct arch_hw_breakpoint hw_brk; in ptrace_set_debugreg() 202 struct arch_hw_breakpoint brk; in ppc_set_hwdebug()
|
/linux-6.12.1/kernel/events/ |
D | hw_breakpoint.c | 691 struct arch_hw_breakpoint *hw) in hw_breakpoint_parse() 715 struct arch_hw_breakpoint hw = { }; in register_perf_hw_breakpoint() 764 struct arch_hw_breakpoint hw = { }; in modify_user_hw_breakpoint_check()
|