/arch/riscv/kernel/probes/ |
D | kprobes.c | 138 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 144 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 182 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 184 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 205 switch (kcb->kprobe_status) { in reenter_kprobe() 233 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 239 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 255 switch (kcb->kprobe_status) { in kprobe_fault_handler() 268 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler() 307 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_breakpoint_handler() [all …]
|
D | ftrace.c | 33 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 42 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/arch/sh/kernel/ |
D | kprobes.c | 124 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 130 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 233 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler() 247 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 271 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 281 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 321 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 322 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 347 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 366 switch (kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/arch/parisc/kernel/ |
D | kprobes.c | 57 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 63 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 108 kcb->kprobe_status = KPROBE_REENTER; in parisc_kprobe_break_handler() 113 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in parisc_kprobe_break_handler() 123 kcb->kprobe_status = KPROBE_HIT_SS; in parisc_kprobe_break_handler() 143 if (kcb->kprobe_status == KPROBE_REENTER) { in parisc_kprobe_ss_handler() 173 kcb->kprobe_status = KPROBE_HIT_SSDONE; in parisc_kprobe_ss_handler()
|
/arch/arc/kernel/ |
D | kprobes.c | 82 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 88 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 216 kcb->kprobe_status = KPROBE_REENTER; in arc_kprobe_handler() 221 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in arc_kprobe_handler() 230 kcb->kprobe_status = KPROBE_HIT_SS; in arc_kprobe_handler() 265 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in arc_post_kprobe_handler() 266 kcb->kprobe_status = KPROBE_HIT_SSDONE; in arc_post_kprobe_handler() 270 if (kcb->kprobe_status == KPROBE_REENTER) { in arc_post_kprobe_handler() 294 switch (kcb->kprobe_status) { in kprobe_fault_handler() 305 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler()
|
/arch/arm64/kernel/probes/ |
D | kprobes.c | 152 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 158 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 194 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 196 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 216 switch (kcb->kprobe_status) { in reenter_kprobe() 244 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 249 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 261 switch (kcb->kprobe_status) { in kprobe_fault_handler() 274 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_fault_handler() 312 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() [all …]
|
/arch/sparc/kernel/ |
D | kprobes.c | 80 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 88 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 133 if (kcb->kprobe_status == KPROBE_HIT_SS) { in kprobe_handler() 147 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 177 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 185 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 301 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 302 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 309 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 326 switch(kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/arch/powerpc/kernel/ |
D | kprobes.c | 209 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 216 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 343 if (kcb->kprobe_status == KPROBE_HIT_SS && is_trap(insn)) { in kprobe_handler() 360 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 374 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 390 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 397 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 471 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_post_handler() 472 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_post_handler() 481 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_post_handler() [all …]
|
D | kprobes-ftrace.c | 45 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 53 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/arch/mips/kernel/ |
D | kprobes.c | 159 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 168 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 292 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler() 309 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 344 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 355 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 361 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 379 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 380 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 389 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() [all …]
|
/arch/csky/kernel/probes/ |
D | kprobes.c | 136 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 142 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 199 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 201 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 224 switch (kcb->kprobe_status) { in reenter_kprobe() 257 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 263 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 279 switch (kcb->kprobe_status) { in kprobe_fault_handler() 292 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler() 329 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_breakpoint_handler()
|
D | ftrace.c | 46 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 55 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/arch/arm/probes/kprobes/ |
D | core.c | 195 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 201 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 269 switch (kcb->kprobe_status) { in kprobe_handler() 277 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 293 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 303 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 306 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 336 switch (kcb->kprobe_status) { in kprobe_fault_handler() 347 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_fault_handler()
|
/arch/s390/kernel/ |
D | kprobes.c | 222 kcb->prev_kprobe.status = kcb->kprobe_status; in push_kprobe() 235 kcb->kprobe_status = kcb->prev_kprobe.status; in pop_kprobe() 252 switch (kcb->kprobe_status) { in kprobe_reenter_check() 299 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 309 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 315 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 399 if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) { in post_kprobe_handler() 400 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 424 switch(kcb->kprobe_status) { in kprobe_trap_handler()
|
/arch/x86/kernel/kprobes/ |
D | ftrace.c | 42 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 50 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
D | core.c | 786 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 795 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 825 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_post_process() 833 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_post_process() 864 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 866 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 919 switch (kcb->kprobe_status) { in reenter_kprobe() 948 return (kcb->kprobe_status == KPROBE_HIT_SS || in kprobe_is_ss() 949 kcb->kprobe_status == KPROBE_REENTER); in kprobe_is_ss() 981 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_int3_handler() [all …]
|
/arch/ia64/kernel/ |
D | kprobes.c | 377 kcb->prev_kprobe[i-1].status = kcb->kprobe_status; in save_previous_kprobe() 385 kcb->kprobe_status = kcb->prev_kprobe[i-1].status; in restore_previous_kprobe() 715 if ((kcb->kprobe_status == KPROBE_HIT_SS) && in pre_kprobes_handler() 730 kcb->kprobe_status = KPROBE_REENTER; in pre_kprobes_handler() 764 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in pre_kprobes_handler() 786 kcb->kprobe_status = KPROBE_HIT_SS; in pre_kprobes_handler() 802 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler() 803 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobes_handler() 810 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobes_handler() 827 switch(kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/arch/arm64/include/asm/ |
D | kprobes.h | 33 unsigned int kprobe_status; member
|
/arch/riscv/include/asm/ |
D | kprobes.h | 34 unsigned int kprobe_status; member
|
/arch/csky/include/asm/ |
D | kprobes.h | 34 unsigned int kprobe_status; member
|
/arch/parisc/include/asm/ |
D | kprobes.h | 46 unsigned int kprobe_status; member
|
/arch/arc/include/asm/ |
D | kprobes.h | 44 unsigned int kprobe_status; member
|
/arch/sh/include/asm/ |
D | kprobes.h | 44 unsigned long kprobe_status; member
|
/arch/sparc/include/asm/ |
D | kprobes.h | 44 unsigned long kprobe_status; member
|
/arch/mips/include/asm/ |
D | kprobes.h | 64 unsigned long kprobe_status; member
|