Home
last modified time | relevance | path

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

123

/linux-6.15/arch/s390/include/asm/
H A Delf.h185 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
188 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
240 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
/linux-6.15/arch/powerpc/boot/
H A Delf_util.c24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()
60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
H A Dof.c53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
H A Daddnote.c101 #define EI_CLASS 4 macro
142 e_class = buf[E_IDENT+EI_CLASS]; in main()
H A Delf.h121 #define EI_CLASS 4 macro
/linux-6.15/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-6.15/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-6.15/arch/mips/kernel/
H A 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()
/linux-6.15/tools/testing/selftests/kvm/lib/
H A Delf.c44 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get()
50 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
/linux-6.15/drivers/remoteproc/
H 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-6.15/scripts/mod/
H A Dmk_elfconfig.c20 switch (ei[EI_CLASS]) { in main()
/linux-6.15/arch/sparc/vdso/
H A Dvdso2c.c148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/linux-6.15/arch/x86/entry/vdso/
H A Dvdso2c.c154 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
157 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/linux-6.15/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-6.15/arch/loongarch/include/asm/
H A Delf.h216 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
232 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
/linux-6.15/kernel/
H 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-6.15/arch/mips/boot/tools/
H A Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/linux-6.15/arch/x86/tools/
H A Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
/linux-6.15/arch/mips/tools/
H A Delf-entry.c63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
/linux-6.15/arch/sparc/include/asm/
H A Delf_64.h204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/linux-6.15/tools/perf/util/
H A Dsymbol-minimal.c115 if (e_ident[EI_CLASS] == ELFCLASS32) { in filename__read_build_id()
317 return e_ident[EI_CLASS] == ELFCLASS64; in fd__is_64_bit()
/linux-6.15/lib/
H A Dbuildid.c321 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32) in __build_id_parse()
323 else if (ehdr->e_ident[EI_CLASS] == ELFCLASS64) in __build_id_parse()
/linux-6.15/fs/proc/
H A Dvmcore.c1230 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
1286 ehdr.e_ident[EI_CLASS] != ELFCLASS32|| in parse_crash_elf32_headers()
1339 if (e_ident[EI_CLASS] == ELFCLASS64) { in parse_crash_elf_headers()
1343 } else if (e_ident[EI_CLASS] == ELFCLASS32) { in parse_crash_elf_headers()
1401 if (e_ident[EI_CLASS] == ELFCLASS64) { in vmcoredd_update_program_headers()
1660 if (WARN_ON_ONCE(e_ident[EI_CLASS] != ELFCLASS64)) { in vmcore_process_device_ram()
/linux-6.15/arch/s390/kernel/
H A Dkexec_elf.c82 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()
/linux-6.15/arch/powerpc/include/asm/
H A Delf.h89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \

123