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
235 static bool __dead_end_function(struct objtool_file *file, struct symbol *func, in __dead_end_function()
310 static bool dead_end_function(struct objtool_file *file, struct symbol *func) in dead_end_function()
328 static void init_insn_state(struct objtool_file *file, struct insn_state *state, in init_insn_state()
419 static int decode_instructions(struct objtool_file *file) in decode_instructions()
543 static int add_pv_ops(struct objtool_file *file, const char *symname) in add_pv_ops()
581 static int init_pv_ops(struct objtool_file *file) in init_pv_ops()
617 static struct instruction *find_last_insn(struct objtool_file *file, in find_last_insn()
633 static int add_dead_ends(struct objtool_file *file) in add_dead_ends()
719 static int create_static_call_sections(struct objtool_file *file) in create_static_call_sections()
808 static int create_retpoline_sites_sections(struct objtool_file *file) in create_retpoline_sites_sections()
846 static int create_return_sites_sections(struct objtool_file *file) in create_return_sites_sections()
884 static int create_ibt_endbr_seal_sections(struct objtool_file *file) in create_ibt_endbr_seal_sections()
938 static int create_cfi_sections(struct objtool_file *file) in create_cfi_sections()
986 static int create_mcount_loc_sections(struct objtool_file *file) in create_mcount_loc_sections()
1032 static int create_direct_call_sections(struct objtool_file *file) in create_direct_call_sections()
1074 static void add_ignores(struct objtool_file *file) in add_ignores()
1295 static void add_uaccess_safe(struct objtool_file *file) in add_uaccess_safe()
1318 static int add_ignore_alternatives(struct objtool_file *file) in add_ignore_alternatives()
1373 static struct reloc *insn_reloc(struct objtool_file *file, struct instruction *insn) in insn_reloc()
1404 static void annotate_call_site(struct objtool_file *file, in annotate_call_site()
1486 static void add_call_dest(struct objtool_file *file, struct instruction *insn, in add_call_dest()
1505 static void add_retpoline_call(struct objtool_file *file, struct instruction *insn) in add_retpoline_call()
1539 static void add_return_call(struct objtool_file *file, struct instruction *insn, bool add) in add_return_call()
1552 static bool is_first_func_insn(struct objtool_file *file, in is_first_func_insn()
1574 static bool jump_is_sibling_call(struct objtool_file *file, in jump_is_sibling_call()
1599 static int add_jump_destinations(struct objtool_file *file) in add_jump_destinations()
1741 static int add_call_destinations(struct objtool_file *file) in add_call_destinations()
1797 static int handle_group_alt(struct objtool_file *file, in handle_group_alt()
1946 static int handle_jump_alt(struct objtool_file *file, in handle_jump_alt()
1993 static int add_special_section_alts(struct objtool_file *file) in add_special_section_alts()
2073 static int add_jump_table(struct objtool_file *file, struct instruction *insn, in add_jump_table()
2134 static struct reloc *find_jump_table(struct objtool_file *file, in find_jump_table()
2177 static void mark_func_jump_tables(struct objtool_file *file, in mark_func_jump_tables()
2210 static int add_func_jump_tables(struct objtool_file *file, in add_func_jump_tables()
2245 static int add_jump_table_alts(struct objtool_file *file) in add_jump_table_alts()
2275 static int read_unwind_hints(struct objtool_file *file) in read_unwind_hints()
2376 static int read_noendbr_hints(struct objtool_file *file) in read_noendbr_hints()
2400 static int read_retpoline_hints(struct objtool_file *file) in read_retpoline_hints()
2436 static int read_instr_hints(struct objtool_file *file) in read_instr_hints()
2483 static int read_validate_unret_hints(struct objtool_file *file) in read_validate_unret_hints()
2511 static int read_intra_function_calls(struct objtool_file *file) in read_intra_function_calls()
2585 static int classify_symbols(struct objtool_file *file) in classify_symbols()
2619 static void mark_rodata(struct objtool_file *file) in mark_rodata()
2645 static int decode_sections(struct objtool_file *file) in decode_sections()
3326 static int propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) in propagate_alt_cfi()
3470 static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) in pv_call_dest()
3497 static inline bool noinstr_call_dest(struct objtool_file *file, in noinstr_call_dest()
3535 static int validate_call(struct objtool_file *file, in validate_call()
3558 static int validate_sibling_call(struct objtool_file *file, in validate_sibling_call()
3605 static struct instruction *next_insn_to_validate(struct objtool_file *file, in next_insn_to_validate()
3644 static int validate_branch(struct objtool_file *file, struct symbol *func, in validate_branch()
3891 static int validate_unwind_hint(struct objtool_file *file, in validate_unwind_hint()
3905 static int validate_unwind_hints(struct objtool_file *file, struct section *sec) in validate_unwind_hints()
3933 static int validate_unret(struct objtool_file *file, struct instruction *insn) in validate_unret()
4041 static int validate_unrets(struct objtool_file *file) in validate_unrets()
4061 static int validate_retpoline(struct objtool_file *file) in validate_retpoline()
4107 static bool ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) in ignore_unreachable_insn()
4217 static int add_prefix_symbol(struct objtool_file *file, struct symbol *func) in add_prefix_symbol()
4265 static int add_prefix_symbols(struct objtool_file *file) in add_prefix_symbols()
4285 static int validate_symbol(struct objtool_file *file, struct section *sec, in validate_symbol()
4311 static int validate_section(struct objtool_file *file, struct section *sec) in validate_section()
4330 static int validate_noinstr_sections(struct objtool_file *file) in validate_noinstr_sections()
4356 static int validate_functions(struct objtool_file *file) in validate_functions()
4377 static bool noendbr_range(struct objtool_file *file, struct instruction *insn) in noendbr_range()
4395 static int validate_ibt_insn(struct objtool_file *file, struct instruction *insn) in validate_ibt_insn()
4490 static int validate_ibt_data_reloc(struct objtool_file *file, in validate_ibt_data_reloc()
4520 static int validate_ibt(struct objtool_file *file) in validate_ibt()
4570 static int validate_sls(struct objtool_file *file) in validate_sls()
4632 static int validate_reachable_instructions(struct objtool_file *file) in validate_reachable_instructions()
4713 static int disas_warned_funcs(struct objtool_file *file) in disas_warned_funcs()
4748 static void free_insns(struct objtool_file *file) in free_insns()
4766 int check(struct objtool_file *file) in check()