Home
last modified time | relevance | path

Searched refs:insnbuf (Results 1 – 2 of 2) sorted by relevance

/linux/arch/s390/kernel/
H A Dnospec-branch.c106 u8 insnbuf[6]; in __nospec_revert() local
110 memcpy(insnbuf + 2, branch, sizeof(branch)); in __nospec_revert()
130 insnbuf[0] = br[0]; in __nospec_revert()
131 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert()
135 insnbuf[0] = 0x0d; in __nospec_revert()
136 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert()
140 s390_kernel_write(instr, insnbuf, 6); in __nospec_revert()
/linux/arch/loongarch/kernel/
H A Dalternative.c188 union loongarch_instruction insnbuf[MAX_PATCH_SIZE]; in apply_alternatives() local
206 BUG_ON(a->instrlen > sizeof(insnbuf)); in apply_alternatives()
228 copy_alt_insns(insnbuf, instr, replacement, nr_repl); in apply_alternatives()
232 add_nops(insnbuf + nr_repl, nr_instr - nr_repl); in apply_alternatives()
235 DUMP_WORDS(insnbuf, nr_insnbuf, "%px: final_insn: ", instr); in apply_alternatives()
237 text_poke_early(instr, insnbuf, nr_insnbuf); in apply_alternatives()