Lines Matching refs:MAP_FAILED
56 if (CHECK(tmp1 != MAP_FAILED, "rdonly_write_mmap", "unexpected success\n")) { in test_mmap()
62 if (CHECK(tmp1 == MAP_FAILED, "rdonly_read_mmap", "failed: %d\n", errno)) in test_mmap()
75 if (CHECK(bss_mmaped == MAP_FAILED, "bss_mmap", in test_mmap()
83 if (CHECK(map_mmaped == MAP_FAILED, "data_mmap", in test_mmap()
147 if (CHECK(map_mmaped == MAP_FAILED, "data_mmap", in test_mmap()
166 if (CHECK_FAIL(p == MAP_FAILED)) in test_mmap()
182 if (CHECK(tmp1 != MAP_FAILED, "data_mmap", "mmap succeeded\n")) { in test_mmap()
202 if (CHECK(tmp0 == MAP_FAILED, "adv_mmap0", "errno %d\n", errno)) in test_mmap()
223 if (CHECK(tmp2 == MAP_FAILED, "adv_mmap3", "errno %d\n", errno)) { in test_mmap()
234 if (CHECK(tmp2 == MAP_FAILED, "adv_mmap5", "errno %d\n", errno)) { in test_mmap()
255 if (CHECK(tmp1 != MAP_FAILED, "adv_mmap7", "unexpected success")) { in test_mmap()
261 if (CHECK(tmp1 == MAP_FAILED, "last_mmap", "failed %d\n", errno)) in test_mmap()