/openbmc/qemu/contrib/elf2dmp/ |
H A D | qemu_elf.c | 24 Elf64_Phdr *elf64_getphdr(void *map) in elf64_getphdr() 27 Elf64_Phdr *phdr = (void *)((uint8_t *)map + ehdr->e_phoff); in elf64_getphdr() 60 Elf64_Phdr *phdr = elf64_getphdr(qe->map); in init_states() 177 if (umul64_overflow(ehdr->e_phnum, sizeof(Elf64_Phdr), &phendoff) || in check_ehdr()
|
H A D | qemu_elf.h | 48 Elf64_Phdr *elf64_getphdr(void *map);
|
H A D | addrspace.c | 76 Elf64_Phdr *phdr = elf64_getphdr(qemu_elf->map); in pa_space_create()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-core.c | 50 Elf64_Phdr *ptload_phdr; 307 Elf64_Phdr *phdr; in create_opalcore() 314 ((oc_conf->ptload_cnt + 1) * sizeof(Elf64_Phdr))); in create_opalcore() 374 elf->e_phentsize = cpu_to_be16(sizeof(Elf64_Phdr)); in create_opalcore() 380 phdr = (Elf64_Phdr *)bufp; in create_opalcore() 381 bufp += sizeof(Elf64_Phdr); in create_opalcore() 391 oc_conf->ptload_phdr = (Elf64_Phdr *)bufp; in create_opalcore() 394 phdr = (Elf64_Phdr *)bufp; in create_opalcore() 395 bufp += sizeof(Elf64_Phdr); in create_opalcore()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 83 TEST_ASSERT(hdrp->e_phentsize == sizeof(Elf64_Phdr), in elfhdr_get() 87 hdrp->e_phentsize, sizeof(Elf64_Phdr)); in elfhdr_get() 148 Elf64_Phdr phdr; in kvm_vm_elf_load()
|
/openbmc/linux/fs/proc/ |
H A D | vmcore.c | 729 Elf64_Phdr *phdr_ptr; in update_note_header_size_elf64() 732 phdr_ptr = (Elf64_Phdr *)(ehdr_ptr + 1); in update_note_header_size_elf64() 793 Elf64_Phdr *phdr_ptr; in get_note_number_and_size_elf64() 797 phdr_ptr = (Elf64_Phdr *)(ehdr_ptr + 1); in get_note_number_and_size_elf64() 827 Elf64_Phdr *phdr_ptr; in copy_notes_elf64() 829 phdr_ptr = (Elf64_Phdr*)(ehdr_ptr + 1); in copy_notes_elf64() 853 Elf64_Phdr phdr; in merge_note_headers_elf64() 891 i = (nr_ptnote - 1) * sizeof(Elf64_Phdr); in merge_note_headers_elf64() 1108 Elf64_Phdr *phdr_ptr; in process_ptload_program_headers_elf64() 1240 ehdr.e_phnum * sizeof(Elf64_Phdr); in parse_crash_elf64_headers() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | crash_dump.c | 466 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init() 501 static void loads_init(Elf64_Phdr *phdr, u64 loads_offset) in loads_init() 522 static void *notes_init(Elf64_Phdr *phdr, void *ptr, u64 notes_offset) in notes_init() 550 size += sizeof(Elf64_Phdr); in get_elfcorehdr_size() 560 size += mem_chunk_cnt * sizeof(Elf64_Phdr); in get_elfcorehdr_size() 570 Elf64_Phdr *phdr_notes, *phdr_loads; in elfcorehdr_alloc() 607 ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr)); in elfcorehdr_alloc() 609 ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt); in elfcorehdr_alloc()
|
/openbmc/linux/lib/ |
H A D | buildid.c | 112 Elf64_Phdr *phdr; 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/arch/powerpc/boot/ |
H A D | elf_util.c | 17 Elf64_Phdr *elf64ph; in parse_elf64() 35 elf64ph = (Elf64_Phdr *)((unsigned long)elf64 + in parse_elf64()
|
H A D | elf.h | 115 } Elf64_Phdr; typedef
|
/openbmc/linux/include/asm-generic/ |
H A D | module.h | 17 #define Elf_Phdr Elf64_Phdr
|
/openbmc/linux/tools/testing/selftests/sgx/ |
H A D | load.c | 181 Elf64_Phdr *phdr_tbl; in encl_load() 235 Elf64_Phdr *phdr = &phdr_tbl[i]; in encl_load() 247 Elf64_Phdr *phdr = &phdr_tbl[i]; in encl_load()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/ |
H A D | 567.patch | 30 +#define ELF_Phdr Elf64_Phdr
|
/openbmc/linux/kernel/ |
H A D | crash_core.c | 328 Elf64_Phdr *phdr; in crash_prepare_elf64_headers() 348 elf_sz = sizeof(Elf64_Ehdr) + nr_phdr * sizeof(Elf64_Phdr); in crash_prepare_elf64_headers() 356 phdr = (Elf64_Phdr *)(ehdr + 1); in crash_prepare_elf64_headers() 368 ehdr->e_phentsize = sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
|
/openbmc/linux/tools/perf/util/ |
H A D | genelf.h | 64 #define Elf_Phdr Elf64_Phdr
|
H A D | symbol-minimal.c | 168 Elf64_Phdr *phdr; in filename__read_build_id()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | crash.c | 371 kbuf.memsz = pnum * sizeof(Elf64_Phdr); in crash_load_segments() 424 sz *= sizeof(Elf64_Phdr); in arch_crash_get_elfcorehdr_size()
|
/openbmc/u-boot/cmd/ |
H A D | elf.c | 38 Elf64_Phdr *phdr; /* Program header structure pointer */ in load_elf64_image_phdr() 42 phdr = (Elf64_Phdr *)(addr + (ulong)ehdr->e_phoff); in load_elf64_image_phdr()
|
/openbmc/qemu/dump/ |
H A D | dump.c | 156 elf_header->e_phentsize = cpu_to_dump16(s, sizeof(Elf64_Phdr)); in prepare_elf64_header() 221 Elf64_Phdr phdr; in write_elf64_load() 224 memset(&phdr, 0, sizeof(Elf64_Phdr)); in write_elf64_load() 234 ret = fd_write_vmcore(&phdr, sizeof(Elf64_Phdr), s); in write_elf64_load() 266 static void prepare_elf64_phdr_note(DumpState *s, Elf64_Phdr *phdr) in prepare_elf64_phdr_note() 363 Elf64_Phdr phdr64; in write_elf_phdr_note() 2000 s->note_offset = s->phdr_offset + sizeof(Elf64_Phdr) * s->phdr_num; in dump_init()
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
H A D | 32and64bit.patch | 231 + Elf64_Phdr *elf_pheader, *segment; 246 + elf_pheader = (Elf64_Phdr *) (elf_header->e_phoff + file_contents);
|
H A D | endian-ness_handling.patch | 205 - elf_pheader = (Elf64_Phdr *) (elf_header->e_phoff + file_contents); 206 + elf_pheader = (Elf64_Phdr *) (read64(elf_header->e_phoff, be) + file_contents);
|
/openbmc/linux/arch/parisc/boot/compressed/ |
H A D | misc.c | 237 Elf64_Phdr *phdrs, *phdr; in parse_elf()
|
/openbmc/linux/include/uapi/linux/ |
H A D | elf.h | 269 } Elf64_Phdr; typedef
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | misc.c | 284 Elf64_Phdr *phdrs, *phdr; in parse_elf()
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | core-pkey.c | 199 Elf64_Phdr *phdr; in check_core_file()
|