/linux-master/arch/mips/kernel/ |
H A D | kprobes.c | 162 static void save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 164 kcb->prev_kprobe.kp = kprobe_running(); 165 kcb->prev_kprobe.status = kcb->kprobe_status; 166 kcb->prev_kprobe.old_SR = kcb->kprobe_old_SR; 167 kcb->prev_kprobe.saved_SR = kcb->kprobe_saved_SR; 168 kcb->prev_kprobe.saved_epc = kcb 171 restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 180 set_current_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 201 evaluate_branch_instruction(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 235 prepare_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 266 resume_execution(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 284 struct kprobe_ctlblk *kcb; local 382 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 411 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
/linux-master/arch/riscv/kernel/probes/ |
H A D | kprobes.c | 43 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 49 post_kprobe_handler(p, kcb, regs); 136 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 138 kcb->prev_kprobe.kp = kprobe_running(); 139 kcb->prev_kprobe.status = kcb->kprobe_status; 142 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 144 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 145 kcb->kprobe_status = kcb 161 kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 168 kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 174 setup_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb, int reenter) argument 202 reenter_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 227 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 254 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 293 struct kprobe_ctlblk *kcb; local 342 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | ftrace.c | 11 struct kprobe_ctlblk *kcb; local 23 kcb = get_kprobe_ctlblk(); 32 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 41 kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
/linux-master/arch/parisc/kernel/ |
H A D | kprobes.c | 60 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 62 kcb->prev_kprobe.kp = kprobe_running(); 63 kcb->prev_kprobe.status = kcb->kprobe_status; 66 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 68 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 69 kcb->kprobe_status = kcb->prev_kprobe.status; 78 struct kprobe_ctlblk *kcb, struct pt_regs *regs) 80 kcb 77 setup_singlestep(struct kprobe *p, struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 88 struct kprobe_ctlblk *kcb; local 137 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | ftrace.c | 204 struct kprobe_ctlblk *kcb; local 225 kcb = get_kprobe_ctlblk(); 226 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 236 kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
/linux-master/arch/loongarch/kernel/ |
H A D | kprobes.c | 85 static void save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 87 kcb->prev_kprobe.kp = kprobe_running(); 88 kcb->prev_kprobe.status = kcb->kprobe_status; 92 static void restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 94 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 95 kcb->kprobe_status = kcb->prev_kprobe.status; 113 static void save_local_irqflag(struct kprobe_ctlblk *kcb, argument 116 kcb 121 restore_local_irqflag(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 128 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 155 setup_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb, int reenter) argument 183 reenter_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 209 struct kprobe_ctlblk *kcb; local 273 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 291 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | ftrace_dyn.c | 288 struct kprobe_ctlblk *kcb; local 302 kcb = get_kprobe_ctlblk(); 311 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 319 kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
/linux-master/arch/csky/kernel/probes/ |
H A D | kprobes.c | 70 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 75 post_kprobe_handler(kcb, regs); 133 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 135 kcb->prev_kprobe.kp = kprobe_running(); 136 kcb->prev_kprobe.status = kcb->kprobe_status; 139 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 141 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 142 kcb->kprobe_status = kcb 158 kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 165 kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 172 set_ss_context(struct kprobe_ctlblk *kcb, unsigned long addr, struct kprobe *p) argument 180 clear_ss_context(struct kprobe_ctlblk *kcb) argument 190 setup_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb, int reenter) argument 220 reenter_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 245 post_kprobe_handler(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 277 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 314 struct kprobe_ctlblk *kcb; local 363 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | ftrace.c | 12 struct kprobe_ctlblk *kcb; local 28 kcb = get_kprobe_ctlblk(); 38 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 47 kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
/linux-master/arch/sparc/kernel/ |
H A D | kprobes.c | 77 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 79 kcb->prev_kprobe.kp = kprobe_running(); 80 kcb->prev_kprobe.status = kcb->kprobe_status; 81 kcb->prev_kprobe.orig_tnpc = kcb->kprobe_orig_tnpc; 82 kcb->prev_kprobe.orig_tstate_pil = kcb->kprobe_orig_tstate_pil; 85 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 87 __this_cpu_write(current_kprobe, kcb 93 set_current_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 101 prepare_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 121 struct kprobe_ctlblk *kcb; local 277 resume_execution(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 296 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 323 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
/linux-master/arch/arm64/kernel/probes/ |
H A D | kprobes.c | 85 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 91 post_kprobe_handler(p, kcb, regs); 164 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 166 kcb->prev_kprobe.kp = kprobe_running(); 167 kcb->prev_kprobe.status = kcb->kprobe_status; 170 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 172 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 173 kcb->kprobe_status = kcb 186 kprobes_save_local_irqflag(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 193 kprobes_restore_local_irqflag(struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 200 setup_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb, int reenter) argument 227 reenter_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 252 post_kprobe_handler(struct kprobe *cur, struct kprobe_ctlblk *kcb, struct pt_regs *regs) argument 274 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 305 struct kprobe_ctlblk *kcb; local 353 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
/linux-master/arch/s390/kernel/ |
H A D | kprobes.c | 223 static void enable_singlestep(struct kprobe_ctlblk *kcb, argument 242 __local_ctl_store(9, 11, kcb->kprobe_saved_ctl); 243 kcb->kprobe_saved_imask = regs->psw.mask & 254 static void disable_singlestep(struct kprobe_ctlblk *kcb, argument 259 __local_ctl_load(9, 11, kcb->kprobe_saved_ctl); 261 regs->psw.mask |= kcb->kprobe_saved_imask; 268 * previous kprobe is stored in kcb->prev_kprobe. A stack of up to 271 static void push_kprobe(struct kprobe_ctlblk *kcb, struct kprobe *p) argument 273 kcb->prev_kprobe.kp = __this_cpu_read(current_kprobe); 274 kcb 284 pop_kprobe(struct kprobe_ctlblk *kcb) argument 292 kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) argument 316 struct kprobe_ctlblk *kcb; local 382 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 407 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 435 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | ftrace.c | 294 struct kprobe_ctlblk *kcb; local 315 kcb = get_kprobe_ctlblk(); 316 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 325 kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
/linux-master/arch/powerpc/kernel/ |
H A D | kprobes.c | 230 static nokprobe_inline void save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 232 kcb->prev_kprobe.kp = kprobe_running(); 233 kcb->prev_kprobe.status = kcb->kprobe_status; 234 kcb->prev_kprobe.saved_msr = kcb->kprobe_saved_msr; 237 static nokprobe_inline void restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 239 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 240 kcb->kprobe_status = kcb 244 set_current_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 307 struct kprobe_ctlblk *kcb; local 472 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 515 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | kprobes-ftrace.c | 20 struct kprobe_ctlblk *kcb; local 33 kcb = get_kprobe_ctlblk(); 44 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 52 kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
/linux-master/arch/arm/probes/kprobes/ |
H A D | core.c | 192 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 194 kcb->prev_kprobe.kp = kprobe_running(); 195 kcb->prev_kprobe.status = kcb->kprobe_status; 198 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 200 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 201 kcb->kprobe_status = kcb->prev_kprobe.status; 224 singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 239 struct kprobe_ctlblk *kcb; local 334 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | opt-arm.c | 153 struct kprobe_ctlblk *kcb; local 160 kcb = get_kprobe_ctlblk(); 166 kcb->kprobe_status = KPROBE_HIT_ACTIVE;
|
/linux-master/arch/arc/kernel/ |
H A D | kprobes.c | 79 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 81 kcb->prev_kprobe.kp = kprobe_running(); 82 kcb->prev_kprobe.status = kcb->kprobe_status; 85 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 87 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 88 kcb->kprobe_status = kcb->prev_kprobe.status; 197 struct kprobe_ctlblk *kcb; local 201 kcb 249 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 293 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
/linux-master/arch/sh/kernel/ |
H A D | kprobes.c | 121 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 123 kcb->prev_kprobe.kp = kprobe_running(); 124 kcb->prev_kprobe.status = kcb->kprobe_status; 127 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 129 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); 130 kcb->kprobe_status = kcb->prev_kprobe.status; 134 struct kprobe_ctlblk *kcb) 218 struct kprobe_ctlblk *kcb; local 133 set_current_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 314 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 363 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 416 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
/linux-master/arch/x86/kernel/kprobes/ |
H A D | ftrace.c | 21 struct kprobe_ctlblk *kcb; local 32 kcb = get_kprobe_ctlblk(); 41 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 49 kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
H A D | core.c | 845 save_previous_kprobe(struct kprobe_ctlblk *kcb) argument 847 kcb->prev_kprobe.kp = kprobe_running(); 848 kcb->prev_kprobe.status = kcb->kprobe_status; 849 kcb->prev_kprobe.old_flags = kcb->kprobe_old_flags; 850 kcb->prev_kprobe.saved_flags = kcb->kprobe_saved_flags; 854 restore_previous_kprobe(struct kprobe_ctlblk *kcb) argument 856 __this_cpu_write(current_kprobe, kcb 863 set_current_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 871 kprobe_post_process(struct kprobe *cur, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 891 setup_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb, int reenter) argument 948 resume_singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 966 reenter_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) argument 996 kprobe_is_ss(struct kprobe_ctlblk *kcb) argument 1010 struct kprobe_ctlblk *kcb; local 1064 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local [all...] |
H A D | opt.c | 187 struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); local 199 kcb->kprobe_status = KPROBE_HIT_ACTIVE;
|
/linux-master/kernel/ |
H A D | kprobes.c | 1243 struct kprobe_ctlblk *kcb; local 1247 kcb = get_kprobe_ctlblk(); 1248 kcb->kprobe_status = KPROBE_HIT_ACTIVE; 2154 struct kprobe_ctlblk *kcb; local 2161 kcb = get_kprobe_ctlblk(); 2162 kcb->kprobe_status = KPROBE_HIT_ACTIVE;
|