Home
last modified time | relevance | path

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

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc53 subtle::SpinLock PartitionRootBase::gInitializedLock;
54 bool PartitionRootBase::gInitialized = false;
55 PartitionPage PartitionRootBase::gSeedPage;
56 PartitionBucket PartitionRootBase::gPagedBucket;
57 void (*PartitionRootBase::gOomHandlingFunction)() = nullptr;
106 static void PartitionAllocBaseInit(PartitionRootBase* root) { in PartitionAllocBaseInit()
109 subtle::SpinLock::Guard guard(PartitionRootBase::gInitializedLock); in PartitionAllocBaseInit()
110 if (!PartitionRootBase::gInitialized) { in PartitionAllocBaseInit()
111 PartitionRootBase::gInitialized = true; in PartitionAllocBaseInit()
114 PartitionRootBase::gPagedBucket.active_pages_head = in PartitionAllocBaseInit()
[all …]
Dpartition_alloc.h232 struct PartitionRootBase;
287 PartitionRootBase* root;
300 struct BASE_EXPORT PartitionRootBase { struct
333 struct PartitionRoot : public PartitionRootBase { argument
345 struct PartitionRootGeneric : public PartitionRootBase {
430 BASE_EXPORT NOINLINE void* PartitionAllocSlowPath(PartitionRootBase*,
647 ALWAYS_INLINE PartitionRootBase* PartitionPageToRoot(PartitionPage* page) { in PartitionPageToRoot()
655 PartitionRootBase* root = PartitionPageToRoot(page); in PartitionPointerIsValid()
659 ALWAYS_INLINE void* PartitionBucketAlloc(PartitionRootBase* root, in PartitionBucketAlloc()
855 DCHECK(bucket == &PartitionRootBase::gPagedBucket); in PartitionAllocActualSize()