Home
last modified time | relevance | path

Searched refs:prev_kprobe (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/arch/mips/kernel/
Dkprobes.c164 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
165 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
166 kcb->prev_kprobe.old_SR = kcb->kprobe_old_SR; in save_previous_kprobe()
167 kcb->prev_kprobe.saved_SR = kcb->kprobe_saved_SR; in save_previous_kprobe()
168 kcb->prev_kprobe.saved_epc = kcb->kprobe_saved_epc; in save_previous_kprobe()
173 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
174 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
175 kcb->kprobe_old_SR = kcb->prev_kprobe.old_SR; in restore_previous_kprobe()
176 kcb->kprobe_saved_SR = kcb->prev_kprobe.saved_SR; in restore_previous_kprobe()
177 kcb->kprobe_saved_epc = kcb->prev_kprobe.saved_epc; in restore_previous_kprobe()
/linux-6.12.1/arch/arm64/include/asm/
Dkprobes.h26 struct prev_kprobe { struct
35 struct prev_kprobe prev_kprobe; member
/linux-6.12.1/arch/riscv/include/asm/
Dkprobes.h27 struct prev_kprobe { struct
36 struct prev_kprobe prev_kprobe; member
/linux-6.12.1/arch/csky/include/asm/
Dkprobes.h21 struct prev_kprobe { struct
36 struct prev_kprobe prev_kprobe; argument
/linux-6.12.1/arch/arc/include/asm/
Dkprobes.h35 struct prev_kprobe { struct
42 struct prev_kprobe prev_kprobe; argument
/linux-6.12.1/arch/sh/include/asm/
Dkprobes.h37 struct prev_kprobe { struct
45 struct prev_kprobe prev_kprobe; member
/linux-6.12.1/arch/sparc/include/asm/
Dkprobes.h35 struct prev_kprobe { struct
47 struct prev_kprobe prev_kprobe; member
/linux-6.12.1/arch/parisc/include/asm/
Dkprobes.h42 struct prev_kprobe { struct
49 struct prev_kprobe prev_kprobe; argument
/linux-6.12.1/arch/mips/include/asm/
Dkprobes.h52 struct prev_kprobe { struct
71 struct prev_kprobe prev_kprobe; argument
/linux-6.12.1/arch/loongarch/include/asm/
Dkprobes.h35 struct prev_kprobe { struct
44 struct prev_kprobe prev_kprobe; member
/linux-6.12.1/arch/sparc/kernel/
Dkprobes.c79 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
80 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
81 kcb->prev_kprobe.orig_tnpc = kcb->kprobe_orig_tnpc; in save_previous_kprobe()
82 kcb->prev_kprobe.orig_tstate_pil = kcb->kprobe_orig_tstate_pil; in save_previous_kprobe()
87 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
88 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
89 kcb->kprobe_orig_tnpc = kcb->prev_kprobe.orig_tnpc; in restore_previous_kprobe()
90 kcb->kprobe_orig_tstate_pil = kcb->prev_kprobe.orig_tstate_pil; in restore_previous_kprobe()
/linux-6.12.1/arch/s390/include/asm/
Dkprobes.h60 struct prev_kprobe { struct
70 struct prev_kprobe prev_kprobe; argument
/linux-6.12.1/arch/arm/include/asm/
Dkprobes.h30 struct prev_kprobe { struct
38 struct prev_kprobe prev_kprobe; argument
/linux-6.12.1/arch/powerpc/include/asm/
Dkprobes.h68 struct prev_kprobe { struct
78 struct prev_kprobe prev_kprobe; member
/linux-6.12.1/arch/x86/include/asm/
Dkprobes.h100 struct prev_kprobe { struct
112 struct prev_kprobe prev_kprobe; argument
/linux-6.12.1/arch/powerpc/kernel/
Dkprobes.c212 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
213 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
214 kcb->prev_kprobe.saved_msr = kcb->kprobe_saved_msr; in save_previous_kprobe()
219 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
220 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
221 kcb->kprobe_saved_msr = kcb->prev_kprobe.saved_msr; in restore_previous_kprobe()
/linux-6.12.1/arch/parisc/kernel/
Dkprobes.c62 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
63 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
68 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
69 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
/linux-6.12.1/arch/loongarch/kernel/
Dkprobes.c87 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
88 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
94 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
95 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
/linux-6.12.1/arch/s390/kernel/
Dkprobes.c237 kcb->prev_kprobe.kp = __this_cpu_read(current_kprobe); in push_kprobe()
238 kcb->prev_kprobe.status = kcb->kprobe_status; in push_kprobe()
250 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in pop_kprobe()
251 kcb->kprobe_status = kcb->prev_kprobe.status; in pop_kprobe()
252 kcb->prev_kprobe.kp = NULL; in pop_kprobe()
/linux-6.12.1/arch/arc/kernel/
Dkprobes.c81 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
82 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
87 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
88 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
/linux-6.12.1/arch/riscv/kernel/probes/
Dkprobes.c130 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
131 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
136 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
137 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
/linux-6.12.1/arch/arm64/kernel/probes/
Dkprobes.c159 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
160 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
165 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
166 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
/linux-6.12.1/arch/arm/probes/kprobes/
Dcore.c194 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
195 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
200 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
201 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
/linux-6.12.1/arch/csky/kernel/probes/
Dkprobes.c135 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
136 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
141 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
142 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
/linux-6.12.1/arch/x86/kernel/kprobes/
Dcore.c847 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe()
848 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
849 kcb->prev_kprobe.old_flags = kcb->kprobe_old_flags; in save_previous_kprobe()
850 kcb->prev_kprobe.saved_flags = kcb->kprobe_saved_flags; in save_previous_kprobe()
856 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
857 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
858 kcb->kprobe_old_flags = kcb->prev_kprobe.old_flags; in restore_previous_kprobe()
859 kcb->kprobe_saved_flags = kcb->prev_kprobe.saved_flags; in restore_previous_kprobe()

12