Symbol: EI_DATA
arch/arm/vdso/vdsomunge.c
159
swap = inhdr->e_ident[EI_DATA] != HOST_ORDER;
arch/arm64/kernel/pi/relacheck.c
72
swap = ehdr->e_ident[EI_DATA] != HOST_ORDER;
arch/arm64/kvm/hyp/nvhe/gen-hyprel.c
290
assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u");
arch/mips/boot/elf2ecoff.c
315
if (ex.e_ident[EI_DATA] == ELFDATA2MSB)
arch/mips/boot/tools/relocs.c
164
if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
arch/mips/boot/tools/relocs.c
172
if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
arch/mips/boot/tools/relocs.c
180
if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
arch/mips/boot/tools/relocs.c
192
if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
arch/mips/boot/tools/relocs.c
217
if ((ehdr.e_ident[EI_DATA] != ELFDATA2LSB) &&
arch/mips/boot/tools/relocs.c
218
(ehdr.e_ident[EI_DATA] != ELFDATA2MSB))
arch/mips/tools/elf-entry.c
65
switch (hdr.ehdr32.e_ident[EI_DATA]) {
arch/mips/tools/elf-entry.c
82
switch (hdr.ehdr32.e_ident[EI_DATA]) {
arch/mips/tools/loongson3-llsc-check.c
280
if (eh->e_ident[EI_DATA] != ELFDATA2LSB) {
arch/mips/vdso/genvdso.c
160
switch (ehdr->e_ident[EI_DATA]) {
arch/mips/vdso/genvdso.c
163
need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER;
arch/powerpc/boot/addnote.c
146
e_data = buf[E_IDENT+EI_DATA];
arch/powerpc/boot/elf_util.c
26
elf64->e_ident[EI_DATA] == ELFDATA2LSB &&
arch/powerpc/boot/elf_util.c
28
elf64->e_ident[EI_DATA] == ELFDATA2MSB &&
arch/powerpc/boot/elf_util.c
61
elf32->e_ident[EI_DATA] == ELFDATA2MSB &&
arch/powerpc/kernel/fadump.c
932
elf->e_ident[EI_DATA] = ELF_DATA;
arch/powerpc/platforms/powernv/opal-core.c
361
elf->e_ident[EI_DATA] = ELFDATA2MSB;
arch/s390/kernel/crash_dump.c
453
ehdr->e_ident[EI_DATA] = ELFDATA2MSB;
arch/s390/tools/relocs.c
126
if (ehdr.e_ident[EI_DATA] != ELF_ENDIAN)
arch/s390/tools/relocs.c
82
if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
arch/s390/tools/relocs.c
90
if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB)
arch/x86/tools/relocs.c
354
if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB)
drivers/remoteproc/remoteproc_elf_helpers.h
34
hdr->e_ident[EI_DATA] = ELFDATA2LSB;
drivers/remoteproc/remoteproc_elf_loader.c
82
if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
drivers/remoteproc/remoteproc_elf_loader.c
84
if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
fs/binfmt_elf.c
1445
elf->e_ident[EI_DATA] = ELF_DATA;
fs/binfmt_elf_fdpic.c
1250
elf->e_ident[EI_DATA] = ELF_DATA;
fs/proc/kcore.c
357
[EI_DATA] = ELF_DATA,
kernel/crash_core.c
211
ehdr->e_ident[EI_DATA] = ELFDATA2LSB;
kernel/kexec_elf.c
138
} else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB &&
kernel/kexec_elf.c
139
ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
kernel/kexec_elf.c
31
if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB)
kernel/kexec_elf.c
33
else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
kernel/kexec_elf.c
41
if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB)
kernel/kexec_elf.c
43
else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
kernel/kexec_elf.c
51
if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB)
kernel/kexec_elf.c
53
else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
scripts/elf-parse.c
60
switch (ehdr->e32.e_ident[EI_DATA]) {
scripts/elf-parse.c
77
ehdr->e32.e_ident[EI_DATA], fname);
scripts/insert-sys-cert.c
336
if (hdr->e_ident[EI_DATA] != endianness()) {
scripts/mod/modpost.c
438
switch (hdr->e_ident[EI_DATA]) {
scripts/recordmcount.c
524
switch (ehdr->e_ident[EI_DATA]) {
scripts/recordmcount.c
528
ehdr->e_ident[EI_DATA], fname);
tools/bpf/resolve_btfids/main.c
424
obj->efile.encoding = ehdr.e_ident[EI_DATA];
tools/lib/bpf/libbpf.c
1629
if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB &&
tools/lib/bpf/libbpf.c
1630
ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
tools/lib/bpf/libbpf.c
1636
obj->byteorder = ehdr->e_ident[EI_DATA];
tools/lib/bpf/linker.c
2908
link_endianness = linker->elf_hdr->e_ident[EI_DATA] == ELFDATA2MSB ?
tools/lib/bpf/linker.c
381
linker->elf_hdr->e_ident[EI_DATA] = ELFDATANONE;
tools/lib/bpf/linker.c
674
unsigned char link_byteorder = linker->elf_hdr->e_ident[EI_DATA];
tools/lib/bpf/linker.c
699
obj_byteorder = ehdr->e_ident[EI_DATA];
tools/lib/bpf/linker.c
706
linker->elf_hdr->e_ident[EI_DATA] = obj_byteorder;
tools/lib/bpf/usdt.c
360
if (endianness != ehdr.e_ident[EI_DATA]) {
tools/objtool/disas.c
392
dinfo->endian = (file->elf->ehdr.e_ident[EI_DATA] == ELFDATA2MSB) ?
tools/objtool/include/objtool/endianness.h
17
(ehdr->e_ident[EI_DATA] == ELFDATA2LSB);
tools/perf/util/dso.c
1249
swap_type = dso_swap_type__from_elf_data(e_ident[EI_DATA]);
tools/perf/util/genelf.c
219
ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN;
tools/perf/util/symbol-elf.c
1190
if (dso__swap_init(dso, ehdr.e_ident[EI_DATA])) {
tools/perf/util/symbol-elf.c
2713
elf_getident(*elf, NULL)[EI_DATA]) == NULL) {
tools/perf/util/symbol-minimal.c
123
need_swap = check_need_swap(hdrs.ehdr32.e_ident[EI_DATA]);
tools/testing/selftests/kvm/lib/elf.c
52
&& (ident[EI_DATA] == ELFDATA2LSB))
tools/testing/selftests/kvm/lib/elf.c
54
&& (ident[EI_DATA] == ELFDATA2MSB)), "Current "
tools/testing/selftests/kvm/lib/elf.c
65
ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB);