Home
last modified time | relevance | path

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

12

/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
/arch/riscv/include/asm/
Delf.h38 ((x)->e_ident[EI_CLASS] == ELF_CLASS))
142 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/s390/include/asm/
Delf.h180 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
183 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
264 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
/arch/parisc/include/asm/
Delf.h246 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
311 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
313 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
/arch/mips/kernel/
Delf.c91 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_elf_pt_proc()
151 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
173 ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
/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()
/arch/mips/include/asm/
Delf.h287 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
315 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
399 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/x86/entry/vdso/
Dvdso2c.c175 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
178 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/arch/loongarch/include/asm/
Delf.h216 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
232 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
/arch/mips/boot/tools/
Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/arch/x86/tools/
Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/arch/mips/tools/
Delf-entry.c63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
Dloongson3-llsc-check.c275 if (eh->e_ident[EI_CLASS] != ELFCLASS64) { in main()
/arch/sparc/include/asm/
Delf_64.h204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/powerpc/include/asm/
Delf.h89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/s390/kernel/
Dkexec_elf.c80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()
Dcrash_dump.c457 ehdr->e_ident[EI_CLASS] = ELFCLASS64; in ehdr_init()
/arch/arm/vdso/
Dvdsomunge.c156 if (inhdr->e_ident[EI_CLASS] != ELFCLASS32) in main()
/arch/riscv/kernel/
Dprocess.c91 hdr->e_ident[EI_CLASS] == ELFCLASS32; in compat_elf_check_arch()
/arch/mips/vdso/
Dgenvdso.c148 elf_class = ehdr->e_ident[EI_CLASS]; in map_vdso()
/arch/arm64/tools/
Dgen-hyprel.c289 assert_eq(elf.ehdr->e_ident[EI_CLASS], ELFCLASS64, "%u"); in init_elf()
/arch/powerpc/platforms/powernv/
Dopal-core.c360 elf->e_ident[EI_CLASS] = ELF_CLASS; in create_opalcore()

12