Home
last modified time | relevance | path

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

12

/linux-6.12.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-6.12.1/arch/riscv/kernel/probes/
Dkprobes.c20 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
23 post_kprobe_handler(struct kprobe *, struct kprobe_ctlblk *, struct pt_regs *);
43 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arch_simulate_insn()
128 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
134 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
153 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag()
160 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag()
168 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep()
196 struct kprobe_ctlblk *kcb) in reenter_kprobe()
219 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler()
[all …]
/linux-6.12.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()
157 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
163 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
179 static void __kprobes kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_save_local_irqflag()
186 static void __kprobes kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, in kprobes_restore_local_irqflag()
195 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep()
222 struct kprobe_ctlblk *kcb) in reenter_kprobe()
245 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) in post_kprobe_handler()
[all …]
/linux-6.12.1/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.12.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-6.12.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-6.12.1/arch/s390/kernel/
Dkprobes.c31 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
187 static void enable_singlestep(struct kprobe_ctlblk *kcb, in enable_singlestep()
218 static void disable_singlestep(struct kprobe_ctlblk *kcb, in disable_singlestep()
235 static void push_kprobe(struct kprobe_ctlblk *kcb, struct kprobe *p) in push_kprobe()
248 static void pop_kprobe(struct kprobe_ctlblk *kcb) in pop_kprobe()
256 static void kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) in kprobe_reenter_check()
280 struct kprobe_ctlblk *kcb; in kprobe_handler()
346 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in resume_execution()
371 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler()
399 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_trap_handler()
/linux-6.12.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-6.12.1/arch/sh/kernel/
Dkprobes.c18 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
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()
129 struct kprobe_ctlblk *kcb) in set_current_kprobe()
213 struct kprobe_ctlblk *kcb; in kprobe_handler()
309 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in post_kprobe_handler()
358 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
411 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_exceptions_notify()
/linux-6.12.1/arch/powerpc/kernel/
Dkprobes.c32 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
210 static nokprobe_inline void save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
217 static nokprobe_inline void restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
225 struct kprobe_ctlblk *kcb) in set_current_kprobe()
277 struct kprobe_ctlblk *kcb; in kprobe_handler()
399 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_post_handler()
442 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
/linux-6.12.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()
197 struct kprobe_ctlblk *kcb; in arc_kprobe_handler()
249 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in arc_post_kprobe_handler()
293 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); in kprobe_fault_handler()
/linux-6.12.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-6.12.1/arch/x86/kernel/kprobes/
Dcore.c62 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
845 save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
854 restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
864 struct kprobe_ctlblk *kcb) in set_current_kprobe()
872 struct kprobe_ctlblk *kcb) in kprobe_post_process()
892 struct kprobe_ctlblk *kcb, int reenter) in setup_singlestep()
949 struct kprobe_ctlblk *kcb) in resume_singlestep()
967 struct kprobe_ctlblk *kcb) in reenter_kprobe()
996 static nokprobe_inline int kprobe_is_ss(struct kprobe_ctlblk *kcb) in kprobe_is_ss()
1010 struct kprobe_ctlblk *kcb; in kprobe_int3_handler()
[all …]
/linux-6.12.1/include/linux/
Dkprobes.h188 DECLARE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
397 static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void) in get_kprobe_ctlblk()
399 return this_cpu_ptr(&kprobe_ctlblk); in get_kprobe_ctlblk()
/linux-6.12.1/arch/arm64/include/asm/
Dkprobes.h32 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/riscv/include/asm/
Dkprobes.h33 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/csky/include/asm/
Dkprobes.h33 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/arc/include/asm/
Dkprobes.h40 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/sh/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/sparc/include/asm/
Dkprobes.h43 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/parisc/include/asm/
Dkprobes.h47 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/mips/include/asm/
Dkprobes.h63 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/loongarch/include/asm/
Dkprobes.h41 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/s390/include/asm/
Dkprobes.h66 struct kprobe_ctlblk { struct
/linux-6.12.1/arch/arm/include/asm/
Dkprobes.h36 struct kprobe_ctlblk { struct

12