Searched refs:instrlen (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/loongarch/kernel/ |
D | alternative.c | 206 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.12.1/arch/x86/kernel/ |
D | alternative.c | 318 static void __apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t r… in __apply_relocation() argument 320 for (int next, i = 0; i < instrlen; i = next) { in __apply_relocation() 372 void apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t repl_len) in apply_relocation() argument 374 __apply_relocation(buf, instr, instrlen, repl, repl_len); in apply_relocation() 375 optimize_nops(instr, buf, instrlen); in apply_relocation() 405 if (a->instrlen != 6 || in alt_replace_call() 417 target = *(void **)(instr + a->instrlen + disp); in alt_replace_call() 488 u8 len = max(a->instrlen, b->instrlen); in apply_alternatives() 489 a->instrlen = b->instrlen = len; in apply_alternatives() 494 BUG_ON(a->instrlen > sizeof(insn_buff)); in apply_alternatives() [all …]
|
/linux-6.12.1/arch/s390/kernel/ |
D | alternative.c | 39 s390_kernel_write(instr, replacement, a->instrlen); in __apply_alternatives()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | alternative.h | 16 u8 instrlen; /* length of original instruction */ member
|
/linux-6.12.1/arch/s390/include/asm/ |
D | alternative.h | 70 u8 instrlen; /* length of original instruction */ member
|
/linux-6.12.1/arch/x86/include/asm/ |
D | text-patching.h | 18 extern void apply_relocation(u8 *buf, const u8 * const instr, size_t instrlen, u8 *repl, size_t rep…
|
D | alternative.h | 88 u8 instrlen; /* length of original instruction */ member
|