| /linux-6.15/arch/arm/include/asm/ |
| H A D | module.h | 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
| /linux-6.15/tools/lib/symbol/ |
| H A D | kallsyms.c | 11 return (type == 't' || type == 'w') ? STT_FUNC : STT_OBJECT; in kallsyms2elf_type()
|
| /linux-6.15/tools/objtool/include/objtool/ |
| H A D | check.h | 90 if (sym && sym->type != STT_FUNC) in insn_func()
|
| /linux-6.15/tools/perf/util/include/linux/ |
| H A D | linkage.h | 20 #define SYM_T_FUNC STT_FUNC
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | elf.c | 318 ret = elf_sym_iter_new(&iter, elf, binary_path, sh_types[i], STT_FUNC); in elf_find_func_offset() 522 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_pattern_offsets()
|
| /linux-6.15/scripts/mod/ |
| H A D | symsearch.c | 87 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in symsearch_populate()
|
| H A D | modpost.c | 1115 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol()
|
| /linux-6.15/tools/perf/tests/ |
| H A D | symbols.c | 122 if (sym->type != STT_FUNC && sym->type != STT_GNU_IFUNC) in test_dso()
|
| H A D | hists_common.c | 143 STB_GLOBAL, STT_FUNC, fsym->name); in setup_fake_machine()
|
| /linux-6.15/include/linux/ |
| H A D | linkage.h | 80 #define SYM_T_FUNC STT_FUNC
|
| /linux-6.15/tools/objtool/ |
| H A D | check.c | 501 if (func->type != STT_NOTYPE && func->type != STT_FUNC) in decode_instructions() 522 if (func->type == STT_FUNC && in decode_instructions() 829 if (opts.module && sym && sym->type == STT_FUNC && in create_ibt_endbr_seal_sections() 864 if (sym->type != STT_FUNC) in create_cfi_sections() 880 if (sym->type != STT_FUNC) in create_cfi_sections() 997 case STT_FUNC: in add_ignores() 1670 if (func && insn_call_dest(insn)->type != STT_FUNC) { in add_call_destinations() 2170 if (func->type != STT_FUNC) in add_jump_table_alts() 4185 if (func->type != STT_FUNC) in add_prefix_symbols() 4229 if (func->type != STT_FUNC) in validate_section()
|
| H A D | elf.c | 186 if (iter->offset == offset && iter->type == STT_FUNC) in find_func_by_offset() 252 if (iter->type == STT_FUNC) in find_func_containing() 521 if (sym->type != STT_FUNC) in read_symbols()
|
| /linux-6.15/tools/testing/selftests/vDSO/ |
| H A D | parse_vdso.c | 244 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in check_sym()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | elf.h | 135 #define STT_FUNC 2 macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | elf.h | 135 #define STT_FUNC 2 macro
|
| /linux-6.15/tools/perf/util/ |
| H A D | genelf.c | 87 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
| H A D | symbol-elf.c | 124 return (elf_sym__type(sym) == STT_FUNC || in elf_sym__is_function() 657 sym = symbol__new(shdr.sh_offset + i, shdr.sh_entsize, STB_GLOBAL, STT_FUNC, buf); in dso__synthesize_plt_got_symbols() 711 plt_sym = symbol__new(shdr_plt.sh_offset, plt_header_size, STB_GLOBAL, STT_FUNC, ".plt"); in dso__synthesize_plt_symbols() 831 f = symbol__new(plt_offset, plt_entry_size, STB_GLOBAL, STT_FUNC, sympltname); in dso__synthesize_plt_symbols() 1799 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal()
|
| H A D | symbol.c | 1558 sym = symbol__new(start, size, STB_GLOBAL, STT_FUNC, line + len); in dso__load_perf_map() 1685 symbol = symbol__new(start, len, bfd2elf_binding(sym), STT_FUNC, in dso__load_bfd_symbols()
|
| H A D | annotate.c | 236 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); in __symbol__inc_addr_samples()
|
| /linux-6.15/arch/arm/kernel/ |
| H A D | module.c | 282 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | uprobe_multi_test.c | 607 &tmp_offsets, STT_FUNC); in attach_uprobe_fail_refctr() 674 err = elf_resolve_syms_offsets(path, 3, syms, (unsigned long **) &offsets, STT_FUNC); in __test_link_api()
|
| H A D | fill_link_info.c | 558 (unsigned long **) &offsets, STT_FUNC); in test_uprobe_multi_fill_link_info()
|
| /linux-6.15/tools/objtool/arch/x86/ |
| H A D | decode.c | 676 if (sym && sym->type == STT_FUNC) { in arch_decode_instruction()
|
| /linux-6.15/scripts/ |
| H A D | recordmcount.h | 539 && ELF_ST_TYPE(symp->st_info) == STT_FUNC) in find_secsym_ndx()
|
| /linux-6.15/arch/x86/tools/ |
| H A D | relocs.c | 160 SYM_TYPE(STT_FUNC), in sym_type()
|