Home
last modified time | relevance | path

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

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.h264 PartitionFreelistEntry* freelist_head; member
637 return reinterpret_cast<size_t*>(&page->freelist_head); in PartitionPageGetRawSizePtr()
666 void* ret = page->freelist_head; in PartitionBucketAlloc()
675 page->freelist_head = new_head; in PartitionBucketAlloc()
738 PartitionFreelistEntry* freelist_head = page->freelist_head; in PartitionFreeWithPage() local
739 DCHECK(!freelist_head || PartitionPointerIsValid(freelist_head)); in PartitionFreeWithPage()
740 CHECK(ptr != freelist_head); // Catches an immediate double free. in PartitionFreeWithPage()
742 DCHECK(!freelist_head || ptr != PartitionFreelistMask(freelist_head->next)); in PartitionFreeWithPage()
744 entry->next = PartitionFreelistMask(freelist_head); in PartitionFreeWithPage()
745 page->freelist_head = entry; in PartitionFreeWithPage()
Dpartition_alloc.cc297 (page->freelist_head || page->num_unprovisioned_slots)); in PartitionPageStateIsActive()
305 DCHECK(!page->freelist_head); in PartitionPageStateIsFull()
314 return (!page->num_allocated_slots && page->freelist_head); in PartitionPageStateIsEmpty()
321 bool ret = (!page->num_allocated_slots && !page->freelist_head); in PartitionPageStateIsDecommitted()
508 DCHECK(!page->freelist_head); in PartitionPageAllocAndFillFreelist()
551 page->freelist_head = entry; in PartitionPageAllocAndFillFreelist()
561 page->freelist_head = 0; in PartitionPageAllocAndFillFreelist()
691 page->freelist_head = reinterpret_cast<PartitionFreelistEntry*>(slot); in PartitionDirectMap()
758 DCHECK(!bucket->active_pages_head->freelist_head); in PartitionAllocSlowPath()
792 if (new_page->freelist_head) { in PartitionAllocSlowPath()
[all …]