Home
last modified time | relevance | path

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

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc324 DCHECK(page->empty_cache_index == -1); in PartitionPageStateIsDecommitted()
477 page->empty_cache_index = -1; in PartitionPageSetup()
689 DCHECK(!page->empty_cache_index); in PartitionDirectMap()
870 DCHECK(page->empty_cache_index >= 0); in PartitionDecommitPageIfPossible()
871 DCHECK(static_cast<unsigned>(page->empty_cache_index) < kMaxFreeableSpans); in PartitionDecommitPageIfPossible()
872 DCHECK(page == root->global_empty_page_ring[page->empty_cache_index]); in PartitionDecommitPageIfPossible()
873 page->empty_cache_index = -1; in PartitionDecommitPageIfPossible()
883 if (page->empty_cache_index != -1) { in PartitionRegisterEmptyPage()
884 DCHECK(page->empty_cache_index >= 0); in PartitionRegisterEmptyPage()
885 DCHECK(static_cast<unsigned>(page->empty_cache_index) < kMaxFreeableSpans); in PartitionRegisterEmptyPage()
[all …]
Dpartition_alloc.h271 int16_t empty_cache_index; // -1 if not in the empty cache. member