Home
last modified time | relevance | path

Searched refs:instrlen (Results 1 – 5 of 5) sorted by relevance

/linux/arch/loongarch/kernel/
H A Dalternative.c207 BUG_ON(a->instrlen > sizeof(insnbuf)); in apply_alternatives()
208 BUG_ON(a->instrlen & 0x3); in apply_alternatives()
211 nr_instr = a->instrlen / LOONGARCH_INSN_SIZE; in apply_alternatives()
216 a->feature, instr, a->instrlen, in apply_alternatives()
223 a->feature, instr, a->instrlen, in apply_alternatives()
/linux/arch/loongarch/include/asm/
H A Dalternative.h16 u8 instrlen; /* length of original instruction */ member
/linux/arch/x86/kernel/
H A Dalternative.c461 static void __apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t r… in __apply_relocation() argument
463 for (int next, i = 0; i < instrlen; i = next) { in __apply_relocation()
515 void text_poke_apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t … in text_poke_apply_relocation() argument
517 __apply_relocation(buf, instr, instrlen, repl, repl_len); in text_poke_apply_relocation()
518 optimize_nops(instr, buf, instrlen); in text_poke_apply_relocation()
548 if (a->instrlen != 6 || in alt_replace_call()
560 target = *(void **)(instr + a->instrlen + disp); in alt_replace_call()
606 ps->len = max(ps->len, alt->instrlen); in analyze_patch_site()
/linux/arch/s390/include/asm/
H A Dalternative.h71 u8 instrlen; /* length of original instruction */ member
/linux/arch/x86/include/asm/
H A Dtext-patching.h18 extern void text_poke_apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, …