Home
last modified time | relevance | path

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

/arch/s390/kernel/
Dnospec-branch.c103 u8 insnbuf[6]; in __nospec_revert() local
131 memcpy(insnbuf + 2, (char[]) { 0x47, 0x00, 0x07, 0x00 }, 4); in __nospec_revert()
134 insnbuf[0] = br[0]; in __nospec_revert()
135 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert()
138 insnbuf[2] = br[2]; in __nospec_revert()
139 insnbuf[3] = br[3]; in __nospec_revert()
145 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert()
148 insnbuf[0] = 0x4d; in __nospec_revert()
149 insnbuf[2] = br[2]; in __nospec_revert()
150 insnbuf[3] = br[3]; in __nospec_revert()
[all …]
Dalternative.c67 u8 insnbuf[MAX_PATCH_LEN]; in __apply_alternatives() local
89 memcpy(insnbuf, replacement, a->replacementlen); in __apply_alternatives()
93 add_padding(insnbuf + a->replacementlen, in __apply_alternatives()
98 s390_kernel_write(instr, insnbuf, insnbuf_sz); in __apply_alternatives()