Lines Matching refs:nop
1318 struct instruction *last_orig_insn, *last_new_insn = NULL, *insn, *nop = NULL;
1357 * Insert a fake nop at the end to make the replacement
1361 * nop) will propagate the new state to the shared CFI array.
1363 nop = malloc(sizeof(*nop));
1364 if (!nop) {
1368 memset(nop, 0, sizeof(*nop));
1369 INIT_LIST_HEAD(&nop->alts);
1370 INIT_LIST_HEAD(&nop->stack_ops);
1372 nop->sec = special_alt->new_sec;
1373 nop->offset = special_alt->new_off + special_alt->new_len;
1374 nop->len = special_alt->orig_len - special_alt->new_len;
1375 nop->type = INSN_NOP;
1376 nop->func = orig_insn->func;
1377 nop->alt_group = new_alt_group;
1378 nop->ignore = orig_insn->ignore_alts;
1382 *new_insn = nop;
1439 if (nop)
1440 list_add(&nop->list, &last_new_insn->list);
1444 new_alt_group->last_insn = nop ? : last_new_insn;
1450 * A jump table entry can either convert a nop to a jump or a jump to a nop.
1451 * If the original instruction is a jump, make the alt entry an effective nop
1862 WARN_FUNC("retpoline_safe hint not an indirect jump/call/ret/nop",