Searched refs:EI_CLASS (Results 1 - 25 of 52) sorted by relevance

123

/linux-master/scripts/mod/
H A Dmk_elfconfig.c21 switch (ei[EI_CLASS]) {
/linux-master/arch/powerpc/boot/
H A Delf_util.c24 elf64->e_ident[EI_CLASS] == ELFCLASS64 &&
60 elf32->e_ident[EI_CLASS] == ELFCLASS32 &&
H A Dof.c53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) {
H A Delf.h121 #define EI_CLASS 4 macro
134 #define ELFCLASSNONE 0 /* EI_CLASS */
H A Daddnote.c101 #define EI_CLASS 4 macro
142 e_class = buf[E_IDENT+EI_CLASS];
/linux-master/tools/testing/selftests/kvm/lib/
H A Delf.c44 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64,
47 " ident[EI_CLASS]: %02x\n"
50 ident[EI_CLASS], ELFCLASS64);
/linux-master/arch/riscv/include/asm/
H A Delf.h38 ((x)->e_ident[EI_CLASS] == ELF_CLASS))
138 do { set_compat_task((ex).e_ident[EI_CLASS] == ELFCLASS32); \
/linux-master/arch/x86/tools/
H A Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64)
/linux-master/arch/mips/boot/tools/
H A Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64)
/linux-master/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h27 return ehdr->e_ident[EI_CLASS];
33 hdr->e_ident[EI_CLASS] = class;
/linux-master/lib/
H A Dbuildid.c154 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32)
156 else if (ehdr->e_ident[EI_CLASS] == ELFCLASS64)
/linux-master/arch/mips/tools/
H A Delf-entry.c63 switch (hdr.ehdr32.e_ident[EI_CLASS]) {
/linux-master/arch/s390/include/asm/
H A 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) { \
/linux-master/arch/parisc/include/asm/
H A 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)
/linux-master/arch/mips/kernel/
H A Delf.c91 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32;
151 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32;
173 ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32;
/linux-master/arch/mips/include/asm/
H A 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) \
/linux-master/arch/x86/entry/vdso/
H A Dvdso2c.c175 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) {
178 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) {
/linux-master/arch/sparc/vdso/
H A Dvdso2c.c148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) {
151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) {
/linux-master/scripts/
H A Dsorttable.c331 switch (ehdr->e_ident[EI_CLASS]) {
356 ehdr->e_ident[EI_CLASS], fname);
/linux-master/arch/loongarch/include/asm/
H A Delf.h216 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
232 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
/linux-master/kernel/
H A Dkexec_elf.c135 if (ehdr->e_ident[EI_CLASS] != ELF_CLASS) {
160 switch (ehdr->e_ident[EI_CLASS]) {
218 switch (ehdr->e_ident[EI_CLASS]) {
/linux-master/arch/arm/vdso/
H A Dvdsomunge.c156 if (inhdr->e_ident[EI_CLASS] != ELFCLASS32)
/linux-master/arch/sparc/include/asm/
H A Delf_64.h204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/linux-master/arch/powerpc/include/asm/
H A Delf.h89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/linux-master/arch/s390/kernel/
H A Dkexec_elf.c82 ehdr->e_ident[EI_CLASS] != ELFCLASS64 ||

Completed in 231 milliseconds

123