Lines Matching defs:file

38 struct instruction *find_insn(struct objtool_file *file,  in find_insn()
51 struct instruction *next_insn_same_sec(struct objtool_file *file, in next_insn_same_sec()
64 static struct instruction *next_insn_same_func(struct objtool_file *file, in next_insn_same_func()
84 static struct instruction *prev_insn_same_sec(struct objtool_file *file, in prev_insn_same_sec()
96 static struct instruction *prev_insn_same_sym(struct objtool_file *file, 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
246 static bool __dead_end_function(struct objtool_file *file, struct symbol *func, in __dead_end_function()
321 static bool dead_end_function(struct objtool_file *file, struct symbol *func) in dead_end_function()
339 static void init_insn_state(struct objtool_file *file, struct insn_state *state, in init_insn_state()
430 static int decode_instructions(struct objtool_file *file) in decode_instructions()
554 static int add_pv_ops(struct objtool_file *file, const char *symname) in add_pv_ops()
592 static int init_pv_ops(struct objtool_file *file) in init_pv_ops()
628 static int create_static_call_sections(struct objtool_file *file) in create_static_call_sections()
717 static int create_retpoline_sites_sections(struct objtool_file *file) in create_retpoline_sites_sections()
755 static int create_return_sites_sections(struct objtool_file *file) in create_return_sites_sections()
793 static int create_ibt_endbr_seal_sections(struct objtool_file *file) in create_ibt_endbr_seal_sections()
847 static int create_cfi_sections(struct objtool_file *file) in create_cfi_sections()
895 static int create_mcount_loc_sections(struct objtool_file *file) in create_mcount_loc_sections()
941 static int create_direct_call_sections(struct objtool_file *file) in create_direct_call_sections()
983 static void add_ignores(struct objtool_file *file) in add_ignores()
1204 static void add_uaccess_safe(struct objtool_file *file) in add_uaccess_safe()
1248 static struct reloc *insn_reloc(struct objtool_file *file, struct instruction *insn) in insn_reloc()
1279 static void annotate_call_site(struct objtool_file *file, 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()
1427 static bool is_first_func_insn(struct objtool_file *file, in is_first_func_insn()
1449 static bool jump_is_sibling_call(struct objtool_file *file, in jump_is_sibling_call()
1474 static int add_jump_destinations(struct objtool_file *file) in add_jump_destinations()
1616 static int add_call_destinations(struct objtool_file *file) in add_call_destinations()
1672 static int handle_group_alt(struct objtool_file *file, in handle_group_alt()
1821 static int handle_jump_alt(struct objtool_file *file, in handle_jump_alt()
1868 static int add_special_section_alts(struct objtool_file *file) in add_special_section_alts()
1953 static int add_jump_table(struct objtool_file *file, struct instruction *insn) in add_jump_table()
2027 static void find_jump_table(struct objtool_file *file, struct symbol *func, in find_jump_table()
2076 static void mark_func_jump_tables(struct objtool_file *file, in mark_func_jump_tables()
2106 static int add_func_jump_tables(struct objtool_file *file, in add_func_jump_tables()
2130 static int add_jump_table_alts(struct objtool_file *file) in add_jump_table_alts()
2160 static int read_unwind_hints(struct objtool_file *file) in read_unwind_hints()
2261 static int read_annotate(struct objtool_file *file, in read_annotate()
2262 int (*func)(struct objtool_file *file, int type, struct instruction *insn)) in read_annotate()
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()
2432 static int classify_symbols(struct objtool_file *file) in classify_symbols()
2466 static void mark_rodata(struct objtool_file *file) in mark_rodata()
2493 static int decode_sections(struct objtool_file *file) in decode_sections()
3155 static int propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) in propagate_alt_cfi()
3299 static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) in pv_call_dest()
3326 static inline bool noinstr_call_dest(struct objtool_file *file, in noinstr_call_dest()
3364 static int validate_call(struct objtool_file *file, in validate_call()
3387 static int validate_sibling_call(struct objtool_file *file, in validate_sibling_call()
3434 static struct instruction *next_insn_to_validate(struct objtool_file *file, in next_insn_to_validate()
3473 static int validate_branch(struct objtool_file *file, struct symbol *func, in validate_branch()
3723 static int validate_unwind_hint(struct objtool_file *file, in validate_unwind_hint()
3737 static int validate_unwind_hints(struct objtool_file *file, struct section *sec) in validate_unwind_hints()
3765 static int validate_unret(struct objtool_file *file, struct instruction *insn) in validate_unret()
3878 static int validate_unrets(struct objtool_file *file) in validate_unrets()
3898 static int validate_retpoline(struct objtool_file *file) in validate_retpoline()
3944 static bool ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) in ignore_unreachable_insn()
4054 static int add_prefix_symbol(struct objtool_file *file, struct symbol *func) in add_prefix_symbol()
4102 static int add_prefix_symbols(struct objtool_file *file) in add_prefix_symbols()
4122 static int validate_symbol(struct objtool_file *file, struct section *sec, in validate_symbol()
4148 static int validate_section(struct objtool_file *file, struct section *sec) in validate_section()
4167 static int validate_noinstr_sections(struct objtool_file *file) in validate_noinstr_sections()
4193 static int validate_functions(struct objtool_file *file) in validate_functions()
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()
4343 static int validate_ibt_data_reloc(struct objtool_file *file, in validate_ibt_data_reloc()
4373 static int validate_ibt(struct objtool_file *file) in validate_ibt()
4426 static int validate_sls(struct objtool_file *file) in validate_sls()
4459 static int validate_reachable_instructions(struct objtool_file *file) in validate_reachable_instructions()
4542 static int disas_warned_funcs(struct objtool_file *file) in disas_warned_funcs()
4577 static void free_insns(struct objtool_file *file) in free_insns()
4595 int check(struct objtool_file *file) in check()