| /kernel/linux/linux-5.10/scripts/mod/ |
| H A D | modpost.c | 348 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname() argument 366 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec() argument 821 static const char *sym_name(struct elf_info *elf, Elf_Sy argument 901 check_section(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) check_section() argument 1280 is_valid_name(struct elf_info *elf, Elf_Sym *sym) is_valid_name() argument 1296 find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, Elf_Sym *relsym) find_elf_symbol() argument 1344 find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, const char *sec) find_elf_symbol2() argument 1584 default_mismatch_handler(const char *modname, struct elf_info *elf, const struct sectioncheck* const mismatch, Elf_Rela *r, Elf_Sym *sym, const char *fromsec) default_mismatch_handler() argument 1614 is_executable_section(struct elf_info* elf, unsigned int section_index) is_executable_section() argument 1659 report_extable_warnings(const char* modname, struct elf_info* elf, const struct sectioncheck* const mismatch, Elf_Rela* r, Elf_Sym* sym, const char* fromsec, const char* tosec) report_extable_warnings() argument 1697 extable_mismatch_handler(const char* modname, struct elf_info *elf, const struct sectioncheck* const mismatch, Elf_Rela* r, Elf_Sym* sym, const char *fromsec) extable_mismatch_handler() argument 1733 check_section_mismatch(const char *modname, struct elf_info *elf, Elf_Rela *r, Elf_Sym *sym, const char *fromsec) check_section_mismatch() argument 1749 reloc_location(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) reloc_location() argument 1755 addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_386_rel() argument 1798 addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_arm_rel() argument 1832 addend_mips_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_mips_rel() argument 1863 section_rela(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) section_rela() argument 1916 section_rel(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) section_rel() argument 1988 check_sec_ref(struct module *mod, const char *modname, struct elf_info *elf) check_sec_ref() argument [all...] |
| /kernel/linux/linux-5.10/tools/perf/util/ |
| H A D | probe-event.c | 272 Elf *elf; in find_module_name() local 596 Elf *elf; in get_text_start_address() local [all...] |
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | probe-event.c | 282 Elf *elf; in find_module_name() local 606 Elf *elf; in get_text_start_address() local [all...] |
| H A D | symbol-elf.c | 67 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum() argument 180 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index() argument 199 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name() argument 228 Elf *elf; in filename__has_section() local 253 elf_read_program_header(Elf *elf, u64 vaddr, GElf_Phdr *phdr) elf_read_program_header() argument 402 get_ifunc_name(Elf *elf, struct dso *dso, GElf_Ehdr *ehdr, struct rel_info *ri, char *buf, size_t buf_sz) get_ifunc_name() argument 538 get_rela_dyn_info(Elf *elf, GElf_Ehdr *ehdr, struct rela_dyn_info *di, Elf_Scn *scn) get_rela_dyn_info() argument 632 dso__synthesize_plt_got_symbols(struct dso *dso, Elf *elf, GElf_Ehdr *ehdr, char *buf, size_t buf_sz) dso__synthesize_plt_got_symbols() argument 683 Elf *elf; dso__synthesize_plt_symbols() local 856 elf_read_build_id(Elf *elf, void *bf, size_t size) elf_read_build_id() argument 970 Elf *elf; read_build_id() local 1123 Elf *elf; filename__read_debuglink() local 1232 Elf *elf; symsrc__init() local 1499 Elf *elf; dso__load_sym_internal() local 1789 elf_read_maps(Elf *elf, bool exe, mapfn_t mapfn, void *data) elf_read_maps() argument 1825 Elf *elf; file__read_maps() local 1845 Elf *elf; dso__type_fd() local 1917 Elf *elf; global() member 2257 kcore_copy__read_maps(struct kcore_copy_info *kci, Elf *elf) kcore_copy__read_maps() argument 2323 kcore_copy__calc_maps(struct kcore_copy_info *kci, const char *dir, Elf *elf) kcore_copy__calc_maps() argument 2654 populate_sdt_note(Elf **elf, const char *data, size_t len, struct list_head *sdt_notes) populate_sdt_note() argument 2786 construct_sdt_notes_list(Elf *elf, struct list_head *sdt_notes) construct_sdt_notes_list() argument 2853 Elf *elf; get_sdt_note_list() local [all...] |
| /kernel/linux/linux-6.6/scripts/mod/ |
| H A D | modpost.c | 711 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() argument 774 static void check_section(const char *modname, struct elf_info *elf, in check_section() argument 1054 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name() argument 1064 static Elf_Sym *find_nearest_sym(struct elf_info *elf, Elf_Addr addr, in find_nearest_sym() argument 1106 find_fromsym(struct elf_info *elf, Elf_Addr addr, unsigned int secndx) find_fromsym() argument 1112 find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) find_tosym() argument 1125 is_executable_section(struct elf_info *elf, unsigned int secndx) is_executable_section() argument 1133 default_mismatch_handler(const char *modname, struct elf_info *elf, const struct sectioncheck* const mismatch, Elf_Sym *tsym, unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, const char *tosec, Elf_Addr taddr) default_mismatch_handler() argument 1181 check_export_symbol(struct module *mod, struct elf_info *elf, Elf_Addr faddr, const char *secname, Elf_Sym *sym) check_export_symbol() argument 1251 check_section_mismatch(struct module *mod, struct elf_info *elf, Elf_Sym *sym, unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, Elf_Addr taddr) check_section_mismatch() argument 1442 get_rel_type_and_sym(struct elf_info *elf, uint64_t r_info, unsigned int *r_type, unsigned int *r_sym) get_rel_type_and_sym() argument 1477 section_rela(struct module *mod, struct elf_info *elf, Elf_Shdr *sechdr) section_rela() argument 1519 section_rel(struct module *mod, struct elf_info *elf, Elf_Shdr *sechdr) section_rel() argument 1575 check_sec_ref(struct module *mod, struct elf_info *elf) check_sec_ref() argument [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 359 Elf *elf = NULL; in is_bpf_obj_file() local
|
| /third_party/elfutils/src/ |
| H A D | elflint.c | 158 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in main() local 231 process_file (int fd, Elf *elf, const char *prefix, const char *suffix, in process_file() argument 3047 unknown_dependency_p(Elf *elf, const char *fname) unknown_dependency_p() argument 4767 process_elf_file(Elf *elf, const char *prefix, const char *suffix, const char *fname, size_t size, bool only_one) process_elf_file() argument [all...] |
| H A D | readelf.c | 644 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in open_input_section() local 756 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); check_archive_index() local 941 elf_contains_chdrs(Elf *elf) elf_contains_chdrs() argument 959 Elf *elf = dwfl_module_getelf (dwflmod, &dwflbias); process_elf_file() local 4878 find_offsets(Elf *elf, GElf_Addr main_bias, size_t n, GElf_Addr addrs[n], GElf_Off offs[n]) find_offsets() argument 4904 get_dynscn_addrs(Elf *elf, GElf_Phdr *phdr, GElf_Addr addrs[i_max]) get_dynscn_addrs() argument 4956 get_dynscn_strtab(Elf *elf, GElf_Phdr *phdr) get_dynscn_strtab() argument 12975 for_each_section_argument(Elf *elf, const struct section_argument *list, void (*dump) (Elf_Scn *scn, const GElf_Shdr *shdr, const char *name)) for_each_section_argument() argument 13074 dump_archive_index(Elf *elf, const char *fname) dump_archive_index() argument [all...] |
| /kernel/linux/linux-5.10/tools/lib/bpf/ |
| H A D | btf.c | 809 Elf *elf = NULL; in btf__parse_elf() local [all...] |
| H A D | libbpf.c | 433 Elf *elf; member 2661 Elf *elf = obj->efile.elf; elf_sec_by_name() local 2804 Elf *elf = obj->efile.elf; bpf_object__elf_collect() local [all...] |
| /kernel/linux/linux-6.6/tools/lib/bpf/ |
| H A D | btf.c | 929 Elf *elf = NULL; in btf_parse_elf() local [all...] |
| H A D | libbpf.c | 613 Elf *elf; member 1316 Elf *elf; in bpf_object__elf_init() local 3245 Elf *elf = obj->efile.elf; elf_sec_by_name() local 3389 Elf *elf = obj->efile.elf; bpf_object__elf_collect() local 11125 Elf *elf; elf_find_func_offset_from_archive() local [all...] |
| /third_party/elfutils/debuginfod/ |
| H A D | debuginfod.cxx | 1569 Elf *elf = elf_begin (elf_fd, ELF_C_READ_MMAP_PRIVATE, NULL); in extract_section() local 2895 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP_PRIVATE, NULL); in elf_classify() local [all...] |
| /third_party/libbpf/src/ |
| H A D | btf.c | 1087 static Elf64_Shdr *elf_sec_hdr_by_idx(pelfio_t elf, size_t idx, Elf64_Shdr *sheader) in elf_sec_hdr_by_idx() argument 1114 Elf *elf = NULL; local 1117 pelfio_t elf; local [all...] |
| H A D | libbpf.c | 632 Elf *elf; member 634 pelfio_t elf; member 1371 Elf *elf; local 1373 pelfio_t elf; local 3004 pelfio_t elf = obj->efile.elf; global() local 3455 Elf *elf = obj->efile.elf; global() local 3567 pelfio_t elf = obj->efile.elf; global() local 3577 pelfio_t elf = obj->efile.elf; global() local 3658 Elf *elf = obj->efile.elf; global() local 3660 pelfio_t elf = obj->efile.elf; global() local 11576 Elf *elf; global() local 11578 pelfio_t elf; global() local [all...] |
| /third_party/libabigail/src/ |
| H A D | abg-dwarf-reader.cc | 4968 Elf* elf = elf_handle(); maybe_adjust_var_sym_address() local [all...] |