Searched refs:EI_DATA (Results 1 – 13 of 13) sorted by relevance
26 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64()28 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64()61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
102 #define EI_DATA 5 macro145 e_data = buf[E_IDENT+EI_DATA]; in main()
122 #define EI_DATA 5 macro
65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
163 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu()171 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu()179 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in cpu_to_elf32()191 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu()216 if ((ehdr.e_ident[EI_DATA] != ELFDATA2LSB) && in read_ehdr()217 (ehdr.e_ident[EI_DATA] != ELFDATA2MSB)) in read_ehdr()
160 switch (ehdr->e_ident[EI_DATA]) { in map_vdso()163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in map_vdso()
159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
100 [EI_DATA] = ELFDATA2MSB, in create_vma_map()
358 elf->e_ident[EI_DATA] = ELFDATA2MSB; in create_opalcore()
517 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
315 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
351 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) { in read_ehdr()
934 elf->e_ident[EI_DATA] = ELF_DATA; in fadump_init_elfcore_header()