Home
last modified time | relevance | path

Searched refs:elfhdr (Results 1 – 8 of 8) sorted by relevance

/arch/x86/um/
Delfcore.c12 return vsyscall_ehdr ? (((struct elfhdr *)vsyscall_ehdr)->e_phnum) : 0; in elf_core_extra_phdrs()
18 const struct elfhdr *const ehdrp = in elf_core_write_extra_phdrs()
19 (struct elfhdr *) vsyscall_ehdr; in elf_core_write_extra_phdrs()
45 const struct elfhdr *const ehdrp = in elf_core_write_extra_data()
46 (struct elfhdr *) vsyscall_ehdr; in elf_core_write_extra_data()
66 const struct elfhdr *const ehdrp = in elf_core_extra_data_size()
67 (struct elfhdr *)vsyscall_ehdr; in elf_core_extra_data_size()
/arch/powerpc/kernel/
Dkexec_elf_64.c49 const struct elfhdr *ehdr;
54 static inline bool elf_is_elf_file(const struct elfhdr *ehdr) in elf_is_elf_file()
59 static uint64_t elf64_to_cpu(const struct elfhdr *ehdr, uint64_t value) in elf64_to_cpu()
69 static uint16_t elf16_to_cpu(const struct elfhdr *ehdr, uint16_t value) in elf16_to_cpu()
79 static uint32_t elf32_to_cpu(const struct elfhdr *ehdr, uint32_t value) in elf32_to_cpu()
93 static bool elf_is_ehdr_sane(const struct elfhdr *ehdr, size_t buf_len) in elf_is_ehdr_sane()
149 static int elf_read_ehdr(const char *buf, size_t len, struct elfhdr *ehdr) in elf_read_ehdr()
151 struct elfhdr *buf_ehdr; in elf_read_ehdr()
174 buf_ehdr = (struct elfhdr *) buf; in elf_read_ehdr()
255 const struct elfhdr *ehdr = elf_info->ehdr; in elf_read_phdrs()
[all …]
Dfadump.c337 size += sizeof(struct elfhdr); /* ELF core header.*/ in get_fadump_area_size()
654 struct elfhdr *elf; in fadump_update_elfcore_header()
657 elf = (struct elfhdr *)bufp; in fadump_update_elfcore_header()
658 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header()
940 struct elfhdr *elf; in fadump_init_elfcore_header()
942 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header()
943 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header()
954 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
961 elf->e_ehsize = sizeof(struct elfhdr); in fadump_init_elfcore_header()
1035 struct elfhdr *elf; in fadump_create_elfcore_headers()
[all …]
Dprom_init.c891 Elf32_Ehdr elfhdr; member
924 .elfhdr = {
/arch/alpha/boot/tools/
Dobjstrip.c31 # define elfhdr elf64_hdr macro
61 struct elfhdr *elf; in main()
149 elf = (struct elfhdr *) buf; in main()
/arch/ia64/hp/sim/boot/
Dbootloader.c64 struct elfhdr *elf; in start_bootloader()
114 elf = (struct elfhdr *) mem; in start_bootloader()
/arch/mips/include/asm/
Delf.h285 struct elfhdr *__h = (hdr); \
308 struct elfhdr *__h = (hdr); \
324 struct elfhdr *__h = (hdr); \
/arch/ia64/include/asm/
Delf.h210 #define GATE_EHDR ((const struct elfhdr *) GATE_ADDR)