Lines Matching refs:patch_instruction
154 patch_instruction(addr, PPC_INST_ADDIS | ___PPC_RT(4) | in patch_imm32_load_insns()
159 patch_instruction(addr, PPC_INST_ORI | ___PPC_RA(4) | in patch_imm32_load_insns()
170 patch_instruction(addr, PPC_INST_ADDIS | ___PPC_RT(3) | in patch_imm64_load_insns()
175 patch_instruction(addr, PPC_INST_ORI | ___PPC_RA(3) | in patch_imm64_load_insns()
180 patch_instruction(addr, PPC_INST_RLDICR | ___PPC_RA(3) | in patch_imm64_load_insns()
185 patch_instruction(addr, PPC_INST_ORIS | ___PPC_RA(3) | in patch_imm64_load_insns()
190 patch_instruction(addr, PPC_INST_ORI | ___PPC_RA(3) | in patch_imm64_load_insns()
237 rc = patch_instruction(buff + i, *(optprobe_template_entry + i)); in arch_prepare_optimized_kprobe()
269 patch_instruction(buff + TMPL_CALL_HDLR_IDX, branch_op_callback); in arch_prepare_optimized_kprobe()
270 patch_instruction(buff + TMPL_EMULATE_IDX, branch_emulate_step); in arch_prepare_optimized_kprobe()
322 patch_instruction(op->kp.addr, in arch_optimize_kprobes()