Home
last modified time | relevance | path

Searched refs:EI_DATA (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/arch/powerpc/boot/
Delf_util.c30 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()
Daddnote.c106 #define EI_DATA 5 macro
149 e_data = buf[E_IDENT+EI_DATA]; in main()
Delf.h122 #define EI_DATA 5 macro
/Linux-v4.19/tools/testing/selftests/kvm/lib/
Delf.c54 && (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/
Dkexec_elf_64.c61 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()
Dfadump.c985 elf->e_ident[EI_DATA] = ELF_DATA; in fadump_init_elfcore_header()
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c163 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/
Dmk_elfconfig.c31 switch (ei[EI_DATA]) { in main()
/Linux-v4.19/arch/mips/vdso/
Dgenvdso.c160 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/
Dremoteproc_elf_loader.c70 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
72 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
/Linux-v4.19/scripts/
Dsortextable.c274 switch (ehdr->e_ident[EI_DATA]) { in do_file()
277 ehdr->e_ident[EI_DATA], fname); in do_file()
Drecordmcount.c459 switch (ehdr->e_ident[EI_DATA]) { in do_file()
463 ehdr->e_ident[EI_DATA], fname); in do_file()
Dinsert-sys-cert.c336 if (hdr->e_ident[EI_DATA] != endianness()) { in main()
/Linux-v4.19/arch/arm/vdso/
Dvdsomunge.c172 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
/Linux-v4.19/arch/powerpc/oprofile/cell/
Dvma_map.c104 [EI_DATA] = ELFDATA2MSB, in create_vma_map()
/Linux-v4.19/include/uapi/linux/
Delf.h334 #define EI_DATA 5 macro
/Linux-v4.19/tools/perf/util/
Dsymbol-minimal.c105 need_swap = check_need_swap(e_ident[EI_DATA]); in filename__read_build_id()
Dgenelf.c281 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf()
Dsymbol-elf.c701 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/
Dkcore.c318 [EI_DATA] = ELF_DATA, in read_kcore()
/Linux-v4.19/arch/mips/boot/
Delf2ecoff.c315 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
/Linux-v4.19/arch/s390/kernel/
Dcrash_dump.c515 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
/Linux-v4.19/arch/x86/tools/
Drelocs.c347 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) { in read_ehdr()
/Linux-v4.19/kernel/
Dkexec_file.c1167 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in crash_prepare_elf64_headers()
/Linux-v4.19/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c986 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { in c8sectpfe_elf_sanity_check()

12