Home
last modified time | relevance | path

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

/system/extras/mmap-perf/
DmmapPerf.cpp16 static const size_t pageSize = PAGE_SIZE; variable
18 static size_t pagesTotal = fsize / pageSize;
39 for (int i = 0; i < pageSize / sizeof(uint64_t); i++) { in fillPageJunk()
80 for (int i = 0; i < m_size / pageSize; i++) {
86 uint8_t *targetPtr = (uint8_t*)m_ptr + pageSize * targetPage; in benchRandomRead()
90 uint8_t *targetPtr = (uint8_t*)m_ptr + pageSize * targetPage; in benchRandomWrite()
94 uint8_t *targetPtr = (uint8_t*)m_ptr + pageSize * j; in benchLinearRead()
98 uint8_t *targetPtr = (uint8_t*)m_ptr + pageSize * j; in benchLinearWrite()
119 state.SetBytesProcessed(state.iterations() * pageSize); in benchRandomRead()
129 state.SetBytesProcessed(state.iterations() * pageSize); in benchRandomWrite()
[all …]
/system/extras/verity/
DBootSignature.java205 int pageSize = image.getInt(); in getSignableImageSize() local
207 int length = pageSize // include the page aligned image header in getSignableImageSize()
208 + ((kernelSize + pageSize - 1) / pageSize) * pageSize in getSignableImageSize()
209 + ((ramdskSize + pageSize - 1) / pageSize) * pageSize in getSignableImageSize()
210 + ((secondSize + pageSize - 1) / pageSize) * pageSize; in getSignableImageSize()
212 length = ((length + pageSize - 1) / pageSize) * pageSize; in getSignableImageSize()