Searched refs:elfhdr (Results 1 – 8 of 8) sorted by relevance
12 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()
49 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 …]
337 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 …]
891 Elf32_Ehdr elfhdr; member924 .elfhdr = {
31 # define elfhdr elf64_hdr macro61 struct elfhdr *elf; in main()149 elf = (struct elfhdr *) buf; in main()
64 struct elfhdr *elf; in start_bootloader()114 elf = (struct elfhdr *) mem; in start_bootloader()
285 struct elfhdr *__h = (hdr); \308 struct elfhdr *__h = (hdr); \324 struct elfhdr *__h = (hdr); \
210 #define GATE_EHDR ((const struct elfhdr *) GATE_ADDR)