Lines Matching refs:page
17 void fillPageRand(uint32_t *page) { in fillPageRand() argument
20 page[i] = start+i; in fillPageRand()
23 void fillPageCompressible(uint32_t *page) { in fillPageCompressible() argument
26 page[i] = val; in fillPageCompressible()
65 AlignedAlloc page(page_size, page_size); in fillWithCompressible() local
67 fillPageCompressible((uint32_t*)page.ptr()); in fillWithCompressible()
68 ssize_t ret = write(m_fd, page.ptr(), page_size); in fillWithCompressible()
78 AlignedAlloc page(page_size, page_size); in benchSequentialRead() local
85 ssize_t ret = read(m_fd, page.ptr(), page_size); in benchSequentialRead()
99 AlignedAlloc page(page_size, page_size); in benchSequentialWrite() local
104 fillPageCompressible((uint32_t*)page.ptr()); in benchSequentialWrite()
107 ssize_t ret = write(m_fd, page.ptr(), page_size); in benchSequentialWrite()