Home
last modified time | relevance | path

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

12

/Linux-v6.1/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 *);
42 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn()
115 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
121 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
140 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag()
147 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag()
155 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep()
183 struct kprobe_ctlblk *kcb) in reenter_kprobe()
206 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/s390/kernel/
Dkprobes.c30 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
224 static void enable_singlestep(struct kprobe_ctlblk *kcb, in enable_singlestep()
248 static void disable_singlestep(struct kprobe_ctlblk *kcb, in disable_singlestep()
265 static void push_kprobe(struct kprobe_ctlblk *kcb, struct kprobe *p) in push_kprobe()
278 static void pop_kprobe(struct kprobe_ctlblk *kcb) in pop_kprobe()
295 static void kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) in kprobe_reenter_check()
319 struct kprobe_ctlblk *kcb; in kprobe_handler()
405 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in resume_execution()
430 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler()
459 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_trap_handler()
/Linux-v6.1/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-v6.1/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-v6.1/arch/powerpc/kernel/
Dkprobes.c32 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
227 static nokprobe_inline void save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
234 static nokprobe_inline void restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
242 struct kprobe_ctlblk *kcb) in set_current_kprobe()
304 struct kprobe_ctlblk *kcb; in kprobe_handler()
469 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_post_handler()
512 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
Dkprobes-ftrace.c20 struct kprobe_ctlblk *kcb; in kprobe_ftrace_handler()
/Linux-v6.1/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-v6.1/arch/x86/kernel/kprobes/
Dcore.c60 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
786 save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
795 restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
805 struct kprobe_ctlblk *kcb) in set_current_kprobe()
813 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-v6.1/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-v6.1/include/linux/
Dkprobes.h193 DECLARE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
410 static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void) in get_kprobe_ctlblk()
412 return this_cpu_ptr(&kprobe_ctlblk); in get_kprobe_ctlblk()
/Linux-v6.1/arch/arm64/include/asm/
Dkprobes.h32 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/riscv/include/asm/
Dkprobes.h33 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/csky/include/asm/
Dkprobes.h33 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/parisc/include/asm/
Dkprobes.h46 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/arc/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/sh/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/sparc/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/mips/include/asm/
Dkprobes.h63 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/s390/include/asm/
Dkprobes.h65 struct kprobe_ctlblk { struct
/Linux-v6.1/arch/arm/include/asm/
Dkprobes.h36 struct kprobe_ctlblk { struct

12