/Linux-v5.4/tools/objtool/ |
D | elf.c | 24 struct section *find_section_by_name(struct elf *elf, const char *name) in find_section_by_name() 35 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() 47 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index() 72 struct symbol *find_symbol_by_name(struct elf *elf, const char *name) in find_symbol_by_name() 131 static int read_sections(struct elf *elf) in read_sections() 207 static int read_symbols(struct elf *elf) in read_symbols() 350 static int read_relas(struct elf *elf) in read_relas() 406 struct elf *elf; in elf_read() local 461 struct section *elf_create_section(struct elf *elf, const char *name, in elf_create_section() 562 struct section *elf_create_rela_section(struct elf *elf, struct section *base) in elf_create_rela_section() [all …]
|
D | elf.h | 68 struct elf { struct 69 Elf *elf; argument 78 struct elf *elf_read(const char *name, int flags); argument
|
D | special.c | 71 static int get_alt_entry(struct elf *elf, struct special_entry *entry, in get_alt_entry() 159 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
|
D | orc_dump.c | 70 Elf *elf; in orc_dump() local
|
D | check.h | 51 struct elf *elf; member
|
/Linux-v5.4/scripts/mod/ |
D | modpost.c | 303 static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr) in sech_name() 310 static const char *sec_name(struct elf_info *elf, int secindex) in sec_name() 317 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname() 335 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec() 841 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() 921 static void check_section(const char *modname, struct elf_info *elf, in check_section() 1299 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name() 1315 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol() 1359 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2() 1599 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler() [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | symbol-elf.c | 75 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum() 188 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index() 207 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name() 294 Elf *elf; in dso__synthesize_plt_symbols() local 454 static int elf_read_build_id(Elf *elf, void *bf, size_t size) in elf_read_build_id() 536 Elf *elf; in filename__read_build_id() local 615 Elf *elf; in filename__read_debuglink() local 716 Elf *elf; in symsrc__init() local 966 Elf *elf; in dso__load_sym() local 1173 static int elf_read_maps(Elf *elf, bool exe, mapfn_t mapfn, void *data) in elf_read_maps() [all …]
|
D | symsrc.h | 21 Elf *elf; member
|
D | unwind-libunwind-local.c | 173 Elf *elf; in elf_section_offset() local 199 Elf *elf; in elf_is_exec() local
|
D | probe-finder.c | 1146 Elf *elf; in debuginfo__find_probes() local 1521 Elf *elf; in debuginfo__get_text_offset() local
|
D | probe-event.c | 260 Elf *elf; in find_module_name() local 531 Elf *elf; in get_text_start_address() local
|
/Linux-v5.4/tools/objtool/arch/x86/ |
D | decode.c | 29 static int is_x86_64(struct elf *elf) in is_x86_64() 69 int arch_decode_instruction(struct elf *elf, struct section *sec, in arch_decode_instruction()
|
/Linux-v5.4/tools/build/feature/ |
D | test-libelf-mmap.c | 6 Elf *elf = elf_begin(0, ELF_C_READ_MMAP, 0); in main() local
|
D | test-libelf.c | 6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
|
/Linux-v5.4/samples/bpf/ |
D | bpf_load.c | 316 static int get_sec(Elf *elf, int i, GElf_Ehdr *ehdr, char **shname, in get_sec() 400 Elf *elf, Elf_Data *symbols, int strtabidx) in load_elf_maps_section() 511 Elf *elf; in do_load_bpf_file() local
|
/Linux-v5.4/fs/ |
D | binfmt_elf.c | 496 struct file *elf, bool is_interp, in arch_elf_pt_proc() 1426 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header() 1760 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() 2009 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() 2161 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info() 2191 struct elfhdr *elf = NULL; in elf_core_dump() local
|
D | binfmt_elf_fdpic.c | 1290 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header() 1474 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info() 1556 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
|
/Linux-v5.4/arch/alpha/boot/tools/ |
D | objstrip.c | 61 struct elfhdr *elf; in main() local
|
/Linux-v5.4/arch/s390/include/asm/ |
D | elf.h | 170 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument 185 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | fadump.c | 657 struct elfhdr *elf; in fadump_update_elfcore_header() local 841 struct elfhdr *elf; in fadump_init_elfcore_header() local 956 struct elfhdr *elf; in fadump_create_elfcore_headers() local
|
/Linux-v5.4/arch/mips/kernel/ |
D | elf.c | 75 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 307 Elf64_Ehdr *elf; in create_opalcore() local
|
/Linux-v5.4/tools/lib/bpf/ |
D | libbpf.c | 260 Elf *elf; member 676 Elf *elf = obj->efile.elf; in bpf_object_search_section_size() local 1521 Elf *elf = obj->efile.elf; in bpf_object__elf_collect() local
|
D | btf.c | 389 Elf *elf = NULL; in btf__parse_elf() local
|