Lines Matching defs:insn
26 struct instruction *insn; member
40 struct instruction *insn; in find_insn() local
51 struct instruction *insn) in next_insn_same_sec()
64 struct instruction *insn) in next_insn_same_func()
84 struct instruction *insn) in prev_insn_same_sec()
96 struct instruction *insn) in prev_insn_same_sym()
106 #define for_each_insn(file, insn) \ argument
112 #define func_for_each_insn(file, func, insn) \ argument
117 #define sym_for_each_insn(file, sym, insn) \ argument
122 #define sym_for_each_insn_continue_reverse(file, sym, insn) \ argument
127 #define sec_for_each_insn_from(file, insn) \ argument
130 #define sec_for_each_insn_continue(file, insn) \ argument
134 static inline struct symbol *insn_call_dest(struct instruction *insn) in insn_call_dest()
143 static inline struct reloc *insn_jump_table(struct instruction *insn) in insn_jump_table()
152 static bool is_jump_table_jump(struct instruction *insn) in is_jump_table_jump()
164 static bool is_sibling_call(struct instruction *insn) in is_sibling_call()
192 struct instruction *insn; in __dead_end_function() local
373 struct instruction *insn; in decode_instructions() local
569 struct instruction *insn = NULL; in find_last_insn() local
586 struct instruction *insn; in add_dead_ends() local
670 struct instruction *insn; in create_static_call_sections() local
757 struct instruction *insn; in create_retpoline_sites_sections() local
795 struct instruction *insn; in create_return_sites_sections() local
833 struct instruction *insn; in create_ibt_endbr_seal_sections() local
936 struct instruction *insn; in create_mcount_loc_sections() local
981 struct instruction *insn; in create_direct_call_sections() local
1023 struct instruction *insn; in add_ignores() local
1267 struct instruction *insn; in add_ignore_alternatives() local
1318 static struct reloc *insn_reloc(struct objtool_file *file, struct instruction *insn) in insn_reloc()
1338 static void remove_insn_ops(struct instruction *insn) in remove_insn_ops()
1350 struct instruction *insn, bool sibling) in annotate_call_site()
1431 static void add_call_dest(struct objtool_file *file, struct instruction *insn, in add_call_dest()
1450 static void add_retpoline_call(struct objtool_file *file, struct instruction *insn) in add_retpoline_call()
1484 static void add_return_call(struct objtool_file *file, struct instruction *insn, bool add) in add_return_call()
1498 struct instruction *insn, struct symbol *sym) in is_first_func_insn()
1546 struct instruction *insn, *jump_dest; in add_jump_destinations() local
1672 struct instruction *insn; in add_call_destinations() local
1731 struct instruction *last_new_insn = NULL, *insn, *nop = NULL; in handle_group_alt() local
2002 static int add_jump_table(struct objtool_file *file, struct instruction *insn, in add_jump_table()
2065 struct instruction *insn) in find_jump_table()
2109 struct instruction *insn, *last = NULL; in mark_func_jump_tables() local
2142 struct instruction *insn, *insn_t1 = NULL, *insn_t2; in add_func_jump_tables() local
2209 struct instruction *insn; in read_unwind_hints() local
2297 struct instruction *insn; in read_noendbr_hints() local
2322 struct instruction *insn; in read_retpoline_hints() local
2358 struct instruction *insn; in read_instr_hints() local
2405 struct instruction *insn; in read_validate_unret_hints() local
2432 struct instruction *insn; in read_intra_function_calls() local
2653 static bool is_special_call(struct instruction *insn) in is_special_call()
2668 static bool has_modified_stack_frame(struct instruction *insn, struct insn_state *state) in has_modified_stack_frame()
2713 static int update_cfi_state_regs(struct instruction *insn, in update_cfi_state_regs()
2806 static int update_cfi_state(struct instruction *insn, in update_cfi_state()
3225 static int propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) in propagate_alt_cfi()
3257 static int handle_insn_ops(struct instruction *insn, in handle_insn_ops()
3295 static bool insn_cfi_match(struct instruction *insn, struct cfi_state *cfi2) in insn_cfi_match()
3350 static inline const char *call_dest_name(struct instruction *insn) in call_dest_name()
3369 static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) in pv_call_dest()
3397 struct instruction *insn, in noinstr_call_dest()
3435 struct instruction *insn, in validate_call()
3458 struct instruction *insn, in validate_sibling_call()
3469 static int validate_return(struct symbol *func, struct instruction *insn, struct insn_state *state) in validate_return()
3505 struct instruction *insn) in next_insn_to_validate()
3544 struct instruction *insn, struct insn_state state) in validate_branch()
3791 struct instruction *insn, in validate_unwind_hint()
3806 struct instruction *insn; in validate_unwind_hints() local
3832 static int validate_unret(struct objtool_file *file, struct instruction *insn) in validate_unret()
3942 struct instruction *insn; in validate_unrets() local
3962 struct instruction *insn; in validate_retpoline() local
3993 static bool is_kasan_insn(struct instruction *insn) in is_kasan_insn()
3999 static bool is_ubsan_insn(struct instruction *insn) in is_ubsan_insn()
4006 static bool ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) in ignore_unreachable_insn()
4118 struct instruction *insn, *prev; in add_prefix_symbol() local
4187 struct instruction *insn; in validate_symbol() local
4270 static void mark_endbr_used(struct instruction *insn) in mark_endbr_used()
4276 static bool noendbr_range(struct objtool_file *file, struct instruction *insn) in noendbr_range()
4294 static int validate_ibt_insn(struct objtool_file *file, struct instruction *insn) in validate_ibt_insn()
4423 struct instruction *insn; in validate_ibt() local
4471 struct instruction *insn, *next_insn; in validate_sls() local
4502 static bool ignore_noreturn_call(struct instruction *insn) in ignore_noreturn_call()
4533 struct instruction *insn, *prev_insn; in validate_reachable_instructions() local
4649 struct instruction *insn; in free_insns() local