Home
last modified time | relevance | path

Searched refs:Elf64_Ehdr (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/lib/
H A Dbuildid.c111 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in get_build_id_64()
120 if (ehdr->e_phoff != sizeof(Elf64_Ehdr)) in get_build_id_64()
125 if (phnum > (PAGE_SIZE - sizeof(Elf64_Ehdr)) / sizeof(Elf64_Phdr)) in get_build_id_64()
128 phdr = (Elf64_Phdr *)(page_addr + sizeof(Elf64_Ehdr)); in get_build_id_64()
/openbmc/linux/fs/proc/
H A Dvmcore.c852 Elf64_Ehdr *ehdr_ptr; in merge_note_headers_elf64()
856 ehdr_ptr = (Elf64_Ehdr *)elfptr; in merge_note_headers_elf64()
878 note_off = sizeof(Elf64_Ehdr) + in merge_note_headers_elf64()
886 tmp = elfptr + sizeof(Elf64_Ehdr); in merge_note_headers_elf64()
1107 Elf64_Ehdr *ehdr_ptr; in process_ptload_program_headers_elf64()
1112 ehdr_ptr = (Elf64_Ehdr *)elfptr; in process_ptload_program_headers_elf64()
1214 Elf64_Ehdr ehdr; in parse_crash_elf64_headers()
1220 rc = elfcorehdr_read((char *)&ehdr, sizeof(Elf64_Ehdr), &addr); in parse_crash_elf64_headers()
1231 ehdr.e_ehsize != sizeof(Elf64_Ehdr) || in parse_crash_elf64_headers()
1239 elfcorebuf_sz_orig = sizeof(Elf64_Ehdr) + in parse_crash_elf64_headers()
[all …]
/openbmc/qemu/contrib/elf2dmp/
H A Dqemu_elf.c26 Elf64_Ehdr *ehdr = map; in elf64_getphdr()
34 Elf64_Ehdr *ehdr = map; in elf_getphdrnum()
134 Elf64_Ehdr *ehdr = qe->map; in check_ehdr()
137 if (sizeof(Elf64_Ehdr) > qe->size) { in check_ehdr()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-core.c308 Elf64_Ehdr *elf; in create_opalcore()
313 hdr_size = (sizeof(Elf64_Ehdr) + in create_opalcore()
357 elf = (Elf64_Ehdr *)bufp; in create_opalcore()
358 bufp += sizeof(Elf64_Ehdr); in create_opalcore()
369 elf->e_phoff = cpu_to_be64(sizeof(Elf64_Ehdr)); in create_opalcore()
373 elf->e_ehsize = cpu_to_be16(sizeof(Elf64_Ehdr)); in create_opalcore()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Delf.c15 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get()
117 Elf64_Ehdr hdr; in kvm_vm_elf_load()
/openbmc/linux/arch/x86/um/asm/
H A Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr
/openbmc/linux/scripts/
H A Dsorttable.c343 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file()
344 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) || in do_file()
H A Drecordmcount.c635 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file()
636 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()
/openbmc/u-boot/cmd/
H A Delf.c37 Elf64_Ehdr *ehdr; /* Elf header structure pointer */ in load_elf64_image_phdr()
41 ehdr = (Elf64_Ehdr *)addr; in load_elf64_image_phdr()
78 Elf64_Ehdr *ehdr; /* Elf header structure pointer */ in load_elf64_image_shdr()
84 ehdr = (Elf64_Ehdr *)addr; in load_elf64_image_shdr()
/openbmc/linux/arch/sparc/vdso/
H A Dvdso2c.c146 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
/openbmc/linux/include/asm-generic/
H A Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr
/openbmc/linux/arch/x86/entry/vdso/
H A Dvdso2c.c173 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
/openbmc/linux/kernel/
H A Dcrash_core.c327 Elf64_Ehdr *ehdr; in crash_prepare_elf64_headers()
348 elf_sz = sizeof(Elf64_Ehdr) + nr_phdr * sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
355 ehdr = (Elf64_Ehdr *)buf; in crash_prepare_elf64_headers()
366 ehdr->e_phoff = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
367 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
/openbmc/linux/arch/powerpc/boot/
H A Dof.c51 const Elf64_Ehdr *elf64 = hdr; in of_image_hdr()
H A Delf_util.c16 Elf64_Ehdr *elf64 = hdr; in parse_elf64()
H A Delf.h87 } Elf64_Ehdr; typedef
/openbmc/linux/arch/mips/include/asm/
H A Dmodule.h59 #define Elf_Ehdr Elf64_Ehdr
/openbmc/linux/arch/s390/kernel/
H A Dcrash_dump.c453 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init()
464 ehdr->e_phoff = sizeof(Elf64_Ehdr); in ehdr_init()
465 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in ehdr_init()
548 size = sizeof(Elf64_Ehdr); in get_elfcorehdr_size()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/
H A D567.patch29 +#define ELF_Ehdr Elf64_Ehdr
/openbmc/linux/arch/mips/tools/
H A Delf-entry.c39 Elf64_Ehdr ehdr64; in main()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c134 Elf64_Ehdr *ehdr;
277 elf.ehdr = elf_ptr(Elf64_Ehdr, 0); in init_elf()
/openbmc/linux/tools/perf/util/
H A Dgenelf.h63 #define Elf_Ehdr Elf64_Ehdr
H A Dsymbol-minimal.c167 Elf64_Ehdr ehdr; in filename__read_build_id()
320 Elf64_Ehdr ehdr; in dso__type_fd()
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dendian-ness_handling_fix.patch24 Elf64_Ehdr *elf_header;
/openbmc/qemu/tcg/
H A Dperf.c170 Elf64_Ehdr elf_header; in get_e_machine()
175 offsetof(Elf64_Ehdr, e_machine)); in get_e_machine()

123