Lines Matching refs:instruction
26 struct instruction *insn;
36 struct instruction *find_insn(struct objtool_file *file, in find_insn()
39 struct instruction *insn; in find_insn()
49 static struct instruction *next_insn_same_sec(struct objtool_file *file, in next_insn_same_sec()
50 struct instruction *insn) in next_insn_same_sec()
52 struct instruction *next = list_next_entry(insn, list); in next_insn_same_sec()
60 static struct instruction *next_insn_same_func(struct objtool_file *file, in next_insn_same_func()
61 struct instruction *insn) in next_insn_same_func()
63 struct instruction *next = list_next_entry(insn, list); in next_insn_same_func()
80 static struct instruction *prev_insn_same_sym(struct objtool_file *file, in prev_insn_same_sym()
81 struct instruction *insn) in prev_insn_same_sym()
83 struct instruction *prev = list_prev_entry(insn, list); in prev_insn_same_sym()
116 static bool is_jump_table_jump(struct instruction *insn) in is_jump_table_jump()
128 static bool is_sibling_call(struct instruction *insn) in is_sibling_call()
159 struct instruction *insn; in __dead_end_function()
219 struct instruction *dest = insn->jump_dest; in __dead_end_function()
355 struct instruction *insn; in decode_instructions()
499 static struct instruction *find_last_insn(struct objtool_file *file, in find_last_insn()
502 struct instruction *insn = NULL; in find_last_insn()
519 struct instruction *insn; in add_dead_ends()
602 struct instruction *insn; in create_static_call_sections()
688 struct instruction *insn; in create_retpoline_sites_sections()
736 struct instruction *insn; in create_mcount_loc_sections()
780 struct instruction *insn; in add_ignores()
981 struct instruction *insn; in add_ignore_alternatives()
1012 static struct reloc *insn_reloc(struct objtool_file *file, struct instruction *insn) in insn_reloc()
1032 static void remove_insn_ops(struct instruction *insn) in remove_insn_ops()
1043 struct instruction *insn, bool sibling) in annotate_call_site()
1110 static void add_call_dest(struct objtool_file *file, struct instruction *insn, in add_call_dest()
1129 static void add_retpoline_call(struct objtool_file *file, struct instruction *insn) in add_retpoline_call()
1167 struct instruction *insn; in add_jump_destinations()
1269 struct instruction *insn; in add_call_destinations()
1328 struct instruction *orig_insn, in handle_group_alt()
1329 struct instruction **new_insn) in handle_group_alt()
1331 struct instruction *last_orig_insn, *last_new_insn = NULL, *insn, *nop = NULL; in handle_group_alt()
1469 struct instruction *orig_insn, in handle_jump_alt()
1470 struct instruction **new_insn) in handle_jump_alt()
1520 struct instruction *orig_insn, *new_insn; in add_special_section_alts()
1597 static int add_jump_table(struct objtool_file *file, struct instruction *insn, in add_jump_table()
1601 struct instruction *dest_insn; in add_jump_table()
1659 struct instruction *insn) in find_jump_table()
1662 struct instruction *dest_insn, *orig_insn = insn; in find_jump_table()
1703 struct instruction *insn, *last = NULL; in mark_func_jump_tables()
1738 struct instruction *insn; in add_func_jump_tables()
1795 struct instruction *insn; in read_unwind_hints()
1860 struct instruction *insn; in read_retpoline_hints()
1895 struct instruction *insn; in read_instr_hints()
1941 struct instruction *insn; in read_intra_function_calls()
2119 static bool is_fentry_call(struct instruction *insn) in is_fentry_call()
2129 static bool has_modified_stack_frame(struct instruction *insn, struct insn_state *state) in has_modified_stack_frame()
2174 static int update_cfi_state_regs(struct instruction *insn, in update_cfi_state_regs()
2267 static int update_cfi_state(struct instruction *insn, in update_cfi_state()
2268 struct instruction *next_insn, in update_cfi_state()
2698 static int propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) in propagate_alt_cfi()
2727 static int handle_insn_ops(struct instruction *insn, in handle_insn_ops()
2728 struct instruction *next_insn, in handle_insn_ops()
2766 static bool insn_cfi_match(struct instruction *insn, struct cfi_state *cfi2) in insn_cfi_match()
2824 static inline const char *call_dest_name(struct instruction *insn) in call_dest_name()
2843 static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) in pv_call_dest()
2871 struct instruction *insn, in noinstr_call_dest()
2903 struct instruction *insn, in validate_call()
2929 struct instruction *insn, in validate_sibling_call()
2941 static int validate_return(struct symbol *func, struct instruction *insn, struct insn_state *state) in validate_return()
2982 static struct instruction *next_insn_to_validate(struct objtool_file *file, in next_insn_to_validate()
2983 struct instruction *insn) in next_insn_to_validate()
3005 struct instruction *insn, struct insn_state state) in validate_branch()
3008 struct instruction *next_insn, *prev_insn = NULL; in validate_branch()
3214 struct instruction *insn; in validate_unwind_hints()
3247 struct instruction *insn; in validate_retpoline()
3277 static bool is_kasan_insn(struct instruction *insn) in is_kasan_insn()
3283 static bool is_ubsan_insn(struct instruction *insn) in is_ubsan_insn()
3290 static bool ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) in ignore_unreachable_insn()
3293 struct instruction *prev_insn; in ignore_unreachable_insn()
3364 struct instruction *insn; in validate_symbol()
3443 struct instruction *insn; in validate_reachable_instructions()