Lines Matching defs:file

37 struct instruction *find_insn(struct objtool_file *file,  in find_insn()
50 struct instruction *next_insn_same_sec(struct objtool_file *file, in next_insn_same_sec()
63 static struct instruction *next_insn_same_func(struct objtool_file *file, in next_insn_same_func()
83 static struct instruction *prev_insn_same_sec(struct objtool_file *file, in prev_insn_same_sec()
95 static struct instruction *prev_insn_same_sym(struct objtool_file *file, 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
188 static bool __dead_end_function(struct objtool_file *file, struct symbol *func, in __dead_end_function()
259 static bool dead_end_function(struct objtool_file *file, struct symbol *func) in dead_end_function()
277 static void init_insn_state(struct objtool_file *file, struct insn_state *state, in init_insn_state()
368 static int decode_instructions(struct objtool_file *file) in decode_instructions()
492 static int add_pv_ops(struct objtool_file *file, const char *symname) in add_pv_ops()
530 static int init_pv_ops(struct objtool_file *file) in init_pv_ops()
566 static struct instruction *find_last_insn(struct objtool_file *file, in find_last_insn()
582 static int add_dead_ends(struct objtool_file *file) in add_dead_ends()
666 static int create_static_call_sections(struct objtool_file *file) in create_static_call_sections()
755 static int create_retpoline_sites_sections(struct objtool_file *file) in create_retpoline_sites_sections()
793 static int create_return_sites_sections(struct objtool_file *file) in create_return_sites_sections()
831 static int create_ibt_endbr_seal_sections(struct objtool_file *file) in create_ibt_endbr_seal_sections()
885 static int create_cfi_sections(struct objtool_file *file) in create_cfi_sections()
933 static int create_mcount_loc_sections(struct objtool_file *file) in create_mcount_loc_sections()
979 static int create_direct_call_sections(struct objtool_file *file) in create_direct_call_sections()
1021 static void add_ignores(struct objtool_file *file) in add_ignores()
1240 static void add_uaccess_safe(struct objtool_file *file) in add_uaccess_safe()
1263 static int add_ignore_alternatives(struct objtool_file *file) in add_ignore_alternatives()
1318 static struct reloc *insn_reloc(struct objtool_file *file, struct instruction *insn) in insn_reloc()
1349 static void annotate_call_site(struct objtool_file *file, 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()
1497 static bool is_first_func_insn(struct objtool_file *file, in is_first_func_insn()
1519 static bool jump_is_sibling_call(struct objtool_file *file, in jump_is_sibling_call()
1544 static int add_jump_destinations(struct objtool_file *file) in add_jump_destinations()
1670 static int add_call_destinations(struct objtool_file *file) in add_call_destinations()
1726 static int handle_group_alt(struct objtool_file *file, in handle_group_alt()
1875 static int handle_jump_alt(struct objtool_file *file, in handle_jump_alt()
1922 static int add_special_section_alts(struct objtool_file *file) in add_special_section_alts()
2002 static int add_jump_table(struct objtool_file *file, struct instruction *insn, in add_jump_table()
2063 static struct reloc *find_jump_table(struct objtool_file *file, in find_jump_table()
2106 static void mark_func_jump_tables(struct objtool_file *file, in mark_func_jump_tables()
2139 static int add_func_jump_tables(struct objtool_file *file, in add_func_jump_tables()
2174 static int add_jump_table_alts(struct objtool_file *file) in add_jump_table_alts()
2204 static int read_unwind_hints(struct objtool_file *file) in read_unwind_hints()
2295 static int read_noendbr_hints(struct objtool_file *file) in read_noendbr_hints()
2319 static int read_retpoline_hints(struct objtool_file *file) in read_retpoline_hints()
2355 static int read_instr_hints(struct objtool_file *file) in read_instr_hints()
2402 static int read_validate_unret_hints(struct objtool_file *file) in read_validate_unret_hints()
2430 static int read_intra_function_calls(struct objtool_file *file) in read_intra_function_calls()
2504 static int classify_symbols(struct objtool_file *file) in classify_symbols()
2535 static void mark_rodata(struct objtool_file *file) in mark_rodata()
2561 static int decode_sections(struct objtool_file *file) in decode_sections()
3225 static int propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) in propagate_alt_cfi()
3369 static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) in pv_call_dest()
3396 static inline bool noinstr_call_dest(struct objtool_file *file, in noinstr_call_dest()
3434 static int validate_call(struct objtool_file *file, in validate_call()
3457 static int validate_sibling_call(struct objtool_file *file, in validate_sibling_call()
3504 static struct instruction *next_insn_to_validate(struct objtool_file *file, in next_insn_to_validate()
3543 static int validate_branch(struct objtool_file *file, struct symbol *func, in validate_branch()
3790 static int validate_unwind_hint(struct objtool_file *file, in validate_unwind_hint()
3804 static int validate_unwind_hints(struct objtool_file *file, struct section *sec) in validate_unwind_hints()
3832 static int validate_unret(struct objtool_file *file, struct instruction *insn) in validate_unret()
3940 static int validate_unrets(struct objtool_file *file) in validate_unrets()
3960 static int validate_retpoline(struct objtool_file *file) in validate_retpoline()
4006 static bool ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) in ignore_unreachable_insn()
4116 static int add_prefix_symbol(struct objtool_file *file, struct symbol *func) in add_prefix_symbol()
4164 static int add_prefix_symbols(struct objtool_file *file) in add_prefix_symbols()
4184 static int validate_symbol(struct objtool_file *file, struct section *sec, in validate_symbol()
4210 static int validate_section(struct objtool_file *file, struct section *sec) in validate_section()
4229 static int validate_noinstr_sections(struct objtool_file *file) in validate_noinstr_sections()
4255 static int validate_functions(struct objtool_file *file) in validate_functions()
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()
4389 static int validate_ibt_data_reloc(struct objtool_file *file, in validate_ibt_data_reloc()
4419 static int validate_ibt(struct objtool_file *file) in validate_ibt()
4469 static int validate_sls(struct objtool_file *file) in validate_sls()
4531 static int validate_reachable_instructions(struct objtool_file *file) in validate_reachable_instructions()
4612 static int disas_warned_funcs(struct objtool_file *file) in disas_warned_funcs()
4647 static void free_insns(struct objtool_file *file) in free_insns()
4665 int check(struct objtool_file *file) in check()