Lines Matching refs:PAGE_SIZE
231 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
234 ASSERT_EQ(MAP_FAILED, mremap(map, PAGE_SIZE, kHuge, MREMAP_MAYMOVE)); in TEST()
236 ASSERT_EQ(0, munmap(map, PAGE_SIZE)); in TEST()
240 char* base = reinterpret_cast<char*>(mmap(nullptr, PAGE_SIZE * 2, PROT_EXEC | PROT_READ, in TEST()
243 __builtin___clear_cache(base, base + (PAGE_SIZE * 2)); in TEST()
247 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
251 mlock(map, PAGE_SIZE); in TEST()
253 ASSERT_EQ(0, munmap(map, PAGE_SIZE)); in TEST()
260 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
264 mlock2(map, PAGE_SIZE, MLOCK_ONFAULT); in TEST()
266 ASSERT_EQ(0, munmap(map, PAGE_SIZE)); in TEST()