Home
last modified time | relevance | path

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

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_page.cc58 if (page->empty_cache_index != -1) { in PartitionRegisterEmptyPage()
59 DCHECK(page->empty_cache_index >= 0); in PartitionRegisterEmptyPage()
60 DCHECK(static_cast<unsigned>(page->empty_cache_index) < kMaxFreeableSpans); in PartitionRegisterEmptyPage()
61 DCHECK(root->global_empty_page_ring[page->empty_cache_index] == page); in PartitionRegisterEmptyPage()
62 root->global_empty_page_ring[page->empty_cache_index] = nullptr; in PartitionRegisterEmptyPage()
77 page->empty_cache_index = current_index; in PartitionRegisterEmptyPage()
155 DCHECK(empty_cache_index >= 0); in DecommitIfPossible()
156 DCHECK(static_cast<unsigned>(empty_cache_index) < kMaxFreeableSpans); in DecommitIfPossible()
157 DCHECK(this == root->global_empty_page_ring[empty_cache_index]); in DecommitIfPossible()
158 empty_cache_index = -1; in DecommitIfPossible()
Dpartition_page.h60 int16_t empty_cache_index; // -1 if not in the empty cache. member
270 DCHECK(empty_cache_index == -1); in is_decommitted()
Dpartition_bucket.cc77 DCHECK(!page->empty_cache_index); in PartitionDirectMap()
320 page->empty_cache_index = -1; in InitializeSlotSpan()