Lines Matching refs:objtool_file
41 struct instruction *find_insn(struct objtool_file *file, in find_insn()
54 struct instruction *next_insn_same_sec(struct objtool_file *file, in next_insn_same_sec()
67 static struct instruction *next_insn_same_func(struct objtool_file *file, in next_insn_same_func()
87 static struct instruction *prev_insn_same_sec(struct objtool_file *file, in prev_insn_same_sec()
99 static struct instruction *prev_insn_same_sym(struct objtool_file *file, in prev_insn_same_sym()
231 static bool __dead_end_function(struct objtool_file *file, struct symbol *func, in __dead_end_function()
306 static bool dead_end_function(struct objtool_file *file, struct symbol *func) in dead_end_function()
324 static void init_insn_state(struct objtool_file *file, struct insn_state *state, in init_insn_state()
410 static int decode_instructions(struct objtool_file *file) in decode_instructions()
526 static int add_pv_ops(struct objtool_file *file, const char *symname) in add_pv_ops()
570 static int init_pv_ops(struct objtool_file *file) in init_pv_ops()
610 static bool is_livepatch_module(struct objtool_file *file) in is_livepatch_module()
624 static int create_static_call_sections(struct objtool_file *file) in create_static_call_sections()
716 static int create_retpoline_sites_sections(struct objtool_file *file) in create_retpoline_sites_sections()
754 static int create_return_sites_sections(struct objtool_file *file) in create_return_sites_sections()
792 static int create_ibt_endbr_seal_sections(struct objtool_file *file) in create_ibt_endbr_seal_sections()
849 static int create_cfi_sections(struct objtool_file *file) in create_cfi_sections()
896 static int create_mcount_loc_sections(struct objtool_file *file) in create_mcount_loc_sections()
947 static int create_direct_call_sections(struct objtool_file *file) in create_direct_call_sections()
986 static int create_sym_checksum_section(struct objtool_file *file) in create_sym_checksum_section()
1035 static int create_sym_checksum_section(struct objtool_file *file) { return -EINVAL; } in create_sym_checksum_section()
1041 static int add_ignores(struct objtool_file *file) in add_ignores()
1267 static void add_uaccess_safe(struct objtool_file *file) in add_uaccess_safe()
1311 static struct reloc *insn_reloc(struct objtool_file *file, struct instruction *insn) in insn_reloc()
1342 static int annotate_call_site(struct objtool_file *file, in annotate_call_site()
1422 static int add_call_dest(struct objtool_file *file, struct instruction *insn, in add_call_dest()
1441 static int add_retpoline_call(struct objtool_file *file, struct instruction *insn) in add_retpoline_call()
1475 static void add_return_call(struct objtool_file *file, struct instruction *insn, bool add) in add_return_call()
1488 static bool is_first_func_insn(struct objtool_file *file, in is_first_func_insn()
1514 static int add_jump_destinations(struct objtool_file *file) in add_jump_destinations()
1655 static int add_call_destinations(struct objtool_file *file) in add_call_destinations()
1717 static int handle_group_alt(struct objtool_file *file, in handle_group_alt()
1869 static int handle_jump_alt(struct objtool_file *file, in handle_jump_alt()
1920 static int add_special_section_alts(struct objtool_file *file) in add_special_section_alts()
2013 static int add_jump_table(struct objtool_file *file, struct instruction *insn) in add_jump_table()
2087 static void find_jump_table(struct objtool_file *file, struct symbol *func, in find_jump_table()
2136 static void mark_func_jump_tables(struct objtool_file *file, in mark_func_jump_tables()
2166 static int add_func_jump_tables(struct objtool_file *file, in add_func_jump_tables()
2187 static int add_jump_table_alts(struct objtool_file *file) in add_jump_table_alts()
2215 static int read_unwind_hints(struct objtool_file *file) in read_unwind_hints()
2310 static int read_annotate(struct objtool_file *file, in read_annotate()
2311 int (*func)(struct objtool_file *file, int type, struct instruction *insn)) in read_annotate()
2357 static int __annotate_early(struct objtool_file *file, int type, struct instruction *insn) in __annotate_early()
2380 static int __annotate_ifc(struct objtool_file *file, int type, struct instruction *insn) in __annotate_ifc()
2410 static int __annotate_late(struct objtool_file *file, int type, struct instruction *insn) in __annotate_late()
2487 static int classify_symbols(struct objtool_file *file) in classify_symbols()
2526 static void mark_rodata(struct objtool_file *file) in mark_rodata()
2553 static void mark_holes(struct objtool_file *file) in mark_holes()
2599 static int decode_sections(struct objtool_file *file) in decode_sections()
3255 static int propagate_alt_cfi(struct objtool_file *file, struct instruction *insn) in propagate_alt_cfi()
3410 static bool pv_call_dest(struct objtool_file *file, struct instruction *insn) in pv_call_dest()
3437 static inline bool noinstr_call_dest(struct objtool_file *file, in noinstr_call_dest()
3475 static int validate_call(struct objtool_file *file, in validate_call()
3498 static int validate_sibling_call(struct objtool_file *file, in validate_sibling_call()
3545 static struct instruction *next_insn_to_validate(struct objtool_file *file, in next_insn_to_validate()
3611 static int checksum_debug_init(struct objtool_file *file) in checksum_debug_init()
3649 static void checksum_update_insn(struct objtool_file *file, struct symbol *func, in checksum_update_insn()
3693 static int validate_branch(struct objtool_file *file, struct symbol *func,
3695 static int do_validate_branch(struct objtool_file *file, struct symbol *func,
3698 static int validate_insn(struct objtool_file *file, struct symbol *func, in validate_insn()
3960 static int do_validate_branch(struct objtool_file *file, struct symbol *func, in do_validate_branch()
4022 static int validate_branch(struct objtool_file *file, struct symbol *func, in validate_branch()
4034 static int validate_unwind_hint(struct objtool_file *file, in validate_unwind_hint()
4054 static int validate_unwind_hints(struct objtool_file *file, struct section *sec) in validate_unwind_hints()
4082 static int validate_unret(struct objtool_file *file, struct instruction *insn) in validate_unret()
4191 static int validate_unrets(struct objtool_file *file) in validate_unrets()
4206 static int validate_retpoline(struct objtool_file *file) in validate_retpoline()
4283 static bool ignore_unreachable_insn(struct objtool_file *file, struct instruction *insn) in ignore_unreachable_insn()
4368 static int create_prefix_symbol(struct objtool_file *file, struct symbol *func) in create_prefix_symbol()
4445 static int create_prefix_symbols(struct objtool_file *file) in create_prefix_symbols()
4463 static int validate_symbol(struct objtool_file *file, struct section *sec, in validate_symbol()
4508 static int validate_section(struct objtool_file *file, struct section *sec) in validate_section()
4527 static int validate_noinstr_sections(struct objtool_file *file) in validate_noinstr_sections()
4553 static int validate_functions(struct objtool_file *file) in validate_functions()
4574 static bool noendbr_range(struct objtool_file *file, struct instruction *insn) in noendbr_range()
4592 static int __validate_ibt_insn(struct objtool_file *file, struct instruction *insn, in __validate_ibt_insn()
4637 static int validate_ibt_insn(struct objtool_file *file, struct instruction *insn) in validate_ibt_insn()
4698 static int validate_ibt_data_reloc(struct objtool_file *file, in validate_ibt_data_reloc()
4727 static int validate_ibt(struct objtool_file *file) in validate_ibt()
4782 static int validate_sls(struct objtool_file *file) in validate_sls()
4815 static int validate_reachable_instructions(struct objtool_file *file) in validate_reachable_instructions()
4854 static int check_abs_references(struct objtool_file *file) in check_abs_references()
4897 static void free_insns(struct objtool_file *file) in free_insns()
4926 int check(struct objtool_file *file) in check()