Home
last modified time | relevance | path

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

12

/Linux-v6.1/lib/
Dbuildid.c97 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; 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-v6.1/fs/proc/
Dvmcore.c724 static int __init update_note_header_size_elf64(const Elf64_Ehdr *ehdr_ptr) in update_note_header_size_elf64()
787 static int __init get_note_number_and_size_elf64(const Elf64_Ehdr *ehdr_ptr, in get_note_number_and_size_elf64()
822 static int __init copy_notes_elf64(const Elf64_Ehdr *ehdr_ptr, char *notes_buf) in copy_notes_elf64()
850 Elf64_Ehdr *ehdr_ptr; in merge_note_headers_elf64()
854 ehdr_ptr = (Elf64_Ehdr *)elfptr; in merge_note_headers_elf64()
876 note_off = sizeof(Elf64_Ehdr) + in merge_note_headers_elf64()
884 tmp = elfptr + sizeof(Elf64_Ehdr); in merge_note_headers_elf64()
891 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64()
1105 Elf64_Ehdr *ehdr_ptr; in process_ptload_program_headers_elf64()
1110 ehdr_ptr = (Elf64_Ehdr *)elfptr; in process_ptload_program_headers_elf64()
[all …]
/Linux-v6.1/arch/powerpc/platforms/powernv/
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()
/Linux-v6.1/tools/testing/selftests/kvm/lib/
Delf.c15 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get()
116 Elf64_Ehdr hdr; in kvm_vm_elf_load()
/Linux-v6.1/scripts/
Dsorttable.c343 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file()
344 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) || in do_file()
Drecordmcount.c596 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file()
597 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()
/Linux-v6.1/arch/x86/um/asm/
Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr
/Linux-v6.1/arch/sparc/vdso/
Dvdso2c.c146 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
/Linux-v6.1/arch/x86/entry/vdso/
Dvdso2c.c173 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
/Linux-v6.1/include/asm-generic/
Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr
/Linux-v6.1/arch/s390/kernel/
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()
/Linux-v6.1/arch/powerpc/boot/
Dof.c51 const Elf64_Ehdr *elf64 = hdr; in of_image_hdr()
Delf_util.c16 Elf64_Ehdr *elf64 = hdr; in parse_elf64()
Delf.h87 } Elf64_Ehdr; typedef
/Linux-v6.1/arch/mips/include/asm/
Dmodule.h59 #define Elf_Ehdr Elf64_Ehdr
/Linux-v6.1/arch/arm64/kvm/hyp/nvhe/
Dgen-hyprel.c134 Elf64_Ehdr *ehdr;
277 elf.ehdr = elf_ptr(Elf64_Ehdr, 0); in init_elf()
/Linux-v6.1/arch/mips/tools/
Delf-entry.c39 Elf64_Ehdr ehdr64; in main()
Dloongson3-llsc-check.c239 Elf64_Ehdr *eh; in main()
/Linux-v6.1/tools/perf/util/
Dgenelf.h60 #define Elf_Ehdr Elf64_Ehdr
Dsymbol-minimal.c167 Elf64_Ehdr ehdr; in filename__read_build_id()
320 Elf64_Ehdr ehdr; in dso__type_fd()
/Linux-v6.1/kernel/
Dkexec_file.c1224 Elf64_Ehdr *ehdr; in crash_prepare_elf64_headers()
1245 elf_sz = sizeof(Elf64_Ehdr) + nr_phdr * sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
1252 ehdr = (Elf64_Ehdr *)buf; in crash_prepare_elf64_headers()
1263 ehdr->e_phoff = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
1264 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
/Linux-v6.1/tools/testing/selftests/sgx/
Dload.c141 Elf64_Ehdr *ehdr; in encl_get_entry()
180 Elf64_Ehdr *ehdr; in encl_load()
/Linux-v6.1/scripts/mod/
Dmodpost.h39 #define Elf_Ehdr Elf64_Ehdr
/Linux-v6.1/arch/parisc/boot/compressed/
Dmisc.c236 Elf64_Ehdr ehdr; in parse_elf()
/Linux-v6.1/arch/powerpc/kernel/
Dmodule_64.c180 static unsigned long get_stubs_size(const Elf64_Ehdr *hdr, in get_stubs_size()
279 int module_frob_arch_sections(Elf64_Ehdr *hdr, in module_frob_arch_sections()

12