Lines Matching refs:patch_instruction
150 patch_instruction(addr, PPC_INST_ADDIS | ___PPC_RT(4) | in patch_imm32_load_insns()
155 patch_instruction(addr, PPC_INST_ORI | ___PPC_RA(4) | in patch_imm32_load_insns()
166 patch_instruction(addr, PPC_INST_ADDIS | ___PPC_RT(3) | in patch_imm64_load_insns()
171 patch_instruction(addr, PPC_INST_ORI | ___PPC_RA(3) | in patch_imm64_load_insns()
176 patch_instruction(addr, PPC_INST_RLDICR | ___PPC_RA(3) | in patch_imm64_load_insns()
181 patch_instruction(addr, PPC_INST_ORIS | ___PPC_RA(3) | in patch_imm64_load_insns()
186 patch_instruction(addr, PPC_INST_ORI | ___PPC_RA(3) | in patch_imm64_load_insns()
233 rc = patch_instruction(buff + i, *(optprobe_template_entry + i)); in arch_prepare_optimized_kprobe()
265 patch_instruction(buff + TMPL_CALL_HDLR_IDX, branch_op_callback); in arch_prepare_optimized_kprobe()
266 patch_instruction(buff + TMPL_EMULATE_IDX, branch_emulate_step); in arch_prepare_optimized_kprobe()
318 patch_instruction(op->kp.addr, in arch_optimize_kprobes()