Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/s390/include/asm/
Delf.h152 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
155 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
241 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
/Linux-v4.19/arch/powerpc/boot/
Delf_util.c28 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()
64 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
Dof.c57 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
Daddnote.c105 #define EI_CLASS 4 macro
146 e_class = buf[E_IDENT+EI_CLASS]; in main()
Delf.h121 #define EI_CLASS 4 macro
/Linux-v4.19/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-v4.19/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-v4.19/arch/mips/kernel/
Delf.c92 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_elf_pt_proc()
152 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
174 ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
/Linux-v4.19/tools/testing/selftests/kvm/lib/
Delf.c46 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get()
52 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
/Linux-v4.19/arch/sparc/vdso/
Dvdso2c.c154 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
157 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/Linux-v4.19/scripts/mod/
Dmk_elfconfig.c21 switch (ei[EI_CLASS]) { in main()
/Linux-v4.19/arch/x86/entry/vdso/
Dvdso2c.c181 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
184 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/Linux-v4.19/arch/mips/boot/tools/
Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/Linux-v4.19/arch/x86/tools/
Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/Linux-v4.19/scripts/
Dsortextable.c332 switch (ehdr->e_ident[EI_CLASS]) { in do_file()
335 ehdr->e_ident[EI_CLASS], fname); in do_file()
Drecordmcount.c542 switch (ehdr->e_ident[EI_CLASS]) { in do_file()
545 ehdr->e_ident[EI_CLASS], fname); in do_file()
/Linux-v4.19/tools/perf/util/
Dsymbol-minimal.c110 if (e_ident[EI_CLASS] == ELFCLASS32) { in filename__read_build_id()
310 return e_ident[EI_CLASS] == ELFCLASS64; in fd__is_64_bit()
/Linux-v4.19/arch/sparc/include/asm/
Delf_64.h205 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v4.19/arch/powerpc/include/asm/
Delf.h95 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v4.19/arch/s390/kernel/
Dkexec_elf.c77 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()
/Linux-v4.19/fs/proc/
Dvmcore.c1178 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
1234 ehdr.e_ident[EI_CLASS] != ELFCLASS32|| in parse_crash_elf32_headers()
1287 if (e_ident[EI_CLASS] == ELFCLASS64) { in parse_crash_elf_headers()
1291 } else if (e_ident[EI_CLASS] == ELFCLASS32) { in parse_crash_elf_headers()
1350 if (e_ident[EI_CLASS] == ELFCLASS64) { in vmcoredd_update_program_headers()
/Linux-v4.19/arch/arm/vdso/
Dvdsomunge.c169 if (inhdr->e_ident[EI_CLASS] != ELFCLASS32) in main()
/Linux-v4.19/arch/mips/vdso/
Dgenvdso.c149 elf_class = ehdr->e_ident[EI_CLASS]; in map_vdso()
/Linux-v4.19/arch/powerpc/oprofile/cell/
Dvma_map.c103 [EI_CLASS] = ELFCLASS32, in create_vma_map()
/Linux-v4.19/tools/testing/selftests/vDSO/
Dparse_vdso.c104 if (hdr->e_ident[EI_CLASS] != in vdso_init_from_sysinfo_ehdr()

12