Home
last modified time | relevance | path

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

12

/Linux-v6.6/kernel/
Dkexec_elf.c31 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()
/Linux-v6.6/arch/powerpc/boot/
Delf_util.c26 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()
Daddnote.c102 #define EI_DATA 5 macro
145 e_data = buf[E_IDENT+EI_DATA]; in main()
Delf.h122 #define EI_DATA 5 macro
/Linux-v6.6/tools/testing/selftests/kvm/lib/
Delf.c52 && (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-v6.6/arch/mips/tools/
Delf-entry.c65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
Dloongson3-llsc-check.c280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main()
/Linux-v6.6/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-v6.6/tools/objtool/include/objtool/
Dendianness.h18 (elf->ehdr.e_ident[EI_DATA] == ELFDATA2LSB); in need_bswap()
/Linux-v6.6/scripts/mod/
Dmk_elfconfig.c31 switch (ei[EI_DATA]) { in main()
/Linux-v6.6/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-v6.6/scripts/
Dsorttable.c274 switch (ehdr->e_ident[EI_DATA]) { in do_file()
293 ehdr->e_ident[EI_DATA], fname); in do_file()
Drecordmcount.c524 switch (ehdr->e_ident[EI_DATA]) { in do_file()
528 ehdr->e_ident[EI_DATA], fname); in do_file()
Dinsert-sys-cert.c336 if (hdr->e_ident[EI_DATA] != endianness()) { in main()
/Linux-v6.6/drivers/remoteproc/
Dremoteproc_elf_loader.c82 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
84 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
Dremoteproc_elf_helpers.h34 hdr->e_ident[EI_DATA] = ELFDATA2LSB; in elf_hdr_init_ident()
/Linux-v6.6/arch/arm/vdso/
Dvdsomunge.c159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
Dgen-hyprel.c287 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u"); in init_elf()
/Linux-v6.6/include/uapi/linux/
Delf.h339 #define EI_DATA 5 macro
/Linux-v6.6/tools/perf/util/
Dsymbol-minimal.c110 need_swap = check_need_swap(e_ident[EI_DATA]); in filename__read_build_id()
Dgenelf.c283 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf()
/Linux-v6.6/arch/powerpc/platforms/powernv/
Dopal-core.c361 elf->e_ident[EI_DATA] = ELFDATA2MSB; in create_opalcore()
/Linux-v6.6/fs/proc/
Dkcore.c346 [EI_DATA] = ELF_DATA, in read_kcore_iter()
/Linux-v6.6/arch/s390/kernel/
Dcrash_dump.c458 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
/Linux-v6.6/arch/mips/boot/
Delf2ecoff.c315 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()

12