Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/proc/
Dvmcore.c703 static int __init update_note_header_size_elf64(const Elf64_Ehdr *ehdr_ptr) in update_note_header_size_elf64()
766 static int __init get_note_number_and_size_elf64(const Elf64_Ehdr *ehdr_ptr, in get_note_number_and_size_elf64()
801 static int __init copy_notes_elf64(const Elf64_Ehdr *ehdr_ptr, char *notes_buf) in copy_notes_elf64()
829 Elf64_Ehdr *ehdr_ptr; in merge_note_headers_elf64()
833 ehdr_ptr = (Elf64_Ehdr *)elfptr; in merge_note_headers_elf64()
855 note_off = sizeof(Elf64_Ehdr) + in merge_note_headers_elf64()
863 tmp = elfptr + sizeof(Elf64_Ehdr); in merge_note_headers_elf64()
870 memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); in merge_note_headers_elf64()
1084 Elf64_Ehdr *ehdr_ptr; in process_ptload_program_headers_elf64()
1089 ehdr_ptr = (Elf64_Ehdr *)elfptr; in process_ptload_program_headers_elf64()
[all …]
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-core.c307 Elf64_Ehdr *elf; in create_opalcore()
312 hdr_size = (sizeof(Elf64_Ehdr) + in create_opalcore()
354 elf = (Elf64_Ehdr *)bufp; in create_opalcore()
355 bufp += sizeof(Elf64_Ehdr); in create_opalcore()
366 elf->e_phoff = cpu_to_be64(sizeof(Elf64_Ehdr)); in create_opalcore()
370 elf->e_ehsize = cpu_to_be16(sizeof(Elf64_Ehdr)); in create_opalcore()
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Delf.c16 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get()
118 Elf64_Ehdr hdr; in kvm_vm_elf_load()
/Linux-v5.4/scripts/
Dsortextable.c348 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file()
349 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()
Drecordmcount.c571 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file()
572 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file()
Dsortextable.h39 # define Elf_Ehdr Elf64_Ehdr
/Linux-v5.4/arch/x86/um/asm/
Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr
/Linux-v5.4/arch/x86/entry/vdso/
Dvdso2c.c168 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
/Linux-v5.4/arch/sparc/vdso/
Dvdso2c.c146 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
/Linux-v5.4/include/asm-generic/
Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr
/Linux-v5.4/kernel/bpf/
Dstackmap.c224 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in stack_map_get_build_id_64()
230 (PAGE_SIZE - sizeof(Elf64_Ehdr)) / sizeof(Elf64_Phdr)) in stack_map_get_build_id_64()
233 phdr = (Elf64_Phdr *)(page_addr + sizeof(Elf64_Ehdr)); in stack_map_get_build_id_64()
/Linux-v5.4/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-v5.4/tools/perf/util/
Dgenelf.h54 #define Elf_Ehdr Elf64_Ehdr
Dsymbol-minimal.c165 Elf64_Ehdr ehdr; in filename__read_build_id()
318 Elf64_Ehdr ehdr; in dso__type_fd()
/Linux-v5.4/arch/mips/tools/
Delf-entry.c39 Elf64_Ehdr ehdr64; in main()
/Linux-v5.4/arch/s390/kernel/
Dcrash_dump.c512 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init()
523 ehdr->e_phoff = sizeof(Elf64_Ehdr); in ehdr_init()
524 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in ehdr_init()
609 size = sizeof(Elf64_Ehdr); in get_elfcorehdr_size()
/Linux-v5.4/arch/x86/kernel/
Dcrash.c249 Elf64_Ehdr *ehdr; in prepare_elf_headers()
277 ehdr = (Elf64_Ehdr *)*addr; in prepare_elf_headers()
/Linux-v5.4/kernel/
Dkexec_file.c1243 Elf64_Ehdr *ehdr; in crash_prepare_elf64_headers()
1264 elf_sz = sizeof(Elf64_Ehdr) + nr_phdr * sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
1271 ehdr = (Elf64_Ehdr *)buf; in crash_prepare_elf64_headers()
1282 ehdr->e_phoff = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
1283 ehdr->e_ehsize = sizeof(Elf64_Ehdr); in crash_prepare_elf64_headers()
/Linux-v5.4/arch/mips/include/asm/
Dmodule.h59 #define Elf_Ehdr Elf64_Ehdr
/Linux-v5.4/scripts/mod/
Dmodpost.h38 #define Elf_Ehdr Elf64_Ehdr
/Linux-v5.4/arch/parisc/boot/compressed/
Dmisc.c236 Elf64_Ehdr ehdr; in parse_elf()
/Linux-v5.4/arch/powerpc/kernel/
Dvdso.c114 Elf64_Ehdr *hdr;
337 static void * __init find_section64(Elf64_Ehdr *ehdr, const char *secname, in find_section64()
Dmodule_64.c245 static unsigned long get_stubs_size(const Elf64_Ehdr *hdr, in get_stubs_size()
338 int module_frob_arch_sections(Elf64_Ehdr *hdr, in module_frob_arch_sections()

12