Home
last modified time | relevance | path

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

12

/linux/arch/s390/include/asm/
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/arch/parisc/include/asm/
A Delf.h247 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
312 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
314 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
/linux/arch/powerpc/boot/
A Delf_util.c24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()
60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
A Daddnote.c101 #define EI_CLASS 4 macro
142 e_class = buf[E_IDENT+EI_CLASS]; in main()
A Dof.c53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
A Delf.h121 #define EI_CLASS 4 macro
/linux/arch/mips/kernel/
A 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/tools/testing/selftests/kvm/lib/
A Delf.c45 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get()
51 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
/linux/drivers/remoteproc/
A Dremoteproc_elf_helpers.h27 return ehdr->e_ident[EI_CLASS]; in fw_elf_get_class()
33 hdr->e_ident[EI_CLASS] = class; in elf_hdr_init_ident()
/linux/arch/mips/include/asm/
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/lib/
A Dbuildid.c154 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32) in build_id_parse()
156 else if (ehdr->e_ident[EI_CLASS] == ELFCLASS64) in build_id_parse()
/linux/arch/sparc/vdso/
A Dvdso2c.c148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/linux/arch/x86/entry/vdso/
A Dvdso2c.c175 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
178 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/linux/kernel/
A 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/scripts/mod/
A Dmk_elfconfig.c21 switch (ei[EI_CLASS]) { in main()
/linux/arch/mips/boot/tools/
A Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/linux/arch/x86/tools/
A Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/linux/scripts/
A Dsorttable.c395 switch (ehdr->e_ident[EI_CLASS]) { in do_file()
420 ehdr->e_ident[EI_CLASS], fname); in do_file()
A Drecordmcount.c576 switch (ehdr->e_ident[EI_CLASS]) { in do_file()
579 ehdr->e_ident[EI_CLASS], fname); in do_file()
/linux/arch/mips/tools/
A Delf-entry.c63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
/linux/tools/perf/util/
A Dsymbol-minimal.c115 if (e_ident[EI_CLASS] == ELFCLASS32) { in filename__read_build_id()
315 return e_ident[EI_CLASS] == ELFCLASS64; in fd__is_64_bit()
/linux/fs/proc/
A Dvmcore.c1248 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
1304 ehdr.e_ident[EI_CLASS] != ELFCLASS32|| in parse_crash_elf32_headers()
1357 if (e_ident[EI_CLASS] == ELFCLASS64) { in parse_crash_elf_headers()
1361 } else if (e_ident[EI_CLASS] == ELFCLASS32) { in parse_crash_elf_headers()
1420 if (e_ident[EI_CLASS] == ELFCLASS64) { in vmcoredd_update_program_headers()
/linux/arch/sparc/include/asm/
A Delf_64.h204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/linux/arch/powerpc/include/asm/
A Delf.h89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/linux/arch/s390/kernel/
A Dkexec_elf.c80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()

Completed in 26 milliseconds

12