Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_prctl_test.cpp37 size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); in TEST() local
38 void* p = mmap(NULL, page_size * 3, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
40 ASSERT_EQ(0, mprotect(p, page_size, PROT_NONE)); in TEST()
41 ASSERT_NE(-1, prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, p, page_size * 3, "anonymous map space")); in TEST()
62 ASSERT_EQ(0, munmap(p, page_size * 3)); in TEST()
/bionic/libc/kernel/uapi/rdma/
Docrdma-abi.h53 __u32 page_size; member