/linux/arch/riscv/kernel/probes/ |
A D | kprobes.c | 118 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 124 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 162 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 164 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 185 switch (kcb->kprobe_status) { in reenter_kprobe() 213 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 219 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 235 switch (kcb->kprobe_status) { in kprobe_fault_handler() 248 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler() 287 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_breakpoint_handler() [all …]
|
A D | ftrace.c | 32 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 41 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/linux/arch/sh/kernel/ |
A 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() 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() 377 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | kprobes.c | 203 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 210 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 337 if (kcb->kprobe_status == KPROBE_HIT_SS && is_trap(insn)) { in kprobe_handler() 354 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 368 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 384 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 391 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 466 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_post_handler() 475 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_post_handler() 501 switch(kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
A D | kprobes-ftrace.c | 44 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 52 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/linux/arch/sparc/kernel/ |
A 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 …]
|
/linux/arch/arm64/kernel/probes/ |
A 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 …]
|
/linux/arch/arc/kernel/ |
A 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()
|
/linux/arch/csky/kernel/probes/ |
A D | kprobes.c | 132 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 138 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 195 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 197 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 220 switch (kcb->kprobe_status) { in reenter_kprobe() 253 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 259 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 275 switch (kcb->kprobe_status) { in kprobe_fault_handler() 288 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler() 325 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_breakpoint_handler()
|
A D | ftrace.c | 38 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 47 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/linux/arch/mips/kernel/ |
A 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 …]
|
/linux/arch/parisc/kernel/ |
A 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()
|
A D | ftrace.c | 226 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 236 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/linux/arch/arm/probes/kprobes/ |
A 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()
|
/linux/arch/s390/kernel/ |
A D | kprobes.c | 268 kcb->prev_kprobe.status = kcb->kprobe_status; in push_kprobe() 281 kcb->kprobe_status = kcb->prev_kprobe.status; in pop_kprobe() 297 switch (kcb->kprobe_status) { in kprobe_reenter_check() 344 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 354 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 360 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 443 if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) { in post_kprobe_handler() 444 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 470 switch(kcb->kprobe_status) { in kprobe_trap_handler()
|
A D | ftrace.c | 305 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 314 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/linux/arch/x86/kernel/kprobes/ |
A D | core.c | 781 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 790 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 820 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_post_process() 825 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_post_process() 855 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 857 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 910 switch (kcb->kprobe_status) { in reenter_kprobe() 940 kcb->kprobe_status == KPROBE_REENTER); in kprobe_is_ss() 972 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_int3_handler() 1118 kcb->kprobe_status != KPROBE_REENTER); in kprobe_fault_handler() [all …]
|
A D | ftrace.c | 41 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler() 49 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
|
/linux/arch/ia64/kernel/ |
A 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() 714 if ((kcb->kprobe_status == KPROBE_HIT_SS) && in pre_kprobes_handler() 729 kcb->kprobe_status = KPROBE_REENTER; in pre_kprobes_handler() 763 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in pre_kprobes_handler() 785 kcb->kprobe_status = KPROBE_HIT_SS; in pre_kprobes_handler() 801 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler() 802 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobes_handler() 809 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobes_handler() 826 switch(kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/linux/arch/arm64/include/asm/ |
A D | kprobes.h | 33 unsigned int kprobe_status; member
|
/linux/arch/riscv/include/asm/ |
A D | kprobes.h | 34 unsigned int kprobe_status; member
|
/linux/arch/csky/include/asm/ |
A D | kprobes.h | 34 unsigned int kprobe_status; member
|
/linux/arch/parisc/include/asm/ |
A D | kprobes.h | 46 unsigned int kprobe_status; member
|
/linux/arch/arc/include/asm/ |
A D | kprobes.h | 44 unsigned int kprobe_status; member
|
/linux/arch/sh/include/asm/ |
A D | kprobes.h | 44 unsigned long kprobe_status; member
|