Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/riscv/include/asm/
Delf.h37 ((x)->e_ident[EI_CLASS] == ELF_CLASS))
122 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v6.1/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) { \
/Linux-v6.1/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-v6.1/arch/parisc/include/asm/
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-v6.1/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-v6.1/tools/testing/selftests/kvm/lib/
Delf.c44 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get()
50 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
/Linux-v6.1/drivers/remoteproc/
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-v6.1/lib/
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-v6.1/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-v6.1/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) \
/Linux-v6.1/arch/loongarch/include/asm/
Delf.h207 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
223 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
/Linux-v6.1/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()
/Linux-v6.1/scripts/mod/
Dmk_elfconfig.c21 switch (ei[EI_CLASS]) { in main()
/Linux-v6.1/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-v6.1/arch/mips/boot/tools/
Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/Linux-v6.1/arch/x86/tools/
Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/Linux-v6.1/scripts/
Dsorttable.c331 switch (ehdr->e_ident[EI_CLASS]) { in do_file()
356 ehdr->e_ident[EI_CLASS], fname); in do_file()
/Linux-v6.1/arch/mips/tools/
Delf-entry.c63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
/Linux-v6.1/arch/sparc/include/asm/
Delf_64.h204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v6.1/tools/perf/util/
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-v6.1/arch/powerpc/include/asm/
Delf.h89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/Linux-v6.1/arch/s390/kernel/
Dkexec_elf.c80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()

12