/Linux-v6.6/tools/lib/bpf/ |
D | elf.c | 197 ret = elf_sym_iter_new(&iter, elf, binary_path, sh_types[i], STT_FUNC); in elf_find_func_offset() 322 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_syms_offsets() 403 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_pattern_offsets()
|
D | libbpf.c | 827 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in bpf_object__add_programs() 3588 return bind == STB_GLOBAL && type == STT_FUNC; in sym_is_subprog()
|
/Linux-v6.6/arch/arm/include/asm/ |
D | module.h | 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
/Linux-v6.6/tools/lib/symbol/ |
D | kallsyms.c | 11 return (type == 't' || type == 'w') ? STT_FUNC : STT_OBJECT; in kallsyms2elf_type()
|
/Linux-v6.6/tools/objtool/include/objtool/ |
D | check.h | 86 if (sym && sym->type != STT_FUNC) in insn_func()
|
/Linux-v6.6/tools/perf/util/include/linux/ |
D | linkage.h | 20 #define SYM_T_FUNC STT_FUNC
|
/Linux-v6.6/tools/perf/tests/ |
D | symbols.c | 78 if (sym->type != STT_FUNC && sym->type != STT_GNU_IFUNC) in test_dso()
|
D | hists_common.c | 143 STB_GLOBAL, STT_FUNC, fsym->name); in setup_fake_machine()
|
/Linux-v6.6/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 213 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in vdso_sym()
|
/Linux-v6.6/include/linux/ |
D | linkage.h | 80 #define SYM_T_FUNC STT_FUNC
|
/Linux-v6.6/tools/objtool/ |
D | check.c | 446 if (func->type != STT_NOTYPE && func->type != STT_FUNC) in decode_instructions() 469 if (func->type == STT_FUNC && in decode_instructions() 868 if (opts.module && sym && sym->type == STT_FUNC && in create_ibt_endbr_seal_sections() 900 if (sym->type != STT_FUNC) in create_cfi_sections() 916 if (sym->type != STT_FUNC) in create_cfi_sections() 1034 case STT_FUNC: in add_ignores() 1696 if (insn_func(insn) && insn_call_dest(insn)->type != STT_FUNC) { in add_call_destinations() 2183 if (func->type != STT_FUNC) in add_jump_table_alts() 4162 if (func->type != STT_FUNC) in add_prefix_symbols() 4205 if (func->type != STT_FUNC) in validate_section()
|
D | elf.c | 188 if (iter->offset == offset && iter->type == STT_FUNC) in find_func_by_offset() 249 if (iter->type == STT_FUNC) in find_func_containing() 520 if (sym->type != STT_FUNC) in read_symbols()
|
/Linux-v6.6/include/uapi/linux/ |
D | elf.h | 130 #define STT_FUNC 2 macro
|
/Linux-v6.6/tools/perf/util/ |
D | genelf.c | 92 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
D | symbol-elf.c | 122 return (elf_sym__type(sym) == STT_FUNC || in elf_sym__is_function() 653 sym = symbol__new(shdr.sh_offset + i, shdr.sh_entsize, STB_GLOBAL, STT_FUNC, buf); in dso__synthesize_plt_got_symbols() 707 plt_sym = symbol__new(shdr_plt.sh_offset, plt_header_size, STB_GLOBAL, STT_FUNC, ".plt"); in dso__synthesize_plt_symbols() 827 f = symbol__new(plt_offset, plt_entry_size, STB_GLOBAL, STT_FUNC, sympltname); in dso__synthesize_plt_symbols() 1670 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal()
|
D | symbol.c | 1640 sym = symbol__new(start, size, STB_GLOBAL, STT_FUNC, line + len); in dso__load_perf_map() 1764 symbol = symbol__new(start, len, bfd2elf_binding(sym), STT_FUNC, in dso__load_bfd_symbols()
|
D | annotate.c | 946 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); in __symbol__inc_addr_samples()
|
D | probe-event.c | 3110 if (sym->type != STT_FUNC) in find_probe_trace_events_from_map()
|
/Linux-v6.6/arch/arm/kernel/ |
D | module.c | 316 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
/Linux-v6.6/tools/objtool/arch/x86/ |
D | decode.c | 647 if (sym && sym->type == STT_FUNC) { in arch_decode_instruction()
|
/Linux-v6.6/scripts/ |
D | recordmcount.h | 539 && ELF_ST_TYPE(symp->st_info) == STT_FUNC) in find_secsym_ndx()
|
/Linux-v6.6/scripts/mod/ |
D | modpost.c | 1093 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in find_nearest_sym() 1240 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol()
|
/Linux-v6.6/arch/x86/tools/ |
D | relocs.c | 158 SYM_TYPE(STT_FUNC), in sym_type()
|