Searched refs:orig_insn (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/nds32/kernel/ |
D | ftrace.c | 144 unsigned long orig_insn[3]; in __ftrace_modify_code() local 147 if (probe_kernel_read(orig_insn, (void *)pc, MCOUNT_INSN_SIZE)) in __ftrace_modify_code() 149 if (memcmp(orig_insn, old_insn, MCOUNT_INSN_SIZE)) in __ftrace_modify_code()
|
/Linux-v4.19/tools/objtool/ |
D | check.c | 642 struct instruction *orig_insn, in handle_group_alt() argument 649 insn = orig_insn; in handle_group_alt() 697 insn->ignore = orig_insn->ignore_alts; in handle_group_alt() 742 struct instruction *orig_insn, in handle_jump_alt() argument 745 if (orig_insn->type == INSN_NOP) in handle_jump_alt() 748 if (orig_insn->type != INSN_JUMP_UNCONDITIONAL) { in handle_jump_alt() 750 orig_insn->sec, orig_insn->offset); in handle_jump_alt() 754 *new_insn = list_next_entry(orig_insn, list); in handle_jump_alt() 767 struct instruction *orig_insn, *new_insn; in add_special_section_alts() local 778 orig_insn = find_insn(file, special_alt->orig_sec, in add_special_section_alts() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | alternative.c | 273 recompute_jump(struct alt_instr *a, u8 *orig_insn, u8 *repl_insn, u8 *insnbuf) in recompute_jump() argument 288 n_dspl = tgt_rip - orig_insn; in recompute_jump() 292 if (tgt_rip - orig_insn >= 0) { in recompute_jump() 326 n_dspl, (unsigned long)orig_insn + n_dspl + repl_len); in recompute_jump()
|