/arch/powerpc/kernel/ |
D | kprobes.c | 116 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 123 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 162 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler() 180 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 227 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 250 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 267 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 375 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 376 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 385 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() [all …]
|
/arch/sh/kernel/ |
D | kprobes.c | 127 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 133 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 235 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler() 249 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 278 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 286 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 381 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 382 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 407 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 426 switch (kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/arch/arc/kernel/ |
D | kprobes.c | 85 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 91 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 219 kcb->kprobe_status = KPROBE_REENTER; in arc_kprobe_handler() 224 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in arc_kprobe_handler() 235 kcb->kprobe_status = KPROBE_HIT_SS; in arc_kprobe_handler() 243 kcb->kprobe_status = KPROBE_HIT_SS; in arc_kprobe_handler() 274 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in arc_post_kprobe_handler() 275 kcb->kprobe_status = KPROBE_HIT_SSDONE; in arc_post_kprobe_handler() 279 if (kcb->kprobe_status == KPROBE_REENTER) { in arc_post_kprobe_handler() 303 switch (kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/arch/tile/kernel/ |
D | kprobes.c | 155 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 162 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 203 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler() 218 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 254 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 263 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 297 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 298 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 305 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 324 if (kcb->kprobe_status & KPROBE_HIT_SS) { in kprobe_fault_handler()
|
/arch/avr32/kernel/ |
D | kprobes.c | 22 static unsigned long kprobe_status; variable 129 if (kprobe_status == KPROBE_HIT_SS) { in kprobe_handler() 149 kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 157 kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 175 kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 195 if (kprobe_status & KPROBE_HIT_SS) { in kprobe_fault_handler()
|
/arch/arm/probes/kprobes/ |
D | core.c | 204 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 210 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 270 switch (kcb->kprobe_status) { in kprobe_handler() 278 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 294 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 304 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 307 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 323 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 326 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 355 switch (kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
D | opt-arm.c | 181 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in optimized_callback()
|
/arch/sparc/kernel/ |
D | kprobes.c | 79 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 87 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 132 if (kcb->kprobe_status == KPROBE_HIT_SS) { in kprobe_handler() 146 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 182 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 188 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 304 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 305 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 312 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() 329 switch(kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/arch/mips/kernel/ |
D | kprobes.c | 219 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 228 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 354 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler() 371 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 412 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 422 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler() 428 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 446 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 447 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler() 456 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler() [all …]
|
/arch/s390/kernel/ |
D | kprobes.c | 157 unsigned long status = kcb->kprobe_status; in swap_instruction() 180 kcb->kprobe_status = KPROBE_SWAP_INST; in swap_instruction() 182 kcb->kprobe_status = status; in swap_instruction() 253 kcb->prev_kprobe.status = kcb->kprobe_status; in push_kprobe() 266 kcb->kprobe_status = kcb->prev_kprobe.status; in pop_kprobe() 281 switch (kcb->kprobe_status) { in kprobe_reenter_check() 328 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler() 339 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 342 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 356 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler() [all …]
|
/arch/x86/kernel/kprobes/ |
D | core.c | 499 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe() 508 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe() 580 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep() 582 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep() 603 switch (kcb->kprobe_status) { in reenter_kprobe() 661 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_int3_handler() 969 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_debug_handler() 970 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_debug_handler() 975 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_debug_handler() 1002 WARN_ON(kcb->kprobe_status != KPROBE_HIT_SS && in kprobe_fault_handler() [all …]
|
D | ftrace.c | 38 kcb->kprobe_status = KPROBE_HIT_SSDONE; in __skip_singlestep() 84 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler()
|
/arch/ia64/kernel/ |
D | kprobes.c | 392 kcb->prev_kprobe[i-1].status = kcb->kprobe_status; in save_previous_kprobe() 400 kcb->kprobe_status = kcb->prev_kprobe[i-1].status; in restore_previous_kprobe() 805 if ((kcb->kprobe_status == KPROBE_HIT_SS) && in pre_kprobes_handler() 820 kcb->kprobe_status = KPROBE_REENTER; in pre_kprobes_handler() 862 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in pre_kprobes_handler() 887 kcb->kprobe_status = KPROBE_HIT_SS; in pre_kprobes_handler() 903 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler() 904 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobes_handler() 911 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobes_handler() 928 switch(kcb->kprobe_status) { in kprobe_fault_handler() [all …]
|
/arch/avr32/include/asm/ |
D | kprobes.h | 37 unsigned int kprobe_status; member
|
/arch/sparc/include/asm/ |
D | kprobes.h | 39 unsigned long kprobe_status; member
|
/arch/arc/include/asm/ |
D | kprobes.h | 45 unsigned int kprobe_status; member
|
/arch/tile/include/asm/ |
D | kprobes.h | 63 unsigned long kprobe_status; member
|
/arch/sh/include/asm/ |
D | kprobes.h | 41 unsigned long kprobe_status; member
|
/arch/mips/include/asm/ |
D | kprobes.h | 82 unsigned long kprobe_status; member
|
/arch/s390/include/asm/ |
D | kprobes.h | 73 unsigned long kprobe_status; member
|
/arch/arm/include/asm/ |
D | kprobes.h | 42 unsigned int kprobe_status; member
|
/arch/x86/include/asm/ |
D | kprobes.h | 106 unsigned long kprobe_status; member
|
/arch/ia64/include/asm/ |
D | kprobes.h | 79 unsigned long kprobe_status; member
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 124 unsigned long kprobe_status; member
|
/arch/mn10300/kernel/ |
D | kprobes.c | 38 static unsigned long kprobe_status; variable 469 kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler() 478 kprobe_status = KPROBE_HIT_SS; in kprobe_handler() 555 if (kprobe_status & KPROBE_HIT_SS) { in kprobe_fault_handler()
|