/linux-6.6.21/arch/powerpc/platforms/powernv/ |
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()
|
/linux-6.6.21/fs/proc/ |
D | vmcore.c | 726 Elf64_Phdr *phdr_ptr; in update_note_header_size_elf64() 729 phdr_ptr = (Elf64_Phdr *)(ehdr_ptr + 1); in update_note_header_size_elf64() 790 Elf64_Phdr *phdr_ptr; in get_note_number_and_size_elf64() 794 phdr_ptr = (Elf64_Phdr *)(ehdr_ptr + 1); in get_note_number_and_size_elf64() 824 Elf64_Phdr *phdr_ptr; in copy_notes_elf64() 826 phdr_ptr = (Elf64_Phdr*)(ehdr_ptr + 1); in copy_notes_elf64() 850 Elf64_Phdr phdr; in merge_note_headers_elf64() 876 (ehdr_ptr->e_phnum - nr_ptnote +1) * sizeof(Elf64_Phdr); in merge_note_headers_elf64() 888 i = (nr_ptnote - 1) * sizeof(Elf64_Phdr); in merge_note_headers_elf64() 890 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64() [all …]
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
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()
|
/linux-6.6.21/arch/s390/kernel/ |
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()
|
/linux-6.6.21/lib/ |
D | buildid.c | 98 Elf64_Phdr *phdr; in get_build_id_64() 103 (PAGE_SIZE - sizeof(Elf64_Ehdr)) / sizeof(Elf64_Phdr)) in get_build_id_64() 106 phdr = (Elf64_Phdr *)(page_addr + sizeof(Elf64_Ehdr)); in get_build_id_64()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | elf_util.c | 17 Elf64_Phdr *elf64ph; in parse_elf64() 35 elf64ph = (Elf64_Phdr *)((unsigned long)elf64 + in parse_elf64()
|
D | elf.h | 115 } Elf64_Phdr; typedef
|
/linux-6.6.21/tools/testing/selftests/sgx/ |
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()
|
D | main.c | 49 Elf64_Phdr *phdrtab = addr + ehdr->e_phoff; in vdso_get_dyntab()
|
/linux-6.6.21/include/asm-generic/ |
D | module.h | 17 #define Elf_Phdr Elf64_Phdr
|
/linux-6.6.21/kernel/ |
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()
|
D | Kconfig.kexec | 139 sizeof(Elf64_Phdr) to determine the final elfcorehdr memory buffer/
|
/linux-6.6.21/tools/perf/util/ |
D | genelf.h | 64 #define Elf_Phdr Elf64_Phdr
|
D | symbol-minimal.c | 168 Elf64_Phdr *phdr; in filename__read_build_id()
|
D | symbol-elf.c | 2011 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
|
/linux-6.6.21/arch/x86/kernel/ |
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()
|
/linux-6.6.21/arch/parisc/boot/compressed/ |
D | misc.c | 237 Elf64_Phdr *phdrs, *phdr; in parse_elf()
|
/linux-6.6.21/arch/x86/boot/compressed/ |
D | misc.c | 284 Elf64_Phdr *phdrs, *phdr; in parse_elf()
|
/linux-6.6.21/include/uapi/linux/ |
D | elf.h | 269 } Elf64_Phdr; typedef
|
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/ |
D | core-pkey.c | 199 Elf64_Phdr *phdr; in check_core_file()
|
/linux-6.6.21/arch/powerpc/kexec/ |
D | file_load_64.c | 772 Elf64_Phdr *phdr; in update_backup_region_phdr() 775 phdr = (Elf64_Phdr *)(ehdr + 1); in update_backup_region_phdr()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | unwind.c | 2193 Elf64_Phdr *punw = NULL, *phdr = (Elf64_Phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in create_gate_table()
|