/linux-6.6.21/kernel/ |
D | kexec_elf.c | 31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu() 33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu() 41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu() 43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu() 51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu() 53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu() 138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr() 139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
|
D | crash_core.c | 359 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in crash_prepare_elf64_headers()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | elf_util.c | 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()
|
D | addnote.c | 102 #define EI_DATA 5 macro 145 e_data = buf[E_IDENT+EI_DATA]; in main()
|
D | elf.h | 122 #define EI_DATA 5 macro
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | elf.c | 52 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get() 54 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get() 65 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
|
/linux-6.6.21/arch/mips/tools/ |
D | elf-entry.c | 65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main() 82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
|
D | loongson3-llsc-check.c | 280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main()
|
/linux-6.6.21/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-6.6.21/tools/objtool/include/objtool/ |
D | endianness.h | 18 (elf->ehdr.e_ident[EI_DATA] == ELFDATA2LSB); in need_bswap()
|
/linux-6.6.21/scripts/mod/ |
D | mk_elfconfig.c | 31 switch (ei[EI_DATA]) { in main()
|
/linux-6.6.21/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-6.6.21/scripts/ |
D | sorttable.c | 274 switch (ehdr->e_ident[EI_DATA]) { in do_file() 293 ehdr->e_ident[EI_DATA], fname); in do_file()
|
D | recordmcount.c | 524 switch (ehdr->e_ident[EI_DATA]) { in do_file() 528 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-6.6.21/drivers/remoteproc/ |
D | remoteproc_elf_loader.c | 82 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { 84 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
|
D | remoteproc_elf_helpers.h | 34 hdr->e_ident[EI_DATA] = ELFDATA2LSB; in elf_hdr_init_ident()
|
/linux-6.6.21/arch/arm/vdso/ |
D | vdsomunge.c | 159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
|
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/ |
D | gen-hyprel.c | 287 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u"); in init_elf()
|
/linux-6.6.21/include/uapi/linux/ |
D | elf.h | 339 #define EI_DATA 5 macro
|
/linux-6.6.21/tools/perf/util/ |
D | symbol-minimal.c | 110 need_swap = check_need_swap(e_ident[EI_DATA]); in filename__read_build_id()
|
D | genelf.c | 283 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf()
|
/linux-6.6.21/fs/proc/ |
D | kcore.c | 346 [EI_DATA] = ELF_DATA, in read_kcore_iter()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 361 elf->e_ident[EI_DATA] = ELFDATA2MSB; in create_opalcore()
|
/linux-6.6.21/arch/s390/kernel/ |
D | crash_dump.c | 458 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
|