/arch/x86/kernel/kprobes/ |
D | opt.c | 45 struct kprobe *kp; in __recover_optprobed_insn() local 50 kp = get_kprobe((void *)addr - i); in __recover_optprobed_insn() 52 if (kp && kprobe_optimized(kp)) { in __recover_optprobed_insn() 53 op = container_of(kp, struct optimized_kprobe, kp); in __recover_optprobed_insn() 68 if (addr == (unsigned long)kp->addr) { in __recover_optprobed_insn() 69 buf[0] = kp->opcode; in __recover_optprobed_insn() 72 offs = addr - (unsigned long)kp->addr - 1; in __recover_optprobed_insn() 148 if (kprobe_disabled(&op->kp)) in optimized_callback() 153 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 162 regs->ip = (unsigned long)op->kp.addr + INT3_SIZE; in optimized_callback() [all …]
|
D | core.c | 225 struct kprobe *kp; in __recover_probed_insn() local 227 kp = get_kprobe((void *)addr); in __recover_probed_insn() 229 if (!kp) in __recover_probed_insn() 245 memcpy(buf, kp->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in __recover_probed_insn() 246 buf[0] = kp->opcode; in __recover_probed_insn() 438 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 447 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 743 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_handler() 1016 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler() 1072 struct jprobe *jp = container_of(p, struct jprobe, kp); in longjmp_break_handler()
|
/arch/tile/kernel/ |
D | kprobes.c | 130 void __kprobes arch_disarm_kprobe(struct kprobe *kp) in arch_disarm_kprobe() argument 135 addr_wr = (unsigned long)kp->addr - MEM_SV_START + PAGE_OFFSET; in arch_disarm_kprobe() 137 if (probe_kernel_write((void *)addr_wr, &kp->opcode, in arch_disarm_kprobe() 138 sizeof(kp->opcode))) in arch_disarm_kprobe() 142 flush_insn_slot(kp); in arch_disarm_kprobe() 155 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 162 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 375 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/arch/arm/kernel/ |
D | kprobes.c | 155 struct kprobe *kp = p; in __arch_disarm_kprobe() local 156 void *addr = (void *)((uintptr_t)kp->addr & ~1); in __arch_disarm_kprobe() 158 __patch_text(addr, kp->opcode); in __arch_disarm_kprobe() 178 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 184 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 434 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_handler() 474 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler() 560 struct jprobe *jp = container_of(p, struct jprobe, kp); in longjmp_break_handler()
|
D | kprobes-test.c | 384 the_jprobe.kp.addr = (kprobe_opcode_t *)func; in test_jprobe() 394 the_jprobe.kp.flags = 0; /* Clear disable flag to allow reuse */ in test_jprobe() 429 the_kretprobe.kp.addr = (kprobe_opcode_t *)func; in test_kretprobe() 439 the_kretprobe.kp.flags = 0; /* Clear disable flag to allow reuse */ in test_kretprobe()
|
/arch/arm/include/asm/ |
D | kprobes.h | 37 struct kprobe *kp; member
|
/arch/avr32/include/asm/ |
D | kprobes.h | 31 struct kprobe *kp; member
|
/arch/arc/include/asm/ |
D | kprobes.h | 40 struct kprobe *kp; member
|
/arch/sparc/include/asm/ |
D | kprobes.h | 31 struct kprobe *kp; member
|
/arch/tile/include/asm/ |
D | kprobes.h | 46 struct kprobe *kp; member
|
/arch/sh/include/asm/ |
D | kprobes.h | 35 struct kprobe *kp; member
|
/arch/mips/include/asm/ |
D | kprobes.h | 60 struct kprobe *kp; member
|
/arch/s390/include/asm/ |
D | kprobes.h | 66 struct kprobe *kp; member
|
/arch/microblaze/include/asm/ |
D | mmu.h | 51 unsigned long kp:1; /* User 'key' (normally 1) */ member
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 91 struct kprobe *kp; member
|
/arch/x86/include/asm/ |
D | kprobes.h | 98 struct kprobe *kp; member
|
/arch/ia64/include/asm/ |
D | kprobes.h | 71 struct kprobe *kp; member
|
/arch/x86/platform/uv/ |
D | uv_nmi.c | 95 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64() argument 97 return sprintf(buffer, "%lu\n", local64_read((local64_t *)kp->arg)); in param_get_local64() 100 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64() argument 103 local64_set((local64_t *)kp->arg, 0); in param_set_local64()
|
/arch/sh/kernel/ |
D | kprobes.c | 126 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 132 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 339 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_probe_handler() 528 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/arch/arc/kernel/ |
D | kprobes.c | 84 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 90 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 391 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/arch/powerpc/kernel/ |
D | kprobes.c | 115 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 122 __get_cpu_var(current_kprobe) = kcb->prev_kprobe.kp; in restore_previous_kprobe() 502 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/arch/sparc/kernel/ |
D | kprobes.c | 78 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 86 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 446 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/arch/mips/kernel/ |
D | kprobes.c | 218 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 227 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 522 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/arch/s390/kernel/ |
D | kprobes.c | 221 kcb->prev_kprobe.kp = __this_cpu_read(current_kprobe); in push_kprobe() 233 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in pop_kprobe() 622 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/arch/avr32/kernel/ |
D | kprobes.c | 232 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|