Home
last modified time | relevance | path

Searched refs:SELFMAG (Results 1 – 25 of 43) sorted by relevance

12

/OK3568_Linux_fs/kernel/scripts/mod/
H A Dmk_elfconfig.c17 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main()
/OK3568_Linux_fs/kernel/fs/
H A Dbinfmt_em86.c37 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_em86()
H A Dcoredump.c1135 char elfmag[SELFMAG]; in dump_vma_snapshot()
1137 if (copy_from_user(elfmag, (void __user *)m->start, SELFMAG) || in dump_vma_snapshot()
1138 memcmp(elfmag, ELFMAG, SELFMAG) != 0) { in dump_vma_snapshot()
H A Dbinfmt_elf.c845 if (memcmp(elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
949 if (memcmp(interp_elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
1356 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_library()
1470 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_header()
/OK3568_Linux_fs/kernel/arch/mips/tools/
H A Delf-entry.c58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()
H A Dloongson3-llsc-check.c270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsymbol-minimal.c106 if (memcmp(e_ident, ELFMAG, SELFMAG) || in filename__read_build_id()
311 if (memcmp(e_ident, ELFMAG, SELFMAG) || in fd__is_64_bit()
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Delf.h132 #define SELFMAG 4 macro
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dkexec_elf.c124 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) in s390_elf_probe()
/OK3568_Linux_fs/kernel/arch/arm/vdso/
H A Dvdsomunge.c153 if (memcmp(&inhdr->e_ident, ELFMAG, SELFMAG) != 0) in main()
/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h32 memcpy(hdr->e_ident, ELFMAG, SELFMAG); in elf_hdr_init_ident()
H A Dremoteproc_elf_loader.c62 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) {
/OK3568_Linux_fs/kernel/arch/mips/vdso/
H A Dgenvdso.c141 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in map_vdso()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dvpe.c593 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0 in vpe_elfload()
830 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) == 0) { in vpe_release()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Delf.h345 #define SELFMAG 4 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Delf.h344 #define SELFMAG 4 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Delf.h344 #define SELFMAG 4 macro
/OK3568_Linux_fs/kernel/fs/proc/
H A Dvmcore.c1206 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers()
1262 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf32_headers()
1313 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in parse_crash_elf_headers()
/OK3568_Linux_fs/kernel/scripts/
H A Dsorttable.c326 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
H A Drecordmcount.c523 if (memcmp(ELFMAG, ehdr->e_ident, SELFMAG) != 0 || in do_file()
/OK3568_Linux_fs/u-boot/include/
H A Delf.h61 #define SELFMAG 4 /* size of magic */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c205 ret = memcmp(ehdr->e_ident, ELFMAG, SELFMAG); in check_core_file()
/OK3568_Linux_fs/u-boot/tools/
H A Dmips-relocs.c238 if (memcmp(&ehdr32->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in main()
/OK3568_Linux_fs/kernel/kernel/
H A Dkexec_elf.c26 return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0; in elf_is_elf_file()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_firmware_core_dump.c177 memcpy(hdr->e_ident, ELFMAG, SELFMAG); in fw_core_dump_fill_elf_header()

12