Searched refs:instrlen (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/loongarch/kernel/ |
| H A D | alternative.c | 207 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 D | alternative.h | 16 u8 instrlen; /* length of original instruction */ member
|
| /linux/arch/x86/kernel/ |
| H A D | alternative.c | 467 static void __apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t r… in __apply_relocation() argument 469 for (int next, i = 0; i < instrlen; i = next) { in __apply_relocation() 521 void text_poke_apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t … in text_poke_apply_relocation() argument 523 __apply_relocation(buf, instr, instrlen, repl, repl_len); in text_poke_apply_relocation() 524 optimize_nops(instr, buf, instrlen); in text_poke_apply_relocation() 554 if (a->instrlen != 6 || in alt_replace_call() 566 target = *(void **)(instr + a->instrlen + disp); in alt_replace_call() 612 ps->len = max(ps->len, alt->instrlen); in analyze_patch_site()
|
| /linux/arch/s390/include/asm/ |
| H A D | alternative.h | 71 u8 instrlen; /* length of original instruction */ member
|
| /linux/arch/x86/include/asm/ |
| H A D | text-patching.h | 18 extern void text_poke_apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, …
|
| H A D | alternative.h | 80 u8 instrlen; /* length of original instruction */ member
|