Lines Matching defs:insn
27 struct instruction *insn; member
41 struct instruction *insn; in find_insn() local
52 struct instruction *insn) in next_insn_same_sec()
65 struct instruction *insn) in next_insn_same_func()
85 struct instruction *insn) in prev_insn_same_sec()
97 struct instruction *insn) in prev_insn_same_sym()
107 #define for_each_insn(file, insn) \ argument
113 #define func_for_each_insn(file, func, insn) \ argument
118 #define sym_for_each_insn(file, sym, insn) \ argument
123 #define sym_for_each_insn_continue_reverse(file, sym, insn) \ argument
128 #define sec_for_each_insn_from(file, insn) \ argument
131 #define sec_for_each_insn_continue(file, insn) \ argument
135 static inline struct symbol *insn_call_dest(struct instruction *insn) in insn_call_dest()
144 static inline struct reloc *insn_jump_table(struct instruction *insn) in insn_jump_table()
153 static inline unsigned long insn_jump_table_size(struct instruction *insn) in insn_jump_table_size()
162 static bool is_jump_table_jump(struct instruction *insn) in is_jump_table_jump()
174 static bool is_sibling_call(struct instruction *insn) in is_sibling_call()
250 struct instruction *insn; in __dead_end_function() local
435 struct instruction *insn; in decode_instructions() local
632 struct instruction *insn; in create_static_call_sections() local
719 struct instruction *insn; in create_retpoline_sites_sections() local
757 struct instruction *insn; in create_return_sites_sections() local
795 struct instruction *insn; in create_ibt_endbr_seal_sections() local
898 struct instruction *insn; in create_mcount_loc_sections() local
943 struct instruction *insn; in create_direct_call_sections() local
985 struct instruction *insn; in add_ignores() local
1248 static struct reloc *insn_reloc(struct objtool_file *file, struct instruction *insn) in insn_reloc()
1268 static void remove_insn_ops(struct instruction *insn) in remove_insn_ops()
1280 struct instruction *insn, bool sibling) in annotate_call_site()
1361 static void add_call_dest(struct objtool_file *file, struct instruction *insn, in add_call_dest()
1380 static void add_retpoline_call(struct objtool_file *file, struct instruction *insn) in add_retpoline_call()
1414 static void add_return_call(struct objtool_file *file, struct instruction *insn, bool add) in add_return_call()
1428 struct instruction *insn, struct symbol *sym) in is_first_func_insn()
1476 struct instruction *insn, *jump_dest; in add_jump_destinations() local
1618 struct instruction *insn; in add_call_destinations() local
1677 struct instruction *last_new_insn = NULL, *insn, *nop = NULL; in handle_group_alt() local
1953 static int add_jump_table(struct objtool_file *file, struct instruction *insn) in add_jump_table()
2028 struct instruction *insn) in find_jump_table()
2079 struct instruction *insn, *last = NULL; in mark_func_jump_tables() local
2109 struct instruction *insn; in add_func_jump_tables() local
2165 struct instruction *insn; in read_unwind_hints() local
2262 int (*func)(struct objtool_file *file, int type, struct instruction *insn)) in read_annotate()
2265 struct instruction *insn; in read_annotate() local
2305 static int __annotate_early(struct objtool_file *file, int type, struct instruction *insn) in __annotate_early()
2326 static int __annotate_ifc(struct objtool_file *file, int type, struct instruction *insn) in __annotate_ifc()
2356 static int __annotate_late(struct objtool_file *file, int type, struct instruction *insn) in __annotate_late()
2566 static bool is_special_call(struct instruction *insn) in is_special_call()
2581 static bool has_modified_stack_frame(struct instruction *insn, struct insn_state *state) in has_modified_stack_frame()
2626 static int update_cfi_state_regs(struct instruction *insn, in update_cfi_state_regs()
2719 static int update_cfi_state(struct instruction *insn, in update_cfi_state()
3155 static int propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) in propagate_alt_cfi()
3187 static int handle_insn_ops(struct instruction *insn, in handle_insn_ops()
3225 static bool insn_cfi_match(struct instruction *insn, struct cfi_state *cfi2) in insn_cfi_match()
3280 static inline const char *call_dest_name(struct instruction *insn) in call_dest_name()
3299 static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) in pv_call_dest()
3327 struct instruction *insn, in noinstr_call_dest()
3365 struct instruction *insn, in validate_call()
3388 struct instruction *insn, in validate_sibling_call()
3399 static int validate_return(struct symbol *func, struct instruction *insn, struct insn_state *state) in validate_return()
3435 struct instruction *insn) in next_insn_to_validate()
3474 struct instruction *insn, struct insn_state state) in validate_branch()
3724 struct instruction *insn, in validate_unwind_hint()
3739 struct instruction *insn; in validate_unwind_hints() local
3765 static int validate_unret(struct objtool_file *file, struct instruction *insn) in validate_unret()
3880 struct instruction *insn; in validate_unrets() local
3900 struct instruction *insn; in validate_retpoline() local
3931 static bool is_kasan_insn(struct instruction *insn) in is_kasan_insn()
3937 static bool is_ubsan_insn(struct instruction *insn) in is_ubsan_insn()
3944 static bool ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) in ignore_unreachable_insn()
4056 struct instruction *insn, *prev; in add_prefix_symbol() local
4125 struct instruction *insn; in validate_symbol() local
4208 static void mark_endbr_used(struct instruction *insn) in mark_endbr_used()
4214 static bool noendbr_range(struct objtool_file *file, struct instruction *insn) in noendbr_range()
4232 static int __validate_ibt_insn(struct objtool_file *file, struct instruction *insn, in __validate_ibt_insn()
4277 static int validate_ibt_insn(struct objtool_file *file, struct instruction *insn) in validate_ibt_insn()
4377 struct instruction *insn; in validate_ibt() local
4428 struct instruction *insn, *next_insn; in validate_sls() local
4461 struct instruction *insn, *prev_insn; in validate_reachable_instructions() local
4579 struct instruction *insn; in free_insns() local