Lines Matching refs:page
19 void fillPageRand(uint32_t *page) { in fillPageRand() argument
22 page[i] = start+i; in fillPageRand()
25 void fillPageCompressible(void* page) { in fillPageCompressible() argument
27 auto page_ptr = reinterpret_cast<typeof(val)*>(page); in fillPageCompressible()
74 AlignedAlloc page(kPageSize, kPageSize); in fillWithCompressible() local
76 fillPageCompressible((uint32_t*)page.ptr()); in fillWithCompressible()
77 ssize_t ret = write(m_fd, page.ptr(), kPageSize); in fillWithCompressible()
87 AlignedAlloc page(kPageSize, kPageSize); in benchSequentialRead() local
94 ssize_t ret = read(m_fd, page.ptr(), kPageSize); in benchSequentialRead()
108 AlignedAlloc page(kPageSize, kPageSize); in benchSequentialWrite() local
113 fillPageCompressible((uint32_t*)page.ptr()); in benchSequentialWrite()
116 ssize_t ret = write(m_fd, page.ptr(), kPageSize); in benchSequentialWrite()