Lines Matching refs:optinsn
68 memcpy(buf + 1, op->optinsn.copied_insn, DISP32_SIZE); in __recover_optprobed_insn()
71 memcpy(buf, op->optinsn.copied_insn + offs, DISP32_SIZE - offs); in __recover_optprobed_insn()
346 for (i = 1; i < op->optinsn.size; i++) { in arch_check_optimized_kprobe()
360 op->kp.addr + op->optinsn.size > addr); in arch_within_optimized_kprobe()
367 u8 *slot = op->optinsn.insn; in __arch_remove_optimized_kprobe()
369 int len = TMPL_END_IDX + op->optinsn.size + JMP32_INSN_SIZE; in __arch_remove_optimized_kprobe()
376 op->optinsn.insn = NULL; in __arch_remove_optimized_kprobe()
377 op->optinsn.size = 0; in __arch_remove_optimized_kprobe()
405 op->optinsn.insn = slot = get_optinsn_slot(); in arch_prepare_optimized_kprobe()
429 op->optinsn.size = ret; in arch_prepare_optimized_kprobe()
430 len = TMPL_END_IDX + op->optinsn.size; in arch_prepare_optimized_kprobe()
443 (u8 *)op->kp.addr + op->optinsn.size); in arch_prepare_optimized_kprobe()
479 s32 rel = (s32)((long)op->optinsn.insn - in arch_optimize_kprobes()
485 memcpy(op->optinsn.copied_insn, op->kp.addr + INT3_INSN_SIZE, in arch_optimize_kprobes()
512 op->optinsn.copied_insn, in arch_unoptimize_kprobe()
548 regs->ip = (unsigned long)op->optinsn.insn + TMPL_END_IDX; in setup_detour_execution()