Symbol: patch_instruction
arch/powerpc/include/asm/text-patching.h
101
return patch_instruction(addr, ppc_inst(val));
arch/powerpc/include/asm/text-patching.h
109
return patch_instruction(addr, ppc_inst(val));
arch/powerpc/include/asm/text-patching.h
123
return patch_instruction((u32 *)patch_site_addr(site), instr);
arch/powerpc/include/asm/text-patching.h
134
return patch_instruction(addr, ppc_inst((*addr & ~clr) | set));
arch/powerpc/include/asm/text-patching.h
75
int patch_instruction(u32 *addr, ppc_inst_t instr);
arch/powerpc/kernel/crash_dump.c
49
patch_instruction(p, ppc_inst(PPC_RAW_NOP()));
arch/powerpc/kernel/epapr_paravirt.c
41
patch_instruction(epapr_hypercall_start + i, inst);
arch/powerpc/kernel/epapr_paravirt.c
43
patch_instruction(epapr_ev_idle_start + i, inst);
arch/powerpc/kernel/jump_label.c
19
patch_instruction(addr, ppc_inst(PPC_RAW_NOP()));
arch/powerpc/kernel/kgdb.c
424
err = patch_instruction(addr, ppc_inst(BREAK_INSTR));
arch/powerpc/kernel/kgdb.c
439
err = patch_instruction(addr, ppc_inst(instr));
arch/powerpc/kernel/kprobes.c
165
patch_instruction(p->ainsn.insn, insn);
arch/powerpc/kernel/kprobes.c
176
WARN_ON_ONCE(patch_instruction(p->addr, ppc_inst(BREAKPOINT_INSTRUCTION)));
arch/powerpc/kernel/kprobes.c
182
WARN_ON_ONCE(patch_instruction(p->addr, ppc_inst(p->opcode)));
arch/powerpc/kernel/module_32.c
177
if (patch_instruction(&entry->jump[0], ppc_inst(PPC_RAW_LIS(_R12, PPC_HA(val)))))
arch/powerpc/kernel/module_32.c
179
if (patch_instruction(&entry->jump[1], ppc_inst(PPC_RAW_ADDI(_R12, _R12, PPC_LO(val)))))
arch/powerpc/kernel/module_32.c
181
if (patch_instruction(&entry->jump[2], ppc_inst(PPC_RAW_MTCTR(_R12))))
arch/powerpc/kernel/module_32.c
183
if (patch_instruction(&entry->jump[3], ppc_inst(PPC_RAW_BCTR())))
arch/powerpc/kernel/module_32.c
193
return patch_instruction(loc, ppc_inst((*loc & 0xffff0000) | value));
arch/powerpc/kernel/module_32.c
261
if (patch_instruction(location, ppc_inst(value)))
arch/powerpc/kernel/module_64.c
639
if (patch_instruction(&entry->jump[i],
arch/powerpc/kernel/module_64.c
656
if (patch_instruction(&entry->jump[0],
arch/powerpc/kernel/module_64.c
671
if (patch_instruction(&entry->jump[0],
arch/powerpc/kernel/module_64.c
675
if (patch_instruction(&entry->jump[1],
arch/powerpc/kernel/module_64.c
790
return patch_instruction(instruction, ppc_inst(PPC_INST_LD_TOC));
arch/powerpc/kernel/module_64.c
938
if (patch_instruction((u32 *)location, ppc_inst(value)))
arch/powerpc/kernel/module_64.c
986
if (patch_instruction((u32 *)location,
arch/powerpc/kernel/module_64.c
992
if (patch_instruction((u32 *)location,
arch/powerpc/kernel/optprobes.c
129
patch_instruction(addr++, ppc_inst(PPC_RAW_LIS(reg, PPC_HI(val))));
arch/powerpc/kernel/optprobes.c
130
patch_instruction(addr, ppc_inst(PPC_RAW_ORI(reg, reg, PPC_LO(val))));
arch/powerpc/kernel/optprobes.c
139
patch_instruction(addr++, ppc_inst(PPC_RAW_LIS(reg, PPC_HIGHEST(val))));
arch/powerpc/kernel/optprobes.c
140
patch_instruction(addr++, ppc_inst(PPC_RAW_ORI(reg, reg, PPC_HIGHER(val))));
arch/powerpc/kernel/optprobes.c
141
patch_instruction(addr++, ppc_inst(PPC_RAW_SLDI(reg, reg, 32)));
arch/powerpc/kernel/optprobes.c
142
patch_instruction(addr++, ppc_inst(PPC_RAW_ORIS(reg, reg, PPC_HI(val))));
arch/powerpc/kernel/optprobes.c
143
patch_instruction(addr, ppc_inst(PPC_RAW_ORI(reg, reg, PPC_LO(val))));
arch/powerpc/kernel/optprobes.c
195
rc = patch_instruction(buff + i, ppc_inst(*(optprobe_template_entry + i)));
arch/powerpc/kernel/optprobes.c
225
patch_instruction(buff + TMPL_CALL_HDLR_IDX, branch_op_callback);
arch/powerpc/kernel/optprobes.c
226
patch_instruction(buff + TMPL_EMULATE_IDX, branch_emulate_step);
arch/powerpc/kernel/optprobes.c
279
patch_instruction(op->kp.addr, instr);
arch/powerpc/kernel/setup_32.c
92
patch_instruction(addr, insn); /* replace b by bne cr0 */
arch/powerpc/kernel/static_call.c
20
err = patch_instruction(site, ppc_inst(PPC_RAW_BLR()));
arch/powerpc/kernel/static_call.c
31
err = patch_instruction(site, ppc_inst(PPC_RAW_NOP()));
arch/powerpc/kernel/static_call.c
33
err = patch_instruction(site, ppc_inst(PPC_RAW_LI(_R3, 0)));
arch/powerpc/kernel/static_call.c
48
err = patch_instruction(tramp, ppc_inst(PPC_RAW_BLR()));
arch/powerpc/kernel/static_call.c
54
err = patch_instruction(tramp, ppc_inst(PPC_RAW_NOP()));
arch/powerpc/kernel/trace/ftrace.c
108
ret = patch_instruction((u32 *)ip, new);
arch/powerpc/kernel/trace/ftrace.c
538
ret = patch_instruction((u32 *)ip, new);
arch/powerpc/kernel/trace/ftrace_64_pg.c
226
if (patch_instruction((u32 *)ip, pop)) {
arch/powerpc/kernel/trace/ftrace_64_pg.c
357
if (patch_instruction((u32 *)ip, ppc_inst(PPC_RAW_NOP()))) {
arch/powerpc/kernel/trace/ftrace_64_pg.c
83
return patch_instruction((u32 *)ip, new);
arch/powerpc/lib/code-patching.c
385
NOKPROBE_SYMBOL(patch_instruction);
arch/powerpc/lib/code-patching.c
411
NOKPROBE_SYMBOL(patch_instruction)
arch/powerpc/lib/code-patching.c
585
return patch_instruction(addr, instr);
arch/powerpc/lib/feature-fixups.c
155
patch_instruction(dest + j, ppc_inst(instrs[j]));
arch/powerpc/lib/feature-fixups.c
177
patch_instruction(dest, ppc_inst(instrs[0]));
arch/powerpc/lib/feature-fixups.c
178
patch_instruction(dest + 2, ppc_inst(instrs[2]));
arch/powerpc/lib/feature-fixups.c
181
patch_instruction(dest + 1, ppc_inst(instrs[1]));
arch/powerpc/lib/feature-fixups.c
182
patch_instruction(dest + 2, ppc_inst(instrs[2]));
arch/powerpc/lib/feature-fixups.c
183
patch_instruction(dest, ppc_inst(instrs[0]));
arch/powerpc/lib/feature-fixups.c
576
patch_instruction(start, ppc_inst(PPC_RAW_NOP()));
arch/powerpc/lib/test-code-patching.c
121
patch_instruction(iptr, instr);
arch/powerpc/lib/test-code-patching.c
345
patch_instruction(iptr, inst);
arch/powerpc/net/bpf_jit_comp.c
1120
return patch_instruction(ip, new_inst);
arch/powerpc/platforms/86xx/mpc86xx_smp.c
86
patch_instruction(vector, ppc_inst(save_vector));
arch/powerpc/xmon/xmon.c
938
patch_instruction(bp->instr, instr);
arch/powerpc/xmon/xmon.c
939
patch_instruction(ppc_inst_next(bp->instr, bp->instr),
arch/powerpc/xmon/xmon.c
943
if (patch_instruction((u32 *)bp->address,
arch/powerpc/xmon/xmon.c
984
&& patch_instruction(