Home
last modified time | relevance | path

Searched refs:kSuperPageSize (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
DPartitionAlloc.cpp42 COMPILE_ASSERT(WTF::kPartitionPageSize * 4 <= WTF::kSuperPageSize, ok_super_page_size);
43 COMPILE_ASSERT(!(WTF::kSuperPageSize % WTF::kPartitionPageSize), ok_super_page_multiple);
258 char* superPages[kMaxPartitionSize / kSuperPageSize]; in partitionAllocBaseShutdown()
266 superPage += kSuperPageSize; in partitionAllocBaseShutdown()
270 ASSERT(numSuperPages == root->totalSizeOfSuperPages / kSuperPageSize); in partitionAllocBaseShutdown()
272 freePages(superPages[i], kSuperPageSize); in partitionAllocBaseShutdown()
342 root->totalSizeOfSuperPages += kSuperPageSize; in partitionAllocPartitionPages()
346 … superPage = reinterpret_cast<char*>(allocPages(requestedAddress, kSuperPageSize, kSuperPageSize)); in partitionAllocPartitionPages()
352 root->nextSuperPage = superPage + kSuperPageSize; in partitionAllocPartitionPages()
363 … setSystemPagesInaccessible(superPage + (kSuperPageSize - kPartitionPageSize), kPartitionPageSize); in partitionAllocPartitionPages()
[all …]
DPartitionAlloc.h163 static const size_t kSuperPageSize = 1 << kSuperPageShift; variable
164 static const size_t kSuperPageOffsetMask = kSuperPageSize - 1;
166 static const size_t kNumPartitionPagesPerSuperPage = kSuperPageSize / kPartitionPageSize;
DPartitionAllocTest.cpp947 …void* map2 = WTF::allocPages(pageBase + WTF::kSuperPageSize, WTF::kPageAllocationGranularity, WTF:… in TEST()
965 …map2 = WTF::allocPages(pageBase + WTF::kSuperPageSize, WTF::kPageAllocationGranularity, WTF::kPage… in TEST()