/arch/x86/kernel/kprobes/ |
D | opt.c | 40 struct kprobe *kp; in __recover_optprobed_insn() local 45 kp = get_kprobe((void *)addr - i); in __recover_optprobed_insn() 47 if (kp && kprobe_optimized(kp)) { in __recover_optprobed_insn() 48 op = container_of(kp, struct optimized_kprobe, kp); in __recover_optprobed_insn() 66 if (addr == (unsigned long)kp->addr) { in __recover_optprobed_insn() 67 buf[0] = kp->opcode; in __recover_optprobed_insn() 70 offs = addr - (unsigned long)kp->addr - 1; in __recover_optprobed_insn() 175 if (kprobe_disabled(&op->kp)) in optimized_callback() 180 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 188 regs->ip = (unsigned long)op->kp.addr + INT3_INSN_SIZE; in optimized_callback() [all …]
|
D | core.c | 196 struct kprobe *kp; in __recover_probed_insn() local 199 kp = get_kprobe((void *)addr); in __recover_probed_insn() 212 if (!kp && !faddr) in __recover_probed_insn() 241 buf[0] = kp->opcode; in __recover_probed_insn() 785 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 794 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
|
/arch/arm/probes/kprobes/ |
D | opt-arm.c | 125 static int can_optimize(struct kprobe *kp) in can_optimize() argument 127 if (kp->ainsn.stack_space < 0) in can_optimize() 133 if (kp->ainsn.stack_space > 255 - sizeof(struct pt_regs)) in can_optimize() 152 struct kprobe *p = &op->kp; in optimized_callback() 156 regs->ARM_pc = (unsigned long)op->kp.addr; in optimized_callback() 163 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 165 __this_cpu_write(current_kprobe, &op->kp); in optimized_callback() 167 opt_pre_handler(&op->kp, regs); in optimized_callback() 176 op->kp.ainsn.insn_singlestep(p->opcode, &p->ainsn, regs); in optimized_callback() 264 (unsigned long)(op->kp.addr) + 4); in NOKPROBE_SYMBOL() [all …]
|
/arch/powerpc/kernel/ |
D | optprobes.c | 100 if (kprobe_disabled(&op->kp)) in optimized_callback() 106 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 108 __this_cpu_write(current_kprobe, &op->kp); in optimized_callback() 109 regs_set_return_ip(regs, (unsigned long)op->kp.addr); in optimized_callback() 111 opt_pre_handler(&op->kp, regs); in optimized_callback() 281 memcpy(op->optinsn.copied_insn, op->kp.addr, RELATIVEJUMP_SIZE); in arch_optimize_kprobes() 282 create_branch(&instr, op->kp.addr, (unsigned long)op->optinsn.insn, 0); in arch_optimize_kprobes() 283 patch_instruction(op->kp.addr, instr); in arch_optimize_kprobes() 290 arch_arm_kprobe(&op->kp); in arch_unoptimize_kprobe() 306 return ((unsigned long)op->kp.addr <= addr && in arch_within_optimized_kprobe() [all …]
|
/arch/s390/lib/ |
D | test_unwind.c | 160 struct kprobe kp; in unwindme_func4() local 164 memset(&kp, 0, sizeof(kp)); in unwindme_func4() 165 kp.symbol_name = "do_report_trap"; in unwindme_func4() 166 kp.pre_handler = pgm_pre_handler; in unwindme_func4() 167 ret = register_kprobe(&kp); in unwindme_func4() 183 unregister_kprobe(&kp); in unwindme_func4()
|
/arch/arm64/include/asm/ |
D | kprobes.h | 27 struct kprobe *kp; member
|
/arch/riscv/include/asm/ |
D | kprobes.h | 28 struct kprobe *kp; member
|
/arch/csky/include/asm/ |
D | kprobes.h | 22 struct kprobe *kp; member
|
/arch/arm/boot/dts/ |
D | imx53-kp-ddc.dts | 8 #include "imx53-kp.dtsi" 105 imx53-kp-ddc {
|
D | imx6q-kp-tpc.dts | 9 #include "imx6q-kp.dtsi"
|
D | imx53-kp-hsc.dts | 8 #include "imx53-kp.dtsi"
|
D | ste-href-family-pinctrl.dtsi | 106 function = "kp"; 166 function = "kp";
|
/arch/parisc/include/asm/ |
D | kprobes.h | 41 struct kprobe *kp; member
|
/arch/arc/include/asm/ |
D | kprobes.h | 39 struct kprobe *kp; member
|
/arch/sh/include/asm/ |
D | kprobes.h | 38 struct kprobe *kp; member
|
/arch/sparc/include/asm/ |
D | kprobes.h | 36 struct kprobe *kp; member
|
/arch/mips/include/asm/ |
D | kprobes.h | 53 struct kprobe *kp; member
|
/arch/s390/include/asm/ |
D | kprobes.h | 60 struct kprobe *kp; member
|
/arch/microblaze/include/asm/ |
D | mmu.h | 45 unsigned long kp:1; /* User 'key' (normally 1) */ member
|
/arch/x86/platform/uv/ |
D | uv_nmi.c | 113 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64() argument 115 return sprintf(buffer, "%lu\n", local64_read((local64_t *)kp->arg)); in param_get_local64() 118 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64() argument 121 local64_set((local64_t *)kp->arg, 0); in param_set_local64() 196 static int param_get_action(char *buffer, const struct kernel_param *kp) in param_get_action() argument 201 static int param_set_action(const char *val, const struct kernel_param *kp) in param_set_action() argument
|
/arch/arm/include/asm/ |
D | kprobes.h | 31 struct kprobe *kp; member
|
/arch/parisc/kernel/ |
D | kprobes.c | 56 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 62 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe()
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 69 struct kprobe *kp; member
|
/arch/ia64/include/asm/ |
D | kprobes.h | 63 struct kprobe *kp; member
|
/arch/x86/include/asm/ |
D | kprobes.h | 104 struct kprobe *kp; member
|