/linux-6.6.21/arch/loongarch/kernel/ |
D | kprobes.c | 85 static void save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 92 static void restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 113 static void save_local_irqflag(struct kprobe_ctlblk *kcb, in save_local_irqflag() 121 static void restore_local_irqflag(struct kprobe_ctlblk *kcb, in restore_local_irqflag() 128 static void post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, in post_kprobe_handler() 156 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 184 struct kprobe_ctlblk *kcb) in reenter_kprobe() 209 struct kprobe_ctlblk *kcb; in kprobe_breakpoint_handler() local 273 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_singlestep_handler() local 291 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
D | ftrace_dyn.c | 288 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler() local
|
/linux-6.6.21/arch/csky/kernel/probes/ |
D | kprobes.c | 70 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn() local 133 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 139 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 158 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag() 165 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag() 172 set_ss_context(struct kprobe_ctlblk *kcb, unsigned long addr, struct kprobe *p) in set_ss_context() 180 static void __kprobes clear_ss_context(struct kprobe_ctlblk *kcb) in clear_ss_context() 192 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 222 struct kprobe_ctlblk *kcb) in reenter_kprobe() 245 post_kprobe_handler(struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler() [all …]
|
D | ftrace.c | 12 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler() local
|
/linux-6.6.21/arch/riscv/kernel/probes/ |
D | kprobes.c | 43 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn() local 136 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 142 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 161 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag() 168 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag() 176 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 204 struct kprobe_ctlblk *kcb) in reenter_kprobe() 227 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler() 254 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local 293 struct kprobe_ctlblk *kcb; in kprobe_breakpoint_handler() local [all …]
|
D | ftrace.c | 11 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler() local
|
/linux-6.6.21/arch/arm64/kernel/probes/ |
D | kprobes.c | 85 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn() local 164 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 170 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 186 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag() 193 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag() 202 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 229 struct kprobe_ctlblk *kcb) in reenter_kprobe() 252 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler() 274 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local 305 struct kprobe_ctlblk *kcb; in kprobe_breakpoint_handler() local [all …]
|
/linux-6.6.21/arch/mips/kernel/ |
D | kprobes.c | 162 static void save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 171 static void restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 181 struct kprobe_ctlblk *kcb) in set_current_kprobe() 202 struct kprobe_ctlblk *kcb) in evaluate_branch_instruction() 236 struct kprobe_ctlblk *kcb) in prepare_singlestep() 268 struct kprobe_ctlblk *kcb) in resume_execution() 284 struct kprobe_ctlblk *kcb; in kprobe_handler() local 382 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() local 411 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
/linux-6.6.21/arch/sparc/kernel/ |
D | kprobes.c | 77 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 85 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 94 struct kprobe_ctlblk *kcb) in set_current_kprobe() 102 struct kprobe_ctlblk *kcb) in prepare_singlestep() 121 struct kprobe_ctlblk *kcb; in kprobe_handler() local 278 struct pt_regs *regs, struct kprobe_ctlblk *kcb) in resume_execution() 296 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() local 323 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
/linux-6.6.21/arch/s390/kernel/ |
D | kprobes.c | 223 static void enable_singlestep(struct kprobe_ctlblk *kcb, in enable_singlestep() 247 static void disable_singlestep(struct kprobe_ctlblk *kcb, in disable_singlestep() 264 static void push_kprobe(struct kprobe_ctlblk *kcb, struct kprobe *p) in push_kprobe() 277 static void pop_kprobe(struct kprobe_ctlblk *kcb) in pop_kprobe() 285 static void kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) in kprobe_reenter_check() 309 struct kprobe_ctlblk *kcb; in kprobe_handler() local 375 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in resume_execution() local 400 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() local 428 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_trap_handler() local
|
D | ftrace.c | 294 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler() local
|
/linux-6.6.21/arch/parisc/kernel/ |
D | kprobes.c | 60 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 66 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 78 struct kprobe_ctlblk *kcb, struct pt_regs *regs) in setup_singlestep() 88 struct kprobe_ctlblk *kcb; in parisc_kprobe_break_handler() local 137 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in parisc_kprobe_ss_handler() local
|
D | ftrace.c | 204 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler() local
|
/linux-6.6.21/arch/sh/kernel/ |
D | kprobes.c | 121 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 127 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 134 struct kprobe_ctlblk *kcb) in set_current_kprobe() 218 struct kprobe_ctlblk *kcb; in kprobe_handler() local 314 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() local 363 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local 416 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_exceptions_notify() local
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | kprobes.c | 224 static nokprobe_inline void save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 231 static nokprobe_inline void restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 239 struct kprobe_ctlblk *kcb) in set_current_kprobe() 301 struct kprobe_ctlblk *kcb; in kprobe_handler() local 466 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_post_handler() local 509 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
D | kprobes-ftrace.c | 20 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler() local
|
/linux-6.6.21/arch/arc/kernel/ |
D | kprobes.c | 79 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 85 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 196 struct kprobe_ctlblk *kcb; in arc_kprobe_handler() local 248 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arc_post_kprobe_handler() local 292 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
/linux-6.6.21/arch/x86/kernel/kprobes/ |
D | core.c | 798 save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 807 restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 817 struct kprobe_ctlblk *kcb) in set_current_kprobe() 825 struct kprobe_ctlblk *kcb) in kprobe_post_process() 845 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 902 struct kprobe_ctlblk *kcb) in resume_singlestep() 920 struct kprobe_ctlblk *kcb) in reenter_kprobe() 949 static nokprobe_inline int kprobe_is_ss(struct kprobe_ctlblk *kcb) in kprobe_is_ss() 963 struct kprobe_ctlblk *kcb; in kprobe_int3_handler() local 1017 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
D | ftrace.c | 21 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler() local
|
D | opt.c | 187 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in optimized_callback() local
|
/linux-6.6.21/arch/arm/probes/kprobes/ |
D | core.c | 192 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 198 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 224 singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) in singlestep() 239 struct kprobe_ctlblk *kcb; in kprobe_handler() local 334 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
D | opt-arm.c | 153 struct kprobe_ctlblk *kcb; in optimized_callback() local
|
/linux-6.6.21/arch/ia64/kernel/ |
D | kprobes.c | 372 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 380 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 390 struct kprobe_ctlblk *kcb) in set_current_kprobe() 701 struct kprobe_ctlblk *kcb; in pre_kprobes_handler() local 796 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobes_handler() local 823 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() local
|
/linux-6.6.21/kernel/ |
D | kprobes.c | 1243 struct kprobe_ctlblk *kcb; in kprobe_busy_begin() local 2147 struct kprobe_ctlblk *kcb; in kretprobe_rethook_handler() local
|