/Linux-v5.15/arch/csky/kernel/probes/ |
D | kprobes.c | 15 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 18 post_kprobe_handler(struct kprobe_ctlblk *, struct pt_regs *); 68 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn() 129 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 135 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 154 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag() 161 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag() 168 set_ss_context(struct kprobe_ctlblk *kcb, unsigned long addr, struct kprobe *p) in set_ss_context() 176 static void __kprobes clear_ss_context(struct kprobe_ctlblk *kcb) in clear_ss_context() 188 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() [all …]
|
/Linux-v5.15/arch/riscv/kernel/probes/ |
D | kprobes.c | 17 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 20 post_kprobe_handler(struct kprobe *, struct kprobe_ctlblk *, struct pt_regs *); 40 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn() 116 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 122 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 141 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag() 148 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag() 156 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 184 struct kprobe_ctlblk *kcb) in reenter_kprobe() 207 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler() [all …]
|
/Linux-v5.15/arch/arm64/kernel/probes/ |
D | kprobes.c | 36 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 39 post_kprobe_handler(struct kprobe *, struct kprobe_ctlblk *, struct pt_regs *); 67 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn() 146 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 152 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 168 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag() 175 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag() 184 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 211 struct kprobe_ctlblk *kcb) in reenter_kprobe() 234 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler() [all …]
|
/Linux-v5.15/arch/parisc/kernel/ |
D | kprobes.c | 17 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 54 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 60 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 72 struct kprobe_ctlblk *kcb, struct pt_regs *regs) in setup_singlestep() 84 struct kprobe_ctlblk *kcb; in parisc_kprobe_break_handler() 133 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in parisc_kprobe_ss_handler()
|
/Linux-v5.15/arch/mips/kernel/ |
D | kprobes.c | 43 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 155 static void save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 164 static void restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 174 struct kprobe_ctlblk *kcb) in set_current_kprobe() 195 struct kprobe_ctlblk *kcb) in evaluate_branch_instruction() 229 struct kprobe_ctlblk *kcb) in prepare_singlestep() 263 struct kprobe_ctlblk *kcb) in resume_execution() 278 struct kprobe_ctlblk *kcb; in kprobe_handler() 375 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() 404 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
|
/Linux-v5.15/arch/sparc/kernel/ |
D | kprobes.c | 46 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 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() 278 struct pt_regs *regs, struct kprobe_ctlblk *kcb) in resume_execution() 296 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() 323 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
|
/Linux-v5.15/arch/s390/kernel/ |
D | kprobes.c | 28 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 176 static void enable_singlestep(struct kprobe_ctlblk *kcb, in enable_singlestep() 200 static void disable_singlestep(struct kprobe_ctlblk *kcb, in disable_singlestep() 217 static void push_kprobe(struct kprobe_ctlblk *kcb, struct kprobe *p) in push_kprobe() 230 static void pop_kprobe(struct kprobe_ctlblk *kcb) in pop_kprobe() 247 static void kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) in kprobe_reenter_check() 271 struct kprobe_ctlblk *kcb; in kprobe_handler() 364 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in resume_execution() 389 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() 418 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_trap_handler()
|
/Linux-v5.15/arch/sh/kernel/ |
D | kprobes.c | 18 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 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() 314 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler() 363 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler() 416 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_exceptions_notify()
|
/Linux-v5.15/arch/arc/kernel/ |
D | kprobes.c | 21 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 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() 248 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arc_post_kprobe_handler() 292 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | kprobes.c | 32 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 200 static nokprobe_inline void save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 207 static nokprobe_inline void restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 215 struct kprobe_ctlblk *kcb) in set_current_kprobe() 290 struct kprobe_ctlblk *kcb; in kprobe_handler() 455 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_post_handler() 498 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
|
/Linux-v5.15/arch/arm/probes/kprobes/ |
D | core.c | 43 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 190 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 196 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 222 singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) in singlestep() 237 struct kprobe_ctlblk *kcb; in kprobe_handler() 332 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
|
/Linux-v5.15/arch/x86/kernel/kprobes/ |
D | core.c | 59 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 778 save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 787 restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe() 797 struct kprobe_ctlblk *kcb) in set_current_kprobe() 817 struct kprobe_ctlblk *kcb) in kprobe_post_process() 833 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep() 890 struct kprobe_ctlblk *kcb) in resume_singlestep() 908 struct kprobe_ctlblk *kcb) in reenter_kprobe() 937 static nokprobe_inline int kprobe_is_ss(struct kprobe_ctlblk *kcb) in kprobe_is_ss() 951 struct kprobe_ctlblk *kcb; in kprobe_int3_handler() [all …]
|
/Linux-v5.15/arch/ia64/kernel/ |
D | kprobes.c | 26 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 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() 796 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobes_handler() 823 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
|
/Linux-v5.15/include/linux/ |
D | kprobes.h | 182 DECLARE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 375 static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void) in get_kprobe_ctlblk() 377 return this_cpu_ptr(&kprobe_ctlblk); in get_kprobe_ctlblk()
|
/Linux-v5.15/arch/arm64/include/asm/ |
D | kprobes.h | 32 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/riscv/include/asm/ |
D | kprobes.h | 33 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/csky/include/asm/ |
D | kprobes.h | 33 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/parisc/include/asm/ |
D | kprobes.h | 45 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/arc/include/asm/ |
D | kprobes.h | 43 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/sh/include/asm/ |
D | kprobes.h | 43 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/mips/include/asm/ |
D | kprobes.h | 63 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/sparc/include/asm/ |
D | kprobes.h | 43 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/s390/include/asm/ |
D | kprobes.h | 65 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/arm/include/asm/ |
D | kprobes.h | 36 struct kprobe_ctlblk { struct
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | kprobes.h | 75 struct kprobe_ctlblk { struct
|