Home
last modified time | relevance | path

Searched refs:EI_CLASS (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v5.4/arch/s390/include/asm/
Delf.h156 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
159 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
245 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
/Linux-v5.4/arch/powerpc/boot/
Delf_util.c24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()
60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
Dof.c53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
Daddnote.c101 #define EI_CLASS 4 macro
142 e_class = buf[E_IDENT+EI_CLASS]; in main()
Delf.h121 #define EI_CLASS 4 macro
/Linux-v5.4/arch/parisc/include/asm/
Delf.h247 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
315 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
317 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
/Linux-v5.4/arch/mips/include/asm/
Delf.h289 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
312 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
328 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
414 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v5.4/arch/mips/kernel/
Delf.c90 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_elf_pt_proc()
150 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
172 ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Delf.c45 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get()
51 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
/Linux-v5.4/arch/x86/entry/vdso/
Dvdso2c.c170 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
173 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/Linux-v5.4/arch/sparc/vdso/
Dvdso2c.c148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/Linux-v5.4/scripts/mod/
Dmk_elfconfig.c21 switch (ei[EI_CLASS]) { in main()
/Linux-v5.4/kernel/
Dkexec_elf.c135 if (ehdr->e_ident[EI_CLASS] != ELF_CLASS) { in elf_read_ehdr()
160 switch (ehdr->e_ident[EI_CLASS]) { in elf_read_ehdr()
218 switch (ehdr->e_ident[EI_CLASS]) { in elf_read_phdr()
/Linux-v5.4/arch/mips/boot/tools/
Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/Linux-v5.4/arch/x86/tools/
Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/Linux-v5.4/arch/mips/tools/
Delf-entry.c60 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
/Linux-v5.4/scripts/
Dsortextable.c332 switch (ehdr->e_ident[EI_CLASS]) { in do_file()
335 ehdr->e_ident[EI_CLASS], fname); in do_file()
Drecordmcount.c551 switch (ehdr->e_ident[EI_CLASS]) { in do_file()
554 ehdr->e_ident[EI_CLASS], fname); in do_file()
/Linux-v5.4/tools/perf/util/
Dsymbol-minimal.c113 if (e_ident[EI_CLASS] == ELFCLASS32) { in filename__read_build_id()
313 return e_ident[EI_CLASS] == ELFCLASS64; in fd__is_64_bit()
/Linux-v5.4/arch/sparc/include/asm/
Delf_64.h205 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v5.4/arch/powerpc/include/asm/
Delf.h91 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v5.4/arch/s390/kernel/
Dkexec_elf.c80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()
/Linux-v5.4/fs/proc/
Dvmcore.c1205 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
1261 ehdr.e_ident[EI_CLASS] != ELFCLASS32|| in parse_crash_elf32_headers()
1314 if (e_ident[EI_CLASS] == ELFCLASS64) { in parse_crash_elf_headers()
1318 } else if (e_ident[EI_CLASS] == ELFCLASS32) { in parse_crash_elf_headers()
1377 if (e_ident[EI_CLASS] == ELFCLASS64) { in vmcoredd_update_program_headers()
/Linux-v5.4/arch/arm/vdso/
Dvdsomunge.c156 if (inhdr->e_ident[EI_CLASS] != ELFCLASS32) in main()
/Linux-v5.4/tools/testing/selftests/vDSO/
Dparse_vdso.c104 if (hdr->e_ident[EI_CLASS] != in vdso_init_from_sysinfo_ehdr()

12