Searched refs:page_size (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | sys_prctl_test.cpp | 27 size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); in TEST() local 28 void* p = mmap(NULL, page_size * 3, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() 30 ASSERT_EQ(0, mprotect(p, page_size, PROT_NONE)); in TEST() 31 ASSERT_NE(-1, prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, p, page_size * 3, "anonymous map space")); in TEST() 34 *(vp + page_size) = 0; in TEST() 35 ASSERT_EQ(0, munmap(p, page_size * 3)); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | a.out.h | 109 #define SEGMENT_SIZE page_size
|