| /linux/drivers/pci/ |
| H A D | tph.c | 38 union st_info { union 57 union st_info *info) in tph_extract_tag() 93 union st_info *st_out) in tph_invoke_dsm() 252 union st_info info; in pcie_tph_get_cpu_st()
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | parse_vdso.c | 243 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in check_sym() 245 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in check_sym() 246 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in check_sym()
|
| /linux/arch/arm/include/asm/ |
| H A D | module.h | 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
| /linux/tools/lib/bpf/ |
| H A D | elf.c | 167 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) in elf_sym_iter_next() 327 cur_bind = GELF_ST_BIND(sym->sym.st_info); in elf_find_func_offset() 448 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets()
|
| H A D | linker.c | 481 init_sym->st_info = 0; in init_output_elf() 937 int sym_type = ELF64_ST_TYPE(sym->st_info); in linker_sanity_check_elf_symtab() 938 int sym_bind = ELF64_ST_BIND(sym->st_info); in linker_sanity_check_elf_symtab() 942 if (sym->st_name != 0 || sym->st_info != 0 in linker_sanity_check_elf_symtab() 1978 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind() 1983 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type() 2007 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym() 2008 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym() 2160 dst_sym->st_info = sym->st_info; in linker_append_elf_sym() 2258 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos() [all …]
|
| H A D | libbpf.c | 928 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in bpf_object__add_programs() 947 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs() 975 if (ELF64_ST_BIND(sym->st_info) != STB_LOCAL) in bpf_object__add_programs() 1750 if (ELF64_ST_TYPE(sym->st_info) != STT_OBJECT) in find_elf_var_sym() 1753 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in find_elf_var_sym() 1754 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in find_elf_var_sym() 4124 int bind = ELF64_ST_BIND(sym->st_info); in sym_is_extern() 4128 ELF64_ST_TYPE(sym->st_info) == STT_NOTYPE; in sym_is_extern() 4133 int bind = ELF64_ST_BIND(sym->st_info); in sym_is_subprog() 4134 int type = ELF64_ST_TYPE(sym->st_info); in sym_is_subprog() [all …]
|
| /linux/scripts/ |
| H A D | elf-parse.h | 201 return ELF64_ST_TYPE(sym->e64.st_info); 206 return ELF32_ST_TYPE(sym->e32.st_info); in sym32_type()
|
| H A D | recordmcount.h | 532 unsigned int const st_bind = ELF_ST_BIND(symp->st_info); in find_secsym_ndx() 539 && ELF_ST_TYPE(symp->st_info) == STT_FUNC) in find_secsym_ndx()
|
| /linux/tools/perf/util/ |
| H A D | genelf.c | 60 .st_info = ELF_ST_TYPE(STT_NOTYPE), 67 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
| H A D | symbol-elf.c | 95 return GELF_ST_TYPE(sym->st_info); in elf_sym__type() 1730 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal() 1779 GELF_ST_BIND(sym.st_info), in dso__load_sym() 1780 GELF_ST_TYPE(sym.st_info), elf_name); in dso__load_sym()
|
| /linux/arch/arc/kernel/ |
| H A D | module.c | 85 if (sym_entry->st_name == 0 && ELF_ST_TYPE (sym_entry->st_info) == STT_SECTION) { in apply_relocate_add()
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 644 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in handle_symbol() 645 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol() 652 if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) in handle_symbol() 663 ELF_ST_BIND(sym->st_info) == STB_WEAK); in handle_symbol() 1107 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in check_export_symbol() 1108 ELF_ST_BIND(sym->st_info) != STB_WEAK) { in check_export_symbol() 1139 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol() 1147 ELF_ST_TYPE(sym->st_info) == STT_LOPROC) in check_export_symbol()
|
| H A D | symsearch.c | 87 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in symsearch_populate()
|
| H A D | file2alias.c | 1551 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in handle_moddevtable()
|
| /linux/arch/alpha/kernel/ |
| H A D | module.c | 258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
|
| /linux/scripts/gendwarfksyms/ |
| H A D | symbols.c | 263 if (GELF_ST_BIND(sym->st_info) == STB_LOCAL) in elf_for_each_global()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 518 sym->type = GELF_ST_TYPE(sym->sym.st_info); in demangle_name() 519 sym->bind = GELF_ST_BIND(sym->sym.st_info); in demangle_name() 653 if (GELF_ST_TYPE(sym->sym.st_info) == STT_SECTION) { in read_symbols() 944 sym->sym.st_info = GELF_ST_INFO(bind, type); in elf_create_symbol()
|
| H A D | check.c | 4320 GELF_ST_BIND(func->sym.st_info), in create_prefix_symbol() 4321 GELF_ST_TYPE(func->sym.st_info), in create_prefix_symbol()
|
| /linux/arch/mips/kernel/ |
| H A D | module.c | 333 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
|
| /linux/arch/arm/kernel/ |
| H A D | module.c | 282 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
| /linux/arch/loongarch/kernel/ |
| H A D | module.c | 501 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 510 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
|
| /linux/arch/riscv/kernel/ |
| H A D | module.c | 801 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
| /linux/kernel/module/ |
| H A D | main.c | 1577 (ELF_ST_BIND(sym[i].st_info) == STB_WEAK || in simplify_symbols()
|