MAP_FAILED 146 arch/arm/vdso/vdsomunge.c if (inbuf == MAP_FAILED) MAP_FAILED 188 arch/arm/vdso/vdsomunge.c if (outbuf == MAP_FAILED) MAP_FAILED 130 arch/mips/vdso/genvdso.c if (addr == MAP_FAILED) { MAP_FAILED 174 arch/sparc/vdso/vdso2c.c if (*addr == MAP_FAILED) MAP_FAILED 198 arch/um/os-Linux/mem.c if (addr == MAP_FAILED) { MAP_FAILED 149 arch/um/os-Linux/process.c if (loc == MAP_FAILED) MAP_FAILED 204 arch/um/os-Linux/process.c if (addr == MAP_FAILED) { MAP_FAILED 210 arch/um/os-Linux/skas/process.c if (addr == MAP_FAILED) { MAP_FAILED 221 arch/um/os-Linux/skas/process.c if (addr == MAP_FAILED) { MAP_FAILED 274 arch/um/os-Linux/skas/process.c if (stack == MAP_FAILED) { MAP_FAILED 391 arch/x86/boot/tools/build.c if (kernel == MAP_FAILED) MAP_FAILED 195 arch/x86/entry/vdso/vdso2c.c if (*addr == MAP_FAILED) MAP_FAILED 38 arch/x86/um/os-Linux/task_size.c if (mapped == MAP_FAILED) MAP_FAILED 59 samples/auxdisplay/cfag12864b-example.c if (cfag12864b_mem == MAP_FAILED) { MAP_FAILED 751 samples/bpf/xdpsock_user.c if (bufs == MAP_FAILED) { MAP_FAILED 427 samples/mic/mpssd/mpssd.c if (MAP_FAILED == va) { MAP_FAILED 559 samples/mic/mpssd/mpssd.c if (MAP_FAILED == init_vr(mic, mic->mic_net.virtio_net_fd, MAP_FAILED 781 samples/mic/mpssd/mpssd.c if (MAP_FAILED == init_vr(mic, mic->mic_console.virtio_console_fd, MAP_FAILED 1021 samples/mic/mpssd/mpssd.c if (mic->mic_virtblk.backend_addr == MAP_FAILED) { MAP_FAILED 1054 samples/mic/mpssd/mpssd.c if (MAP_FAILED == init_vr(mic, mic->mic_virtblk.virtio_block_fd, MAP_FAILED 1564 samples/mic/mpssd/mpssd.c if (map == MAP_FAILED) { MAP_FAILED 219 scripts/insert-sys-cert.c if (map == MAP_FAILED) { MAP_FAILED 67 scripts/kconfig/confdata.c if (map1 == MAP_FAILED) MAP_FAILED 71 scripts/kconfig/confdata.c if (map2 == MAP_FAILED) MAP_FAILED 422 scripts/mod/modpost.c void *map = MAP_FAILED; MAP_FAILED 436 scripts/mod/modpost.c if (map == MAP_FAILED) MAP_FAILED 187 scripts/recordmcount.c if (file_map == MAP_FAILED) { MAP_FAILED 104 scripts/sortextable.c if (addr == MAP_FAILED) { MAP_FAILED 974 tools/bpf/bpf_dbg.c if (pcap_ptr_va_start == MAP_FAILED) { MAP_FAILED 112 tools/firmware/ihex2fw.c if (data == MAP_FAILED) { MAP_FAILED 20 tools/io_uring/setup.c if (ptr == MAP_FAILED) MAP_FAILED 34 tools/io_uring/setup.c if (sq->sqes == MAP_FAILED) { MAP_FAILED 44 tools/io_uring/setup.c if (ptr == MAP_FAILED) { MAP_FAILED 5403 tools/lib/bpf/libbpf.c if (cpu_buf->base == MAP_FAILED) { MAP_FAILED 268 tools/lib/bpf/xsk.c if (map == MAP_FAILED) { MAP_FAILED 285 tools/lib/bpf/xsk.c if (map == MAP_FAILED) { MAP_FAILED 636 tools/lib/bpf/xsk.c if (rx_map == MAP_FAILED) { MAP_FAILED 655 tools/lib/bpf/xsk.c if (tx_map == MAP_FAILED) { MAP_FAILED 217 tools/perf/jvmti/jvmti_agent.c return (marker_addr == MAP_FAILED) ? -1 : 0; MAP_FAILED 66 tools/perf/pmu-events/json.c if (map == MAP_FAILED) MAP_FAILED 42 tools/perf/tests/mmap-thread-lookup.c if (map == MAP_FAILED) { MAP_FAILED 96 tools/perf/util/auxtrace.c if (mm->base == MAP_FAILED) { MAP_FAILED 825 tools/perf/util/auxtrace.c if (addr == MAP_FAILED) MAP_FAILED 54 tools/perf/util/copyfile.c if (ptr == MAP_FAILED) MAP_FAILED 175 tools/perf/util/mmap.c if (map->aio.data[idx] == MAP_FAILED) { MAP_FAILED 376 tools/perf/util/mmap.c if (map->core.base == MAP_FAILED) { MAP_FAILED 394 tools/perf/util/mmap.c if (map->data == MAP_FAILED) { MAP_FAILED 56 tools/perf/util/session.c if (decomp == MAP_FAILED) { MAP_FAILED 2095 tools/perf/util/session.c if (buf == MAP_FAILED) { MAP_FAILED 40 tools/perf/util/zlib.c if (ptr == MAP_FAILED) MAP_FAILED 85 tools/power/acpi/os_specific/service_layers/osunixmap.c if (mapped_memory == MAP_FAILED) { MAP_FAILED 119 tools/testing/selftests/android/ion/ionutils.c if (map_buffer == MAP_FAILED) { MAP_FAILED 172 tools/testing/selftests/android/ion/ionutils.c if (map_buf == MAP_FAILED) { MAP_FAILED 43 tools/testing/selftests/ia64/aliasing-test.c if (addr == MAP_FAILED) MAP_FAILED 652 tools/testing/selftests/kvm/lib/kvm_util.c TEST_ASSERT(region->mmap_start != MAP_FAILED, MAP_FAILED 830 tools/testing/selftests/kvm/lib/kvm_util.c TEST_ASSERT(vcpu->state != MAP_FAILED, "mmap vcpu_state failed, " MAP_FAILED 133 tools/testing/selftests/memfd/fuse_test.c if (p == MAP_FAILED) { MAP_FAILED 151 tools/testing/selftests/memfd/fuse_test.c if (p == MAP_FAILED) { MAP_FAILED 181 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 199 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 254 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 267 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 286 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 319 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 333 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 348 tools/testing/selftests/memfd/memfd_test.c if (p == MAP_FAILED) { MAP_FAILED 393 tools/testing/selftests/memfd/memfd_test.c if (p != MAP_FAILED) { MAP_FAILED 405 tools/testing/selftests/memfd/memfd_test.c if (p != MAP_FAILED) { MAP_FAILED 418 tools/testing/selftests/memfd/memfd_test.c if (p != MAP_FAILED) { MAP_FAILED 200 tools/testing/selftests/net/psock_fanout.c if (ring == MAP_FAILED) { MAP_FAILED 714 tools/testing/selftests/net/psock_tpacket.c if (ring->mm_space == MAP_FAILED) { MAP_FAILED 116 tools/testing/selftests/net/txring_overwrite.c if (*ring == MAP_FAILED) MAP_FAILED 479 tools/testing/selftests/pidfd/pidfd_test.c if (child_exit_secs == MAP_FAILED) MAP_FAILED 209 tools/testing/selftests/powerpc/alignment/alignment_handler.c if ((ci0 == MAP_FAILED) || (ci1 == MAP_FAILED)) { MAP_FAILED 44 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c FAIL_IF(c == MAP_FAILED); MAP_FAILED 89 tools/testing/selftests/powerpc/copyloops/exc_validate.c if (p == MAP_FAILED) { MAP_FAILED 20 tools/testing/selftests/powerpc/mm/hugetlb_vs_thp_test.c if (p != MAP_FAILED) { MAP_FAILED 36 tools/testing/selftests/powerpc/mm/hugetlb_vs_thp_test.c if (p == MAP_FAILED) { MAP_FAILED 36 tools/testing/selftests/powerpc/mm/large_vm_fork_separation.c if (p == MAP_FAILED) { MAP_FAILED 31 tools/testing/selftests/powerpc/mm/prot_sao.c FAIL_IF(p == MAP_FAILED); MAP_FAILED 44 tools/testing/selftests/powerpc/mm/segv_errors.c FAIL_IF(p == MAP_FAILED); MAP_FAILED 210 tools/testing/selftests/powerpc/mm/subpage_prot.c if (fileblock == MAP_FAILED) { MAP_FAILED 26 tools/testing/selftests/powerpc/pmu/ebb/trace.c if (tb == MAP_FAILED) { MAP_FAILED 129 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c FAIL_IF(mem_region == MAP_FAILED); MAP_FAILED 61 tools/testing/selftests/powerpc/tm/tm-vmxcopy.c assert(a != MAP_FAILED); MAP_FAILED 59 tools/testing/selftests/proc/proc-self-map-files-001.c if (p == MAP_FAILED) MAP_FAILED 57 tools/testing/selftests/proc/thread-self.c assert(stack != MAP_FAILED); MAP_FAILED 56 tools/testing/selftests/ptrace/peeksiginfo.c if (addr_rw == MAP_FAILED) { MAP_FAILED 63 tools/testing/selftests/ptrace/peeksiginfo.c if (addr_ro == MAP_FAILED) { MAP_FAILED 659 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_NE(MAP_FAILED, map1); MAP_FAILED 663 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(MAP_FAILED, map2); MAP_FAILED 122 tools/testing/selftests/sigaltstack/sas.c if (sstack == MAP_FAILED) { MAP_FAILED 166 tools/testing/selftests/sigaltstack/sas.c if (ustack == MAP_FAILED) { MAP_FAILED 198 tools/testing/selftests/vm/compaction_test.c if (map == MAP_FAILED) MAP_FAILED 95 tools/testing/selftests/vm/gup_benchmark.c if (p == MAP_FAILED) MAP_FAILED 77 tools/testing/selftests/vm/hugepage-mmap.c if (addr == MAP_FAILED) { MAP_FAILED 48 tools/testing/selftests/vm/map_fixed_noreplace.c if (p == MAP_FAILED) { MAP_FAILED 68 tools/testing/selftests/vm/map_fixed_noreplace.c if (p == MAP_FAILED) { MAP_FAILED 88 tools/testing/selftests/vm/map_fixed_noreplace.c if (p != MAP_FAILED) { MAP_FAILED 109 tools/testing/selftests/vm/map_fixed_noreplace.c if (p != MAP_FAILED) { MAP_FAILED 129 tools/testing/selftests/vm/map_fixed_noreplace.c if (p != MAP_FAILED) { MAP_FAILED 149 tools/testing/selftests/vm/map_fixed_noreplace.c if (p != MAP_FAILED) { MAP_FAILED 169 tools/testing/selftests/vm/map_fixed_noreplace.c if (p == MAP_FAILED) { MAP_FAILED 189 tools/testing/selftests/vm/map_fixed_noreplace.c if (p == MAP_FAILED) { MAP_FAILED 92 tools/testing/selftests/vm/map_hugetlb.c if (addr == MAP_FAILED) { MAP_FAILED 59 tools/testing/selftests/vm/map_populate.c BUG_ON(smap == MAP_FAILED, "mmap()"); MAP_FAILED 89 tools/testing/selftests/vm/map_populate.c BUG_ON(smap == MAP_FAILED, "mmap()"); MAP_FAILED 199 tools/testing/selftests/vm/mlock2-tests.c if (map == MAP_FAILED) { MAP_FAILED 262 tools/testing/selftests/vm/mlock2-tests.c if (map == MAP_FAILED) { MAP_FAILED 304 tools/testing/selftests/vm/mlock2-tests.c if (map == MAP_FAILED) { MAP_FAILED 341 tools/testing/selftests/vm/mlock2-tests.c if (map == MAP_FAILED) { MAP_FAILED 367 tools/testing/selftests/vm/mlock2-tests.c if (map == MAP_FAILED) { MAP_FAILED 421 tools/testing/selftests/vm/mlock2-tests.c if (map == MAP_FAILED) { MAP_FAILED 31 tools/testing/selftests/vm/on-fault-limit.c if (map != MAP_FAILED) MAP_FAILED 91 tools/testing/selftests/vm/transhuge-stress.c if (ptr == MAP_FAILED) MAP_FAILED 178 tools/testing/selftests/vm/userfaultfd.c if (*alloc_area == MAP_FAILED) { MAP_FAILED 188 tools/testing/selftests/vm/userfaultfd.c if (area_alias == MAP_FAILED) { MAP_FAILED 235 tools/testing/selftests/vm/userfaultfd.c if (*alloc_area == MAP_FAILED) { MAP_FAILED 773 tools/testing/selftests/vm/userfaultfd.c if (area_dst == MAP_FAILED) MAP_FAILED 243 tools/testing/selftests/vm/va_128TBswitch.c if (p == MAP_FAILED) { MAP_FAILED 91 tools/testing/selftests/vm/virtual_address_range.c if (ptr == MAP_FAILED) MAP_FAILED 108 tools/testing/selftests/vm/virtual_address_range.c if (ptr[i] == MAP_FAILED) { MAP_FAILED 124 tools/testing/selftests/vm/virtual_address_range.c if (hptr[i] == MAP_FAILED) MAP_FAILED 678 tools/testing/selftests/x86/ldt_gdt.c if (page == MAP_FAILED) MAP_FAILED 701 tools/testing/selftests/x86/ldt_gdt.c if (low_user_desc == MAP_FAILED) MAP_FAILED 136 tools/testing/selftests/x86/sysret_rip.c if (ret == MAP_FAILED) { MAP_FAILED 69 tools/testing/selftests/x86/sysret_ss_attrs.c if (stack32 == MAP_FAILED) MAP_FAILED 31 tools/testing/selftests/x86/test_mremap_vdso.c if (dest_addr == MAP_FAILED) { MAP_FAILED 990 tools/vm/page-types.c if (ptr == MAP_FAILED)