Lines Matching full:repl
311 * @replacement/@repl: pointer to the opcodes which are replacing @instr, located
485 static void __apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t r… in __apply_relocation() argument
506 if (need_reloc(next + insn.immediate.value, repl, repl_len)) { in __apply_relocation()
509 repl - instr); in __apply_relocation()
517 imm += repl - instr; in __apply_relocation()
530 if (need_reloc(next + insn.displacement.value, repl, repl_len)) { in __apply_relocation()
533 repl - instr); in __apply_relocation()
539 void text_poke_apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t … in text_poke_apply_relocation() argument
541 __apply_relocation(buf, instr, instrlen, repl, repl_len); in text_poke_apply_relocation()
677 DPRINTK(ALT, "feat: %d*32+%d, old: (%pS (%px) len: %d), repl: (%px, len: %d) flags: 0x%x", in apply_alternatives()
996 DUMP_BYTES(RETPOLINE, ((u8*)bytes), len, "%px: repl: ", addr); in apply_retpolines()
1083 DUMP_BYTES(RET, ((u8*)bytes), len, "%px: repl: ", addr); in apply_returns()
1142 DUMP_BYTES(ENDBR, ((u8*)&poison), 4, "%px: repl: ", addr); in poison_endbr()