| /kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
| H A D | opal-core.c | 308 Elf64_Ehdr *elf; in create_opalcore() local [all...] |
| /kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
| H A D | opal-core.c | 308 Elf64_Ehdr *elf; in create_opalcore() local [all...] |
| /kernel/linux/linux-5.10/samples/bpf/ |
| H A D | bpf_load.c | 316 static int get_sec(Elf *elf, int i, GElf_Ehdr *ehdr, char **shname, in get_sec() argument 511 Elf *elf; in do_load_bpf_file() local 399 load_elf_maps_section(struct bpf_map_data *maps, int maps_shndx, Elf *elf, Elf_Data *symbols, int strtabidx) load_elf_maps_section() argument [all...] |
| /kernel/linux/linux-5.10/tools/objtool/ |
| H A D | elf.c | 130 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name() argument 141 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() argument 153 static struct symbol *find_symbol_by_index(struct elf *elf, unsigne argument 220 find_symbol_by_name(const struct elf *elf, const char *name) find_symbol_by_name() argument 231 find_reloc_by_dest_range(const struct elf *elf, struct section *sec, unsigned long offset, unsigned int len) find_reloc_by_dest_range() argument 260 find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) find_reloc_by_dest() argument 265 read_sections(struct elf *elf) read_sections() argument 344 elf_add_symbol(struct elf *elf, struct symbol *sym) elf_add_symbol() argument 375 read_symbols(struct elf *elf) read_symbols() argument 512 elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, unsigned int type, struct symbol *sym, s64 addend) elf_add_reloc() argument 546 elf_dirty_reloc_sym(struct elf *elf, struct symbol *sym) elf_dirty_reloc_sym() argument 573 elf_update_symbol(struct elf *elf, struct section *symtab, struct section *symtab_shndx, struct symbol *sym) elf_update_symbol() argument 692 elf_create_section_symbol(struct elf *elf, struct section *sec) elf_create_section_symbol() argument 760 elf_add_reloc_to_insn(struct elf *elf, struct section *sec, unsigned long offset, unsigned int type, struct section *insn_sec, unsigned long insn_off) elf_add_reloc_to_insn() argument 810 read_relocs(struct elf *elf) read_relocs() argument 880 struct elf *elf; elf_open_read() local 941 elf_add_string(struct elf *elf, struct section *strtab, char *str) elf_add_string() argument 978 elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t entsize, int nr) elf_create_section() argument 1061 elf_create_rel_reloc_section(struct elf *elf, struct section *base) elf_create_rel_reloc_section() argument 1091 elf_create_rela_reloc_section(struct elf *elf, struct section *base) elf_create_rela_reloc_section() argument 1121 elf_create_reloc_section(struct elf *elf, struct section *base, int reltype) elf_create_reloc_section() argument 1191 elf_rebuild_reloc_section(struct elf *elf, struct section *sec) elf_rebuild_reloc_section() argument 1207 elf_write_insn(struct elf *elf, struct section *sec, unsigned long offset, unsigned int len, const char *insn) elf_write_insn() argument 1226 elf_write_reloc(struct elf *elf, struct reloc *reloc) elf_write_reloc() argument 1254 elf_write(struct elf *elf) elf_write() argument 1297 elf_close(struct elf *elf) elf_close() argument [all...] |
| /kernel/linux/linux-5.10/tools/bpf/resolve_btfids/ |
| H A D | main.c | 95 Elf *elf; member 276 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument 304 Elf *elf; in elf_collect() local [all...] |
| /kernel/linux/linux-5.10/tools/perf/util/ |
| H A D | unwind-libunwind-local.c | 173 Elf *elf; in elf_section_offset() local 199 Elf *elf; in elf_is_exec() local [all...] |
| /kernel/linux/linux-6.6/tools/objtool/ |
| H A D | elf.c | 132 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name() argument 144 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() argument 157 static struct symbol *find_symbol_by_index(struct elf *elf, unsigne argument 256 find_symbol_by_name(const struct elf *elf, const char *name) find_symbol_by_name() argument 268 find_reloc_by_dest_range(const struct elf *elf, struct section *sec, unsigned long offset, unsigned int len) find_reloc_by_dest_range() argument 298 find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) find_reloc_by_dest() argument 308 read_sections(struct elf *elf) read_sections() argument 394 elf_add_symbol(struct elf *elf, struct symbol *sym) elf_add_symbol() argument 435 read_symbols(struct elf *elf) read_symbols() argument 579 elf_update_sym_relocs(struct elf *elf, struct symbol *sym) elf_update_sym_relocs() argument 597 elf_update_symbol(struct elf *elf, struct section *symtab, struct section *symtab_shndx, struct symbol *sym) elf_update_symbol() argument 728 __elf_create_symbol(struct elf *elf, struct symbol *sym) __elf_create_symbol() argument 794 elf_create_section_symbol(struct elf *elf, struct section *sec) elf_create_section_symbol() argument 822 elf_create_prefix_symbol(struct elf *elf, struct symbol *orig, long size) elf_create_prefix_symbol() argument 850 elf_init_reloc(struct elf *elf, struct section *rsec, unsigned int reloc_idx, unsigned long offset, struct symbol *sym, s64 addend, unsigned int type) elf_init_reloc() argument 886 elf_init_reloc_text_sym(struct elf *elf, struct section *sec, unsigned long offset, unsigned int reloc_idx, struct section *insn_sec, unsigned long insn_off) elf_init_reloc_text_sym() argument 919 elf_init_reloc_data_sym(struct elf *elf, struct section *sec, unsigned long offset, unsigned int reloc_idx, struct symbol *sym, s64 addend) elf_init_reloc_data_sym() argument 935 read_relocs(struct elf *elf) read_relocs() argument 998 struct elf *elf; elf_open_read() local 1053 elf_add_string(struct elf *elf, struct section *strtab, char *str) elf_add_string() argument 1090 elf_create_section(struct elf *elf, const char *name, size_t entsize, unsigned int nr) elf_create_section() argument 1170 elf_create_rela_section(struct elf *elf, struct section *sec, unsigned int reloc_nr) elf_create_rela_section() argument 1209 elf_create_section_pair(struct elf *elf, const char *name, size_t entsize, unsigned int nr, unsigned int reloc_nr) elf_create_section_pair() argument 1225 elf_write_insn(struct elf *elf, struct section *sec, unsigned long offset, unsigned int len, const char *insn) elf_write_insn() argument 1252 elf_truncate_section(struct elf *elf, struct section *sec) elf_truncate_section() argument 1297 elf_write(struct elf *elf) elf_write() argument 1341 elf_close(struct elf *elf) elf_close() argument [all...] |
| /kernel/linux/linux-6.6/tools/objtool/include/objtool/ |
| H A D | elf.h | 81 struct elf { struct 82 Elf *elf; member 151 has_multiple_files(struct elf *elf) has_multiple_files() argument 156 elf_addr_size(struct elf *elf) elf_addr_size() argument 161 elf_rela_size(struct elf *elf) elf_rela_size() argument 166 elf_data_rela_type(struct elf *elf) elf_data_rela_type() argument 171 elf_text_rela_type(struct elf *elf) elf_text_rela_type() argument 186 mark_sec_changed(struct elf *elf, struct section *sec, bool changed) mark_sec_changed() argument 241 set_reloc_offset(struct elf *elf, struct reloc *reloc, u64 offset) set_reloc_offset() argument 252 set_reloc_addend(struct elf *elf, struct reloc *reloc, s64 addend) set_reloc_addend() argument 277 set_reloc_sym(struct elf *elf, struct reloc *reloc, unsigned int sym) set_reloc_sym() argument 287 set_reloc_type(struct elf *elf, struct reloc *reloc, unsigned int type) set_reloc_type() argument [all...] |
| /kernel/linux/linux-6.6/tools/bpf/resolve_btfids/ |
| H A D | main.c | 121 Elf *elf; member 305 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument 334 Elf *elf; in elf_collect() local [all...] |
| /third_party/elfutils/libdwfl/ |
| H A D | link_map.c | 417 Elf *elf; report_r_debug() local 814 Elf *elf; dwfl_link_map_report() local [all...] |
| H A D | libdwflP.h | 152 Elf *elf; member 424 Elf *elf; member 687 Elf *elf; global() member [all...] |
| /third_party/elfutils/src/ |
| H A D | elfcompress.c | 175 setshdrstrndx (Elf *elf, GElf_Ehdr *ehdr, size_t ndx) in setshdrstrndx() argument 277 Elf *elf = NULL; in process_file() local [all...] |
| H A D | objdump.c | 245 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() local 286 handle_ar(int fd, Elf *elf, const char *prefix, const char *fname, const char *suffix) handle_ar() argument 442 section_match(Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) section_match() argument 750 handle_elf(Elf *elf, const char *prefix, const char *fname, const char *suffix) handle_elf() argument [all...] |
| H A D | stack.c | 116 Elf *elf = dwfl_module_getelf (mod, &bias); in get_addr_width() local 138 Elf *elf = dwfl_module_getelf (mod, &bias); in module_callback() local
|
| H A D | addr2line.c | 455 Elf *elf = dwfl_module_getelf (mod, &ebias); in print_addrsym() local 592 Elf *elf = dwfl_module_getelf (mod, &bias); in get_addr_width() local
|
| H A D | elfclassify.c | 121 static Elf *elf; variable [all...] |
| /third_party/mesa3d/src/amd/common/ |
| H A D | ac_rtld.c | 80 Elf *elf; member [all...] |
| /third_party/libabigail/src/ |
| H A D | abg-elf-reader.cc | 38 namespace elf namespace 56 Elf *elf = dwarf_getelf(dwarf); in find_alt_dwarf_debug_info_link() local 926 elf_file_type(Elf* elf) elf_file_type() argument 966 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); get_type_of_elf_file() local [all...] |
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
| H A D | unwinder.cpp | 1229 auto elf = frame.map->GetElf(); in FillFrame() local 1368 auto elf = map->GetElf(); in GetSymbolByPc() local
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| H A D | fadump.c | 954 struct elfhdr *elf; in fadump_init_elfcore_header() local 1065 struct elfhdr *elf; fadump_create_elfcore_headers() local [all...] |
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| H A D | fadump.c | 966 struct elfhdr *elf; in fadump_init_elfcore_header() local 1080 struct elfhdr *elf; fadump_create_elfcore_headers() local [all...] |
| /kernel/linux/linux-5.10/fs/ |
| H A D | binfmt_elf_fdpic.c | 1252 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header() argument 1438 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) fill_extnum_info() argument 1484 struct elfhdr *elf = NULL; elf_fdpic_core_dump() local [all...] |
| /kernel/linux/linux-6.6/fs/ |
| H A D | binfmt_elf_fdpic.c | 1233 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header() argument 1420 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) fill_extnum_info() argument 1466 struct elfhdr *elf = NULL; elf_fdpic_core_dump() local [all...] |
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | unwind-libunwind-local.c | 174 Elf *elf; in elf_section_address_and_offset() local 211 Elf *elf = elf_begin(fd, PERF_ELF_C_READ_MMAP, NULL); in elf_base_address() local 234 Elf *elf; elf_is_exec() local [all...] |
| /kernel/linux/linux-6.6/tools/lib/bpf/ |
| H A D | usdt.c | 305 static int sanity_check_usdt_elf(Elf *elf, const char *path) in sanity_check_usdt_elf() argument 357 static int find_elf_sec_by_name(Elf *elf, const char *sec_name, GElf_Shdr *shdr, Elf_Scn **scn) in find_elf_sec_by_name() argument 400 parse_elf_segs(Elf *elf, const char *path, struct elf_seg **segs, size_t *seg_cnt) parse_elf_segs() argument 578 collect_usdt_targets(struct usdt_manager *man, Elf *elf, const char *path, pid_t pid, const char *usdt_provider, const char *usdt_name, __u64 usdt_cookie, struct usdt_target **out_targets, size_t *out_target_cnt) collect_usdt_targets() argument 1133 parse_usdt_note(Elf *elf, const char *path, GElf_Nhdr *nhdr, const char *data, size_t name_off, size_t desc_off, struct usdt_note *note) parse_usdt_note() argument [all...] |