Home
last modified time | relevance | path

Searched refs:kMapChunkSize (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dmprotect_test.cpp22 static const size_t kMapChunkSize = 4 * PAGE_SIZE; variable
47 void* mappedAddress = mmap(sMappedBase + sMappedSize, kMapChunkSize, in signal_handler()
54 printf("mapped %d bytes at %p\n", (int)kMapChunkSize, mappedAddress); in signal_handler()
56 sMappedSize += kMapChunkSize; in signal_handler()
80 sMappedBase = (uint8_t*)mmap(NULL, kTestSize + kMapChunkSize, in main()
86 munmap(sMappedBase + kMapChunkSize, kTestSize); in main()
88 sMappedSize = kMapChunkSize; in main()