Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/kernel/
H A Dalternative.c186 unsigned int nr_instr, nr_repl, nr_insnbuf; in apply_alternatives() local
211 nr_repl = a->replacementlen / LOONGARCH_INSN_SIZE; in apply_alternatives()
226 DUMP_WORDS(replacement, nr_repl, "%px: rpl_insn: ", replacement); in apply_alternatives()
228 copy_alt_insns(insnbuf, instr, replacement, nr_repl); in apply_alternatives()
229 nr_insnbuf = nr_repl; in apply_alternatives()
231 if (nr_instr > nr_repl) { in apply_alternatives()
232 add_nops(insnbuf + nr_repl, nr_instr - nr_repl); in apply_alternatives()
233 nr_insnbuf += nr_instr - nr_repl; in apply_alternatives()