Lines Matching refs:optinsn
67 memcpy(buf + 1, op->optinsn.copied_insn, DISP32_SIZE); in __recover_optprobed_insn()
70 memcpy(buf, op->optinsn.copied_insn + offs, DISP32_SIZE - offs); in __recover_optprobed_insn()
354 for (i = 1; i < op->optinsn.size; i++) { in arch_check_optimized_kprobe()
368 (unsigned long)op->kp.addr + op->optinsn.size > addr); in arch_within_optimized_kprobe()
375 u8 *slot = op->optinsn.insn; in __arch_remove_optimized_kprobe()
377 int len = TMPL_END_IDX + op->optinsn.size + JMP32_INSN_SIZE; in __arch_remove_optimized_kprobe()
384 op->optinsn.insn = NULL; in __arch_remove_optimized_kprobe()
385 op->optinsn.size = 0; in __arch_remove_optimized_kprobe()
413 op->optinsn.insn = slot = get_optinsn_slot(); in arch_prepare_optimized_kprobe()
437 op->optinsn.size = ret; in arch_prepare_optimized_kprobe()
438 len = TMPL_END_IDX + op->optinsn.size; in arch_prepare_optimized_kprobe()
451 (u8 *)op->kp.addr + op->optinsn.size); in arch_prepare_optimized_kprobe()
487 s32 rel = (s32)((long)op->optinsn.insn - in arch_optimize_kprobes()
493 memcpy(op->optinsn.copied_insn, op->kp.addr + INT3_INSN_SIZE, in arch_optimize_kprobes()
520 op->optinsn.copied_insn, in arch_unoptimize_kprobe()
556 regs->ip = (unsigned long)op->optinsn.insn + TMPL_END_IDX; in setup_detour_execution()