Home
last modified time | relevance | path

Searched refs:page_size (Results 1 – 5 of 5) 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/tests/libs/
Dheap_tagging_helper.cpp69 size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); in main() local
70 void* p = mmap(nullptr, page_size, PROT_READ | PROT_WRITE | PROT_MTE, in main()
88 munmap(p, page_size); in main()
/bionic/libc/kernel/uapi/rdma/
Docrdma-abi.h53 __u32 page_size; member
/bionic/libc/kernel/uapi/linux/
Dvfio.h325 __aligned_u64 page_size; member
339 __aligned_u64 page_size; member
/bionic/libc/kernel/uapi/misc/
Dhabanalabs.h1054 __u64 page_size; member