Home
last modified time | relevance | path

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

/linux-6.15/arch/loongarch/kernel/
H A Dalternative.c206 BUG_ON(a->instrlen > sizeof(insnbuf)); in apply_alternatives()
207 BUG_ON(a->instrlen & 0x3); in apply_alternatives()
210 nr_instr = a->instrlen / LOONGARCH_INSN_SIZE; in apply_alternatives()
215 a->feature, instr, a->instrlen, in apply_alternatives()
222 a->feature, instr, a->instrlen, in apply_alternatives()
/linux-6.15/arch/x86/kernel/
H A Dalternative.c488 for (int next, i = 0; i < instrlen; i = next) { in __apply_relocation()
543 optimize_nops(instr, buf, instrlen); in apply_relocation()
573 if (a->instrlen != 6 || in alt_replace_call()
585 target = *(void **)(instr + a->instrlen + disp); in alt_replace_call()
656 u8 len = max(a->instrlen, b->instrlen); in apply_alternatives()
657 a->instrlen = b->instrlen = len; in apply_alternatives()
662 BUG_ON(a->instrlen > sizeof(insn_buff)); in apply_alternatives()
672 memcpy(insn_buff, instr, a->instrlen); in apply_alternatives()
673 optimize_nops(instr, insn_buff, a->instrlen); in apply_alternatives()
674 text_poke_early(instr, insn_buff, a->instrlen); in apply_alternatives()
[all …]
/linux-6.15/arch/s390/kernel/
H A Dalternative.c87 alternative_dump(old, new, a->instrlen, a->type, a->data); in __apply_alternatives()
88 s390_kernel_write(old, new, a->instrlen); in __apply_alternatives()
/linux-6.15/arch/loongarch/include/asm/
H A Dalternative.h16 u8 instrlen; /* length of original instruction */ member
/linux-6.15/arch/x86/include/asm/
H A Dtext-patching.h18 extern void apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t rep…
H A Dalternative.h80 u8 instrlen; /* length of original instruction */ member
/linux-6.15/arch/s390/include/asm/
H A Dalternative.h71 u8 instrlen; /* length of original instruction */ member