Home
last modified time | relevance | path

Searched refs:Elf64_Phdr (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/arch/powerpc/platforms/powernv/
Dopal-core.c50 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/
Dvmcore.c726 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/
Delf.c83 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/
Dcrash_dump.c466 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/
Dbuildid.c98 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/
Delf_util.c17 Elf64_Phdr *elf64ph; in parse_elf64()
35 elf64ph = (Elf64_Phdr *)((unsigned long)elf64 + in parse_elf64()
Delf.h115 } Elf64_Phdr; typedef
/linux-6.6.21/tools/testing/selftests/sgx/
Dload.c181 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()
Dmain.c49 Elf64_Phdr *phdrtab = addr + ehdr->e_phoff; in vdso_get_dyntab()
/linux-6.6.21/include/asm-generic/
Dmodule.h17 #define Elf_Phdr Elf64_Phdr
/linux-6.6.21/kernel/
Dcrash_core.c328 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()
DKconfig.kexec139 sizeof(Elf64_Phdr) to determine the final elfcorehdr memory buffer/
/linux-6.6.21/tools/perf/util/
Dgenelf.h64 #define Elf_Phdr Elf64_Phdr
Dsymbol-minimal.c168 Elf64_Phdr *phdr; in filename__read_build_id()
Dsymbol-elf.c2011 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
/linux-6.6.21/arch/x86/kernel/
Dcrash.c371 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/
Dmisc.c237 Elf64_Phdr *phdrs, *phdr; in parse_elf()
/linux-6.6.21/arch/x86/boot/compressed/
Dmisc.c284 Elf64_Phdr *phdrs, *phdr; in parse_elf()
/linux-6.6.21/include/uapi/linux/
Delf.h269 } Elf64_Phdr; typedef
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c199 Elf64_Phdr *phdr; in check_core_file()
/linux-6.6.21/arch/powerpc/kexec/
Dfile_load_64.c772 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/
Dunwind.c2193 Elf64_Phdr *punw = NULL, *phdr = (Elf64_Phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in create_gate_table()