| /Linux-v4.19/arch/powerpc/boot/ |
| D | elf_util.c | 30 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64() 32 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64() 65 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
|
| D | addnote.c | 106 #define EI_DATA 5 macro 149 e_data = buf[E_IDENT+EI_DATA]; in main()
|
| D | elf.h | 122 #define EI_DATA 5 macro
|
| /Linux-v4.19/tools/testing/selftests/kvm/lib/ |
| D | elf.c | 54 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get() 56 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get() 67 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
|
| /Linux-v4.19/arch/powerpc/kernel/ |
| D | kexec_elf_64.c | 61 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu() 63 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu() 71 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu() 73 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu() 81 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu() 83 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu() 168 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr() 169 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
|
| D | fadump.c | 985 elf->e_ident[EI_DATA] = ELF_DATA; in fadump_init_elfcore_header()
|
| /Linux-v4.19/arch/mips/boot/tools/ |
| D | relocs.c | 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()
|
| /Linux-v4.19/scripts/mod/ |
| D | mk_elfconfig.c | 31 switch (ei[EI_DATA]) { in main()
|
| /Linux-v4.19/arch/mips/vdso/ |
| D | genvdso.c | 160 switch (ehdr->e_ident[EI_DATA]) { in map_vdso() 163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in map_vdso()
|
| /Linux-v4.19/drivers/remoteproc/ |
| D | remoteproc_elf_loader.c | 70 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { 72 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
|
| /Linux-v4.19/scripts/ |
| D | sortextable.c | 274 switch (ehdr->e_ident[EI_DATA]) { in do_file() 277 ehdr->e_ident[EI_DATA], fname); in do_file()
|
| D | recordmcount.c | 459 switch (ehdr->e_ident[EI_DATA]) { in do_file() 463 ehdr->e_ident[EI_DATA], fname); in do_file()
|
| D | insert-sys-cert.c | 336 if (hdr->e_ident[EI_DATA] != endianness()) { in main()
|
| /Linux-v4.19/arch/arm/vdso/ |
| D | vdsomunge.c | 172 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
|
| /Linux-v4.19/arch/powerpc/oprofile/cell/ |
| D | vma_map.c | 104 [EI_DATA] = ELFDATA2MSB, in create_vma_map()
|
| /Linux-v4.19/include/uapi/linux/ |
| D | elf.h | 334 #define EI_DATA 5 macro
|
| /Linux-v4.19/tools/perf/util/ |
| D | symbol-minimal.c | 105 need_swap = check_need_swap(e_ident[EI_DATA]); in filename__read_build_id()
|
| D | genelf.c | 281 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf()
|
| D | symbol-elf.c | 701 if (dso__swap_init(dso, ehdr.e_ident[EI_DATA])) { in symsrc__init() 2000 elf_getident(*elf, NULL)[EI_DATA]) == NULL) { in populate_sdt_note()
|
| /Linux-v4.19/fs/proc/ |
| D | kcore.c | 318 [EI_DATA] = ELF_DATA, in read_kcore()
|
| /Linux-v4.19/arch/mips/boot/ |
| D | elf2ecoff.c | 315 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
|
| /Linux-v4.19/arch/s390/kernel/ |
| D | crash_dump.c | 515 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
|
| /Linux-v4.19/arch/x86/tools/ |
| D | relocs.c | 347 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) { in read_ehdr()
|
| /Linux-v4.19/kernel/ |
| D | kexec_file.c | 1167 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in crash_prepare_elf64_headers()
|
| /Linux-v4.19/drivers/media/platform/sti/c8sectpfe/ |
| D | c8sectpfe-core.c | 986 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { in c8sectpfe_elf_sanity_check()
|