Home
last modified time | relevance | path

Searched refs:freelist_head (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_page.h53 PartitionFreelistEntry* freelist_head; member
194 return reinterpret_cast<const size_t*>(&the_next_page->freelist_head); in get_raw_size_ptr()
222 CHECK(ptr != freelist_head); in Free()
224 DCHECK(!freelist_head || in Free()
225 ptr != EncodedPartitionFreelistEntry::Decode(freelist_head->next)); in Free()
228 entry->next = internal::PartitionFreelistEntry::Encode(freelist_head); in Free()
229 freelist_head = entry; in Free()
244 (freelist_head || num_unprovisioned_slots)); in is_active()
252 DCHECK(!freelist_head); in is_full()
261 return (!num_allocated_slots && freelist_head); in is_empty()
[all …]
Dpartition_bucket.cc79 page->freelist_head = reinterpret_cast<PartitionFreelistEntry*>(slot); in PartitionDirectMap()
349 DCHECK(!page->freelist_head); in AllocAndFillFreelist()
392 page->freelist_head = entry; in AllocAndFillFreelist()
402 page->freelist_head = nullptr; in AllocAndFillFreelist()
459 DCHECK(!active_pages_head->freelist_head); in SlowPathAlloc()
502 if (new_page->freelist_head) { in SlowPathAlloc()
554 if (LIKELY(new_page->freelist_head != nullptr)) { in SlowPathAlloc()
555 PartitionFreelistEntry* entry = new_page->freelist_head; in SlowPathAlloc()
558 new_page->freelist_head = new_head; in SlowPathAlloc()
Dpartition_root_base.h100 void* ret = page->freelist_head; in AllocFromBucket()
111 page->freelist_head->next); in AllocFromBucket()
112 page->freelist_head = new_head; in AllocFromBucket()
Dpartition_page.cc149 freelist_head = nullptr; in Decommit()
Dpartition_alloc.cc492 for (internal::PartitionFreelistEntry* entry = page->freelist_head; entry; in PartitionPurgePage()
561 page->freelist_head = head; in PartitionPurgePage()