e_machine 33 arch/alpha/boot/tools/objstrip.c # define elf_check_arch(x) ((x)->e_machine == EM_ALPHA) e_machine 159 arch/alpha/boot/tools/objstrip.c prog_name, elf->e_machine); e_machine 77 arch/alpha/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_ALPHA) e_machine 304 arch/arc/kernel/process.c if (x->e_machine != EM_ARC_INUSE) { e_machine 257 arch/arc/kernel/ptrace.c .e_machine = EM_ARC_INUSE, e_machine 15 arch/arm/kernel/elf.c if (x->e_machine != EM_ARM) e_machine 775 arch/arm/kernel/ptrace.c .name = "arm", .e_machine = ELF_ARCH, .ei_osabi = ELF_OSABI, e_machine 164 arch/arm/vdso/vdsomunge.c if (read_elf_half(inhdr->e_machine, swap) != EM_ARM) e_machine 165 arch/arm/vdso/vdsomunge.c fail("Unsupported architecture %#x\n", inhdr->e_machine); e_machine 97 arch/arm64/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_AARCH64) e_machine 192 arch/arm64/include/asm/elf.h ((x)->e_machine == EM_ARM) && \ e_machine 1231 arch/arm64/kernel/ptrace.c .name = "aarch64", .e_machine = EM_AARCH64, e_machine 1468 arch/arm64/kernel/ptrace.c .name = "aarch32", .e_machine = EM_ARM, e_machine 1526 arch/arm64/kernel/ptrace.c .name = "aarch32", .e_machine = EM_ARM, e_machine 28 arch/c6x/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_TI_C6000) e_machine 86 arch/c6x/kernel/ptrace.c .e_machine = EM_TI_C6000, e_machine 47 arch/csky/include/asm/elf.h #define elf_check_arch(x) (((x)->e_machine == ELF_ARCH) || \ e_machine 48 arch/csky/include/asm/elf.h ((x)->e_machine == EM_CSKY_OLD)) e_machine 186 arch/csky/kernel/ptrace.c .e_machine = ELF_ARCH, e_machine 21 arch/h8300/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_H8_300) e_machine 149 arch/h8300/kernel/ptrace.c .e_machine = EM_H8_300, e_machine 154 arch/hexagon/include/asm/elf.h #define elf_check_arch(hdr) ((hdr)->e_machine == EM_HEXAGON) e_machine 169 arch/hexagon/kernel/ptrace.c .e_machine = ELF_ARCH, e_machine 20 arch/ia64/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_IA_64) e_machine 2129 arch/ia64/kernel/ptrace.c .e_machine = EM_IA_64, e_machine 49 arch/m68k/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_68K) e_machine 28 arch/microblaze/include/uapi/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_MICROBLAZE \ e_machine 29 arch/microblaze/include/uapi/asm/elf.h || (x)->e_machine == EM_MICROBLAZE_OLD) e_machine 172 arch/mips/boot/elf2ecoff.c e->e_machine = swab16(e->e_machine); e_machine 225 arch/mips/boot/tools/relocs.c ehdr.e_machine = elf_half_to_cpu(ehdr.e_machine); e_machine 241 arch/mips/boot/tools/relocs.c if (ehdr.e_machine != ELF_MACHINE) e_machine 274 arch/mips/include/asm/elf.h #define mips_elf_check_machine(x) ((x)->e_machine == EM_MIPS) e_machine 1066 arch/mips/kernel/ptrace.c .e_machine = ELF_ARCH, e_machine 1126 arch/mips/kernel/ptrace.c .e_machine = ELF_ARCH, e_machine 1137 arch/mips/kernel/ptrace.c .e_machine = ELF_ARCH, e_machine 167 arch/mips/vdso/genvdso.c if (swap_uint16(ehdr->e_machine) != EM_MIPS) { e_machine 117 arch/nds32/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_NDS32) e_machine 50 arch/nds32/kernel/ptrace.c .e_machine = EM_NDS32, e_machine 14 arch/nios2/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_ALTERA_NIOS2) e_machine 131 arch/nios2/kernel/ptrace.c .e_machine = ELF_ARCH, e_machine 26 arch/openrisc/include/asm/elf.h (((x)->e_machine == EM_OR32) || ((x)->e_machine == EM_OPENRISC)) e_machine 125 arch/openrisc/kernel/ptrace.c .e_machine = EM_OPENRISC, e_machine 315 arch/parisc/include/asm/elf.h ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS) e_machine 317 arch/parisc/include/asm/elf.h ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32) e_machine 602 arch/parisc/kernel/ptrace.c .name = "parisc", .e_machine = ELF_ARCH, .ei_osabi = ELFOSABI_LINUX, e_machine 686 arch/parisc/kernel/ptrace.c .name = "parisc", .e_machine = EM_PARISC, .ei_osabi = ELFOSABI_LINUX, e_machine 58 arch/powerpc/boot/elf.h Elf32_Half e_machine; e_machine 75 arch/powerpc/boot/elf.h Elf64_Half e_machine; e_machine 32 arch/powerpc/boot/elf_util.c elf64->e_machine == EM_PPC64)) e_machine 64 arch/powerpc/boot/elf_util.c elf32->e_machine == EM_PPC)) e_machine 16 arch/powerpc/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) e_machine 17 arch/powerpc/include/asm/elf.h #define compat_elf_check_arch(x) ((x)->e_machine == EM_PPC) e_machine 852 arch/powerpc/kernel/fadump.c elf->e_machine = ELF_ARCH; e_machine 1114 arch/powerpc/kernel/prom_init.c .e_machine = EM_PPC, e_machine 2012 arch/powerpc/kernel/ptrace.c .name = UTS_MACHINE, .e_machine = ELF_ARCH, .ei_osabi = ELF_OSABI, e_machine 2287 arch/powerpc/kernel/ptrace.c .name = "ppc", .e_machine = EM_PPC, .ei_osabi = ELF_OSABI, e_machine 137 arch/powerpc/oprofile/cell/vma_map.c if (ehdr.e_machine != EM_SPU) { e_machine 363 arch/powerpc/platforms/powernv/opal-core.c elf->e_machine = cpu_to_be16(ELF_ARCH); e_machine 31 arch/riscv/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_RISCV) e_machine 118 arch/riscv/kernel/ptrace.c .e_machine = EM_RISCV, e_machine 155 arch/s390/include/asm/elf.h (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ e_machine 158 arch/s390/include/asm/elf.h (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ e_machine 521 arch/s390/kernel/crash_dump.c ehdr->e_machine = EM_S390; e_machine 1420 arch/s390/kernel/ptrace.c .e_machine = EM_S390, e_machine 1672 arch/s390/kernel/ptrace.c .e_machine = EM_S390, e_machine 97 arch/sh/include/asm/elf.h #define elf_check_arch(x) ((x)->e_machine == EM_SH) e_machine 358 arch/sh/kernel/ptrace_32.c .e_machine = EM_SH, e_machine 374 arch/sh/kernel/ptrace_64.c .e_machine = EM_SH, e_machine 99 arch/sparc/include/asm/elf_32.h #define elf_check_arch(x) ((x)->e_machine == EM_SPARC) e_machine 180 arch/sparc/include/asm/elf_64.h #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) e_machine 181 arch/sparc/include/asm/elf_64.h #define compat_elf_check_arch(x) ((x)->e_machine == EM_SPARC || \ e_machine 182 arch/sparc/include/asm/elf_64.h (x)->e_machine == EM_SPARC32PLUS) e_machine 320 arch/sparc/kernel/ptrace_32.c .name = "sparc", .e_machine = EM_SPARC, e_machine 511 arch/sparc/kernel/ptrace_64.c .name = "sparc64", .e_machine = EM_SPARCV9, e_machine 883 arch/sparc/kernel/ptrace_64.c .name = "sparc", .e_machine = EM_SPARC, e_machine 18 arch/unicore32/kernel/elf.c if (x->e_machine != EM_UNICORE) e_machine 90 arch/x86/include/asm/elf.h (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486)) e_machine 162 arch/x86/include/asm/elf.h ((x)->e_machine == EM_X86_64) e_machine 166 arch/x86/include/asm/elf.h (IS_ENABLED(CONFIG_X86_X32_ABI) && (x)->e_machine == EM_X86_64)) e_machine 196 arch/x86/include/asm/elf.h set_personality_ia32((ex).e_machine == EM_X86_64) e_machine 53 arch/x86/include/asm/kexec.h # define vmcore_elf_check_arch_cross(x) ((x)->e_machine == EM_X86_64) e_machine 1245 arch/x86/kernel/ptrace.c .name = "x86_64", .e_machine = EM_X86_64, e_machine 1300 arch/x86/kernel/ptrace.c .name = "i386", .e_machine = EM_386, e_machine 358 arch/x86/tools/relocs.c ehdr.e_machine = elf_half_to_cpu(ehdr.e_machine); e_machine 376 arch/x86/tools/relocs.c if (ehdr.e_machine != ELF_MACHINE) e_machine 30 arch/x86/um/asm/elf.h (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486)) e_machine 125 arch/x86/um/asm/elf.h ((x)->e_machine == EM_X86_64) e_machine 93 arch/xtensa/include/asm/elf.h #define elf_check_arch(x) ( ( (x)->e_machine == EM_XTENSA ) || \ e_machine 94 arch/xtensa/include/asm/elf.h ( (x)->e_machine == EM_XTENSA_OLD ) ) e_machine 216 arch/xtensa/kernel/ptrace.c .e_machine = EM_XTENSA, e_machine 1599 drivers/remoteproc/remoteproc_core.c ehdr->e_machine = EM_NONE; e_machine 1438 fs/binfmt_elf.c elf->e_machine = machine; e_machine 1804 fs/binfmt_elf.c view->e_machine, view->e_flags); e_machine 1300 fs/binfmt_elf_fdpic.c elf->e_machine = ELF_ARCH; e_machine 42 fs/binfmt_em86.c (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) || e_machine 346 fs/proc/kcore.c .e_machine = ELF_ARCH, e_machine 223 include/linux/regset.h u16 e_machine; e_machine 207 include/uapi/linux/elf.h Elf32_Half e_machine; e_machine 224 include/uapi/linux/elf.h Elf64_Half e_machine; e_machine 151 kernel/kexec_elf.c ehdr->e_machine = elf16_to_cpu(ehdr, buf_ehdr->e_machine); e_machine 1280 kernel/kexec_file.c ehdr->e_machine = ELF_ARCH; e_machine 514 scripts/mod/modpost.c hdr->e_machine = TO_NATIVE(hdr->e_machine); e_machine 661 scripts/mod/modpost.c if (info->hdr->e_machine == EM_PPC) e_machine 670 scripts/mod/modpost.c if (info->hdr->e_machine == EM_PPC64) e_machine 734 scripts/mod/modpost.c if (info->hdr->e_machine == EM_SPARC || e_machine 735 scripts/mod/modpost.c info->hdr->e_machine == EM_SPARCV9) { e_machine 1881 scripts/mod/modpost.c if (elf->hdr->e_machine == EM_MIPS) { e_machine 1927 scripts/mod/modpost.c if (elf->hdr->e_machine == EM_MIPS) { e_machine 1942 scripts/mod/modpost.c switch (elf->hdr->e_machine) { e_machine 524 scripts/recordmcount.c switch (w2(ehdr->e_machine)) { e_machine 527 scripts/recordmcount.c w2(ehdr->e_machine), fname); e_machine 580 scripts/recordmcount.c if (w2(ehdr->e_machine) == EM_MIPS) { e_machine 595 scripts/recordmcount.c if (w2(ghdr->e_machine) == EM_S390) { e_machine 599 scripts/recordmcount.c if (w2(ghdr->e_machine) == EM_MIPS) { e_machine 452 scripts/recordmcount.h if (w2(ehdr->e_machine) == EM_ARM e_machine 305 scripts/sortextable.c switch (r2(&ehdr->e_machine)) { e_machine 308 scripts/sortextable.c r2(&ehdr->e_machine), fname); e_machine 64 sound/pci/mixart/mixart_hwdep.c __be16 e_machine; e_machine 604 tools/lib/bpf/libbpf.c (ep->e_machine && ep->e_machine != EM_BPF)) { e_machine 31 tools/objtool/arch/x86/decode.c switch (elf->ehdr.e_machine) { e_machine 37 tools/objtool/arch/x86/decode.c WARN("unexpected ELF machine type %d", elf->ehdr.e_machine); e_machine 62 tools/perf/jvmti/jvmti_agent.c uint16_t e_machine; e_machine 81 tools/perf/jvmti/jvmti_agent.c hdr->elf_mach = info.e_machine; e_machine 283 tools/perf/util/genelf.c ehdr->e_machine = GEN_ELF_ARCH; e_machine 1168 tools/perf/util/probe-finder.c pf->machine = ehdr.e_machine; e_machine 352 tools/perf/util/symbol-elf.c switch (ehdr.e_machine) { e_machine 1080 tools/perf/util/symbol-elf.c if (ehdr.e_machine == EM_ARM || ehdr.e_machine == EM_AARCH64) { e_machine 1119 tools/perf/util/symbol-elf.c if ((ehdr.e_machine == EM_ARM) && e_machine 1247 tools/perf/util/symbol-elf.c if (ehdr.e_machine == EM_X86_64) e_machine 1378 tools/perf/util/symbol-elf.c ehdr->e_machine = kehdr->e_machine; e_machine 331 tools/perf/util/symbol-minimal.c if (ehdr.e_machine == EM_X86_64) e_machine 209 tools/testing/selftests/powerpc/ptrace/core-pkey.c FAIL_IF(ehdr->e_machine != EM_PPC64); e_machine 81 tools/testing/selftests/proc/proc-pid-vm.c uint16_t e_machine; e_machine 171 tools/testing/selftests/proc/proc-pid-vm.c h.e_machine = 0x3e;