Home
last modified time | relevance | path

Searched refs:arch_hw_breakpoint (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.15/arch/powerpc/include/asm/
Dhw_breakpoint.h16 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()
Ddebug.h48 void __set_breakpoint(int nr, struct arch_hw_breakpoint *brk);
Dprocessor.h178 struct arch_hw_breakpoint hw_brk[HBP_NUM_MAX]; /* hardware breakpoint info */
/Linux-v5.15/arch/sh/include/asm/
Dhw_breakpoint.h12 struct arch_hw_breakpoint { struct
33 void (*enable)(struct arch_hw_breakpoint *, int); argument
34 void (*disable)(struct arch_hw_breakpoint *, int);
57 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw);
60 struct arch_hw_breakpoint *hw);
/Linux-v5.15/arch/powerpc/kernel/
Dhw_breakpoint_constraints.c9 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()
Dhw_breakpoint.c67 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint()
103 struct arch_hw_breakpoint null_brk = {0}; in arch_uninstall_hw_breakpoint()
372 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace()
408 static int hw_breakpoint_validate_len(struct arch_hw_breakpoint *hw) in hw_breakpoint_validate_len()
441 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse()
478 struct arch_hw_breakpoint *info; in thread_change_pc()
510 static void handler_error(struct perf_event *bp, struct arch_hw_breakpoint *info) in handler_error()
517 static void larx_stcx_err(struct perf_event *bp, struct arch_hw_breakpoint *info) in larx_stcx_err()
525 struct arch_hw_breakpoint **info, int *hit, in stepping_handler()
556 static void handle_p10dd1_spurious_exception(struct arch_hw_breakpoint **info, in handle_p10dd1_spurious_exception()
[all …]
Ddawr.c18 int set_dawr(int nr, struct arch_hw_breakpoint *brk) in set_dawr()
54 struct arch_hw_breakpoint null_brk = {0}; in disable_dawrs_cb()
65 struct arch_hw_breakpoint null_brk = {0}; in dawr_write_file_bool()
Dprocess.c629 struct arch_hw_breakpoint null_brk = {0}; in do_break_handler()
630 struct arch_hw_breakpoint *info; in do_break_handler()
689 static DEFINE_PER_CPU(struct arch_hw_breakpoint, current_brk[HBP_NUM_MAX]);
763 static void set_breakpoint(int i, struct arch_hw_breakpoint *brk) in set_breakpoint()
773 struct arch_hw_breakpoint null_brk = {0}; in set_debug_reg_defaults()
782 static inline bool hw_brk_match(struct arch_hw_breakpoint *a, in hw_brk_match()
783 struct arch_hw_breakpoint *b) in hw_brk_match()
810 static inline int set_dabr(struct arch_hw_breakpoint *brk) in set_dabr()
835 static inline int set_breakpoint_8xx(struct arch_hw_breakpoint *brk) in set_breakpoint_8xx()
868 void __set_breakpoint(int nr, struct arch_hw_breakpoint *brk) in __set_breakpoint()
/Linux-v5.15/arch/xtensa/include/asm/
Dhw_breakpoint.h27 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-v5.15/arch/x86/include/asm/
Dhw_breakpoint.h14 struct arch_hw_breakpoint { struct
56 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw);
59 struct arch_hw_breakpoint *hw);
/Linux-v5.15/arch/sh/kernel/
Dhw_breakpoint.c49 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-v5.15/arch/arm/include/asm/
Dhw_breakpoint.h21 struct arch_hw_breakpoint { struct
124 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw);
127 struct arch_hw_breakpoint *hw);
/Linux-v5.15/arch/xtensa/kernel/
Dhw_breakpoint.c36 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace()
52 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse()
149 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in set_ibreak_regs()
159 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in set_dbreak_regs()
208 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
Dptrace.c371 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered()
/Linux-v5.15/arch/arm64/include/asm/
Dhw_breakpoint.h21 struct arch_hw_breakpoint { struct
115 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw);
118 struct arch_hw_breakpoint *hw);
/Linux-v5.15/arch/x86/kernel/
Dhw_breakpoint.c98 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()
Dkgdb.c195 struct arch_hw_breakpoint *info; in kgdb_correct_hw_break()
/Linux-v5.15/arch/arm/kernel/
Dhw_breakpoint.c327 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint()
384 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
451 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace()
514 struct arch_hw_breakpoint *hw) in arch_build_bp_info()
588 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse()
667 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in enable_single_step()
721 struct arch_hw_breakpoint *info) in watchpoint_fault_on_uaccess()
733 struct arch_hw_breakpoint *info; in watchpoint_handler()
825 struct arch_hw_breakpoint *info; in watchpoint_single_step_handler()
858 struct arch_hw_breakpoint *info; in breakpoint_handler()
Dptrace.c355 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered()
/Linux-v5.15/arch/sh/kernel/cpu/sh4a/
Dubc.c32 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-v5.15/include/linux/
Dhw_breakpoint.h89 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) in counter_arch_bp()
130 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) in counter_arch_bp()
Dperf_event.h168 struct arch_hw_breakpoint info;
/Linux-v5.15/arch/arm64/kernel/
Dhw_breakpoint.c225 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in hw_breakpoint_control()
335 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace()
414 struct arch_hw_breakpoint *hw) in arch_build_bp_info()
509 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse()
737 struct arch_hw_breakpoint *info = counter_arch_bp(wp); in watchpoint_report()
/Linux-v5.15/kernel/events/
Dhw_breakpoint.c408 struct arch_hw_breakpoint *hw) in hw_breakpoint_parse()
432 struct arch_hw_breakpoint hw = { }; in register_perf_hw_breakpoint()
481 struct arch_hw_breakpoint hw = { }; in modify_user_hw_breakpoint_check()
/Linux-v5.15/arch/powerpc/kernel/ptrace/
Dptrace-noadv.c87 struct arch_hw_breakpoint hw_brk; in ptrace_set_debugreg()
202 struct arch_hw_breakpoint brk; in ppc_set_hwdebug()

12