/linux-6.3-rc2/arch/s390/include/asm/ |
A D | elf.h | 180 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 183 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 264 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | elf.h | 38 ((x)->e_ident[EI_CLASS] == ELF_CLASS)) 124 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/linux-6.3-rc2/arch/powerpc/boot/ |
A D | elf_util.c | 24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64() 60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
|
A D | of.c | 53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
|
A D | addnote.c | 101 #define EI_CLASS 4 macro 142 e_class = buf[E_IDENT+EI_CLASS]; in main()
|
A D | elf.h | 121 #define EI_CLASS 4 macro
|
/linux-6.3-rc2/arch/parisc/include/asm/ |
A D | elf.h | 247 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-6.3-rc2/arch/mips/kernel/ |
A D | elf.c | 90 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-6.3-rc2/tools/testing/selftests/kvm/lib/ |
A D | elf.c | 44 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get() 50 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
|
/linux-6.3-rc2/drivers/remoteproc/ |
A D | remoteproc_elf_helpers.h | 27 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.3-rc2/lib/ |
A D | buildid.c | 154 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-6.3-rc2/arch/sparc/vdso/ |
A D | vdso2c.c | 148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go() 151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | elf.h | 287 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.3-rc2/arch/x86/entry/vdso/ |
A D | vdso2c.c | 175 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go() 178 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | elf.h | 207 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \ 223 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
|
/linux-6.3-rc2/scripts/mod/ |
A D | mk_elfconfig.c | 21 switch (ei[EI_CLASS]) { in main()
|
/linux-6.3-rc2/kernel/ |
A D | kexec_elf.c | 135 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.3-rc2/arch/mips/boot/tools/ |
A D | relocs_main.c | 79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
|
/linux-6.3-rc2/arch/x86/tools/ |
A D | relocs_common.c | 75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
|
/linux-6.3-rc2/scripts/ |
A D | sorttable.c | 331 switch (ehdr->e_ident[EI_CLASS]) { in do_file() 356 ehdr->e_ident[EI_CLASS], fname); in do_file()
|
/linux-6.3-rc2/arch/mips/tools/ |
A D | elf-entry.c | 63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | elf_64.h | 204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/linux-6.3-rc2/tools/perf/util/ |
A D | symbol-minimal.c | 115 if (e_ident[EI_CLASS] == ELFCLASS32) { in filename__read_build_id() 315 return e_ident[EI_CLASS] == ELFCLASS64; in fd__is_64_bit()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | elf.h | 89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/linux-6.3-rc2/arch/s390/kernel/ |
A D | kexec_elf.c | 80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()
|