Home
last modified time | relevance | path

Searched refs:kprobe_ctlblk (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.6.21/arch/csky/kernel/probes/
Dkprobes.c17 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
20 post_kprobe_handler(struct kprobe_ctlblk *, struct pt_regs *);
70 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn()
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()
[all …]
/linux-6.6.21/arch/riscv/kernel/probes/
Dkprobes.c19 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
22 post_kprobe_handler(struct kprobe *, struct kprobe_ctlblk *, struct pt_regs *);
43 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn()
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()
[all …]
/linux-6.6.21/arch/arm64/kernel/probes/
Dkprobes.c39 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
42 post_kprobe_handler(struct kprobe *, struct kprobe_ctlblk *, struct pt_regs *);
85 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn()
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()
[all …]
/linux-6.6.21/arch/loongarch/kernel/
Dkprobes.c11 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
273 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_singlestep_handler()
[all …]
/linux-6.6.21/arch/parisc/kernel/
Dkprobes.c18 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
137 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in parisc_kprobe_ss_handler()
/linux-6.6.21/arch/mips/kernel/
Dkprobes.c45 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
382 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler()
411 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
/linux-6.6.21/arch/s390/kernel/
Dkprobes.c31 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
375 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in resume_execution()
400 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler()
428 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_trap_handler()
/linux-6.6.21/arch/sparc/kernel/
Dkprobes.c46 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-6.6.21/arch/sh/kernel/
Dkprobes.c18 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-6.6.21/arch/arc/kernel/
Dkprobes.c21 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-6.6.21/arch/powerpc/kernel/
Dkprobes.c32 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
466 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_post_handler()
509 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
/linux-6.6.21/arch/arm/probes/kprobes/
Dcore.c45 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
334 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
/linux-6.6.21/arch/x86/kernel/kprobes/
Dcore.c62 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
[all …]
/linux-6.6.21/arch/ia64/kernel/
Dkprobes.c26 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-6.6.21/include/linux/
Dkprobes.h193 DECLARE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
407 static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void) in get_kprobe_ctlblk()
409 return this_cpu_ptr(&kprobe_ctlblk); in get_kprobe_ctlblk()
/linux-6.6.21/arch/arm64/include/asm/
Dkprobes.h32 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/riscv/include/asm/
Dkprobes.h33 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/csky/include/asm/
Dkprobes.h33 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/arc/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/parisc/include/asm/
Dkprobes.h46 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/sh/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/loongarch/include/asm/
Dkprobes.h41 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/mips/include/asm/
Dkprobes.h63 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/sparc/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/linux-6.6.21/arch/s390/include/asm/
Dkprobes.h65 struct kprobe_ctlblk { struct

12