Searched refs:Elf64_Phdr (Results 1 – 18 of 18) sorted by relevance
| /linux/fs/proc/ |
| H A D | vmcore.c | 743 Elf64_Phdr *phdr_ptr; in update_note_header_size_elf64() 746 phdr_ptr = (Elf64_Phdr *)(ehdr_ptr + 1); in update_note_header_size_elf64() 807 Elf64_Phdr *phdr_ptr; in get_note_number_and_size_elf64() 811 phdr_ptr = (Elf64_Phdr *)(ehdr_ptr + 1); in get_note_number_and_size_elf64() 841 Elf64_Phdr *phdr_ptr; in copy_notes_elf64() 843 phdr_ptr = (Elf64_Phdr*)(ehdr_ptr + 1); in copy_notes_elf64() 867 Elf64_Phdr phdr; in merge_note_headers_elf64() 893 (ehdr_ptr->e_phnum - nr_ptnote +1) * sizeof(Elf64_Phdr); in merge_note_headers_elf64() 905 i = (nr_ptnote - 1) * sizeof(Elf64_Phdr); in merge_note_headers_elf64() 907 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64() [all …]
|
| /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()
|
| /linux/arch/s390/kernel/ |
| H A D | crash_dump.c | 461 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init() 494 static void fill_ptload(Elf64_Phdr *phdr, unsigned long paddr, in fill_ptload() 510 static void loads_init(Elf64_Phdr *phdr, bool os_info_has_vm) in loads_init() 535 void elfcorehdr_fill_device_ram_ptload_elf64(Elf64_Phdr *phdr, in elfcorehdr_fill_device_ram_ptload_elf64() 549 static void text_init(Elf64_Phdr *phdr) in text_init() 568 static void *notes_init(Elf64_Phdr *phdr, void *ptr, u64 notes_offset) in notes_init() 596 size += sizeof(Elf64_Phdr); in get_elfcorehdr_size() 606 size += phdr_count * sizeof(Elf64_Phdr); in get_elfcorehdr_size() 616 Elf64_Phdr *phdr_notes, *phdr_loads, *phdr_text; in elfcorehdr_alloc() 660 ptr = PTR_ADD(phdr_loads, sizeof(Elf64_Phdr) * mem_chunk_cnt); in elfcorehdr_alloc()
|
| /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()
|
| /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
|
| /linux/lib/ |
| H A D | buildid.c | 245 const Elf64_Phdr *phdr; in get_build_id_64() 262 if (phoff + phnum * sizeof(Elf64_Phdr) < phoff) in get_build_id_64() 266 phdr = freader_fetch(r, phoff + i * sizeof(Elf64_Phdr), sizeof(Elf64_Phdr)); in get_build_id_64()
|
| /linux/kernel/ |
| H A D | crash_core.c | 171 Elf64_Phdr *phdr; in crash_prepare_elf64_headers() 191 elf_sz = sizeof(Elf64_Ehdr) + nr_phdr * sizeof(Elf64_Phdr); in crash_prepare_elf64_headers() 199 phdr = (Elf64_Phdr *)(ehdr + 1); in crash_prepare_elf64_headers() 211 ehdr->e_phentsize = sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
|
| H A D | Kconfig.kexec | 171 sizeof(Elf64_Phdr) to determine the final elfcorehdr memory buffer/
|
| /linux/include/asm-generic/ |
| H A D | module.h | 17 #define Elf_Phdr Elf64_Phdr
|
| /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()
|
| H A D | main.c | 49 Elf64_Phdr *phdrtab = addr + ehdr->e_phoff; in vdso_get_dyntab()
|
| /linux/tools/perf/util/ |
| H A D | symbol-minimal.c | 99 Elf64_Phdr *phdr64; in filename__read_build_id() 144 (!elf32 && hdrs.ehdr64.e_phentsize != sizeof(Elf64_Phdr))) in filename__read_build_id() 148 : sizeof(Elf64_Phdr) * hdrs.ehdr64.e_phnum; in filename__read_build_id()
|
| H A D | symbol-elf.c | 2032 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
|
| /linux/include/linux/ |
| H A D | crash_dump.h | 25 void elfcorehdr_fill_device_ram_ptload_elf64(Elf64_Phdr *phdr,
|
| /linux/arch/x86/kernel/ |
| H A D | crash.c | 440 kbuf.memsz = pnum * sizeof(Elf64_Phdr); in crash_load_segments() 499 sz *= sizeof(Elf64_Phdr); in arch_crash_get_elfcorehdr_size()
|
| /linux/arch/parisc/boot/compressed/ |
| H A D | misc.c | 237 Elf64_Phdr *phdrs, *phdr; in parse_elf()
|
| /linux/arch/x86/boot/compressed/ |
| H A D | misc.c | 285 Elf64_Phdr *phdrs, *phdr; in parse_elf()
|