Lines Matching refs:MAP_FAILED
748 if (mem == MAP_FAILED) { in do_run_with_base_page()
801 char *mem, *mmap_mem, *tmp, *mremap_mem = MAP_FAILED; in do_run_with_thp()
809 if (mmap_mem == MAP_FAILED) { in do_run_with_thp()
879 if (mem == MAP_FAILED) { in do_run_with_thp()
938 if (mremap_mem != MAP_FAILED) in do_run_with_thp()
1009 if (mem == MAP_FAILED) { in run_with_hugetlb()
1022 if (dummy == MAP_FAILED) { in run_with_hugetlb()
1479 if (mem == MAP_FAILED) { in run_with_zeropage()
1485 if (mem == MAP_FAILED) { in run_with_zeropage()
1497 if (smem != MAP_FAILED) in run_with_zeropage()
1518 if (mmap_mem == MAP_FAILED) { in run_with_huge_zeropage()
1524 if (mmap_smem == MAP_FAILED) { in run_with_huge_zeropage()
1556 if (mmap_smem != MAP_FAILED) in run_with_huge_zeropage()
1581 if (mem == MAP_FAILED) { in run_with_memfd()
1586 if (mem == MAP_FAILED) { in run_with_memfd()
1598 if (smem != MAP_FAILED) in run_with_memfd()
1632 if (mem == MAP_FAILED) { in run_with_tmpfile()
1637 if (mem == MAP_FAILED) { in run_with_tmpfile()
1649 if (smem != MAP_FAILED) in run_with_tmpfile()
1682 if (mem == MAP_FAILED) { in run_with_memfd_hugetlb()
1687 if (mem == MAP_FAILED) { in run_with_memfd_hugetlb()
1699 if (mem != MAP_FAILED) in run_with_memfd_hugetlb()