Symbol: EI_CLASS
arch/arm/vdso/vdsomunge.c
156
if (inhdr->e_ident[EI_CLASS] != ELFCLASS32)
arch/arm64/kvm/hyp/nvhe/gen-hyprel.c
289
assert_eq(elf.ehdr->e_ident[EI_CLASS], ELFCLASS64, "%u");
arch/loongarch/include/asm/elf.h
247
if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
arch/loongarch/include/asm/elf.h
263
if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
arch/mips/boot/tools/relocs.c
214
if (ehdr.e_ident[EI_CLASS] != ELF_CLASS)
arch/mips/boot/tools/relocs_main.c
79
if (e_ident[EI_CLASS] == ELFCLASS64)
arch/mips/include/asm/elf.h
289
if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
arch/mips/include/asm/elf.h
317
if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
arch/mips/include/asm/elf.h
401
if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
arch/mips/kernel/elf.c
151
elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32;
arch/mips/kernel/elf.c
173
ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32;
arch/mips/kernel/elf.c
91
elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32;
arch/mips/tools/elf-entry.c
63
switch (hdr.ehdr32.e_ident[EI_CLASS]) {
arch/mips/tools/loongson3-llsc-check.c
275
if (eh->e_ident[EI_CLASS] != ELFCLASS64) {
arch/mips/vdso/genvdso.c
148
elf_class = ehdr->e_ident[EI_CLASS];
arch/parisc/include/asm/elf.h
246
if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
arch/parisc/include/asm/elf.h
311
((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
arch/parisc/include/asm/elf.h
313
((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
arch/powerpc/boot/addnote.c
143
e_class = buf[E_IDENT+EI_CLASS];
arch/powerpc/boot/elf_util.c
24
elf64->e_ident[EI_CLASS] == ELFCLASS64 &&
arch/powerpc/boot/elf_util.c
60
elf32->e_ident[EI_CLASS] == ELFCLASS32 &&
arch/powerpc/boot/of.c
53
if (elf64->e_ident[EI_CLASS] == ELFCLASS64) {
arch/powerpc/include/asm/elf.h
89
if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
arch/powerpc/kernel/fadump.c
931
elf->e_ident[EI_CLASS] = ELF_CLASS;
arch/powerpc/platforms/powernv/opal-core.c
360
elf->e_ident[EI_CLASS] = ELF_CLASS;
arch/riscv/include/asm/elf.h
138
do { set_compat_task((ex).e_ident[EI_CLASS] == ELFCLASS32); \
arch/riscv/include/asm/elf.h
38
((x)->e_ident[EI_CLASS] == ELF_CLASS))
arch/riscv/kernel/process.c
123
hdr->e_ident[EI_CLASS] == ELFCLASS32;
arch/s390/include/asm/elf.h
180
&& (x)->e_ident[EI_CLASS] == ELF_CLASS)
arch/s390/kernel/crash_dump.c
452
ehdr->e_ident[EI_CLASS] = ELFCLASS64;
arch/s390/kernel/kexec_elf.c
82
ehdr->e_ident[EI_CLASS] != ELFCLASS64 ||
arch/s390/tools/relocs.c
124
if (ehdr.e_ident[EI_CLASS] != ELF_CLASS)
arch/sparc/include/asm/elf_64.h
205
do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
arch/sparc/vdso/vdso2c.c
148
if (hdr->e_ident[EI_CLASS] == ELFCLASS64) {
arch/sparc/vdso/vdso2c.c
151
} else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) {
arch/x86/tools/relocs.c
352
if (ehdr.e_ident[EI_CLASS] != ELF_CLASS)
arch/x86/tools/relocs_common.c
75
if (e_ident[EI_CLASS] == ELFCLASS64)
arch/x86/tools/vdso2c.c
154
if (hdr->e_ident[EI_CLASS] == ELFCLASS64) {
arch/x86/tools/vdso2c.c
157
} else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) {
drivers/remoteproc/remoteproc_elf_helpers.h
27
return ehdr->e_ident[EI_CLASS];
drivers/remoteproc/remoteproc_elf_helpers.h
33
hdr->e_ident[EI_CLASS] = class;
drivers/remoteproc/remoteproc_elf_loader.c
69
class = ehdr->e_ident[EI_CLASS];
fs/binfmt_elf.c
1444
elf->e_ident[EI_CLASS] = ELF_CLASS;
fs/binfmt_elf_fdpic.c
1249
elf->e_ident[EI_CLASS] = ELF_CLASS;
fs/proc/kcore.c
356
[EI_CLASS] = ELF_CLASS,
fs/proc/vmcore.c
1230
ehdr.e_ident[EI_CLASS] != ELFCLASS64 ||
fs/proc/vmcore.c
1286
ehdr.e_ident[EI_CLASS] != ELFCLASS32||
fs/proc/vmcore.c
1339
if (e_ident[EI_CLASS] == ELFCLASS64) {
fs/proc/vmcore.c
1343
} else if (e_ident[EI_CLASS] == ELFCLASS32) {
fs/proc/vmcore.c
1401
if (e_ident[EI_CLASS] == ELFCLASS64) {
fs/proc/vmcore.c
1655
if (WARN_ON_ONCE(e_ident[EI_CLASS] != ELFCLASS64)) {
kernel/crash_core.c
210
ehdr->e_ident[EI_CLASS] = ELFCLASS64;
kernel/kexec_elf.c
135
if (ehdr->e_ident[EI_CLASS] != ELF_CLASS) {
kernel/kexec_elf.c
160
switch (ehdr->e_ident[EI_CLASS]) {
kernel/kexec_elf.c
218
switch (ehdr->e_ident[EI_CLASS]) {
lib/buildid.c
309
if (ehdr->e_ident[EI_CLASS] == ELFCLASS32)
lib/buildid.c
311
else if (ehdr->e_ident[EI_CLASS] == ELFCLASS64)
scripts/elf-parse.c
157
ehdr->e32.e_ident[EI_CLASS], fname);
scripts/elf-parse.c
174
return ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
scripts/elf-parse.c
93
switch (ehdr->e32.e_ident[EI_CLASS]) {
scripts/insert-sys-cert.c
331
if (hdr->e_ident[EI_CLASS] != CURRENT_ELFCLASS) {
scripts/mod/mk_elfconfig.c
20
switch (ei[EI_CLASS]) {
scripts/mod/modpost.c
1132
if (elf->hdr->e_ident[EI_CLASS] == ELFCLASS64 &&
scripts/mod/modpost.c
1321
bool is_64bit = (elf->hdr->e_ident[EI_CLASS] == ELFCLASS64);
scripts/recordmcount.c
610
switch (ehdr->e_ident[EI_CLASS]) {
scripts/recordmcount.c
613
ehdr->e_ident[EI_CLASS], fname);
scripts/sorttable.c
957
ehdr->e32.e_ident[EI_CLASS], fname);
tools/lib/bpf/linker.c
718
|| ehdr->e_ident[EI_CLASS] != ELFCLASS64) {
tools/objtool/disas.c
338
switch (file->elf->ehdr.e_ident[EI_CLASS]) {
tools/objtool/include/objtool/elf.h
208
return elf->ehdr.e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
tools/perf/util/dso.c
1243
if (e_ident[EI_CLASS] == ELFCLASSNONE || e_ident[EI_CLASS] >= ELFCLASSNUM)
tools/perf/util/dso.c
1279
off_t offset = e_ident[EI_CLASS] == ELFCLASS32
tools/perf/util/genelf.c
220
ehdr->e_ident[EI_CLASS] = GEN_ELF_CLASS;
tools/perf/util/probe-event.c
338
if (ehdr.e_ident[EI_CLASS] == ELFCLASS32)
tools/perf/util/symbol-minimal.c
124
elf32 = hdrs.ehdr32.e_ident[EI_CLASS] == ELFCLASS32;
tools/perf/util/symbol-minimal.c
297
return e_ident[EI_CLASS] == ELFCLASS64;
tools/testing/selftests/kvm/lib/elf.c
44
TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64,
tools/testing/selftests/kvm/lib/elf.c
50
ident[EI_CLASS], ELFCLASS64);
tools/testing/selftests/vDSO/parse_vdso.c
106
if (hdr->e_ident[EI_CLASS] !=