Home
last modified time | relevance | path

Searched refs:PartitionBucket (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_bucket.cc25 size_t size = PartitionBucket::get_direct_map_size(raw_size); in PartitionDirectMap()
71 PartitionBucket* bucket = reinterpret_cast<PartitionBucket*>( in PartitionDirectMap()
109 PartitionBucket PartitionBucket::sentinel_bucket_;
111 PartitionBucket* PartitionBucket::get_sentinel_bucket() { in get_sentinel_bucket()
123 uint8_t PartitionBucket::get_system_pages_per_slot_span() { in get_system_pages_per_slot_span()
178 void PartitionBucket::Init(uint32_t new_slot_size) { in Init()
187 NOINLINE void PartitionBucket::OnFull() { in OnFull()
191 ALWAYS_INLINE void* PartitionBucket::AllocNewSlotSpan( in AllocNewSlotSpan()
310 ALWAYS_INLINE uint16_t PartitionBucket::get_pages_per_slot_span() { in get_pages_per_slot_span()
317 ALWAYS_INLINE void PartitionBucket::InitializeSlotSpan(PartitionPage* page) { in InitializeSlotSpan()
[all …]
Dpartition_alloc.h118 ALWAYS_INLINE internal::PartitionBucket* buckets() { in buckets()
119 return reinterpret_cast<internal::PartitionBucket*>(this + 1); in buckets()
121 ALWAYS_INLINE const internal::PartitionBucket* buckets() const { in buckets()
122 return reinterpret_cast<const internal::PartitionBucket*>(this + 1); in buckets()
151 internal::PartitionBucket*
154 internal::PartitionBucket buckets[kGenericNumBuckets] = {};
325 internal::PartitionBucket* bucket = &buckets()[index]; in AllocFlags()
375 ALWAYS_INLINE internal::PartitionBucket* PartitionGenericSizeToBucket( in PartitionGenericSizeToBucket()
384 internal::PartitionBucket* bucket = in PartitionGenericSizeToBucket()
421 internal::PartitionBucket* bucket = PartitionGenericSizeToBucket(root, size); in PartitionAllocGenericFlags()
[all …]
Dpartition_bucket.h22 struct PartitionBucket { struct
70 static PartitionBucket* get_sentinel_bucket(); argument
123 static PartitionBucket sentinel_bucket_; argument
Dpartition_alloc.cc32 static_assert(sizeof(internal::PartitionBucket) <= kPageMetadataSize,
180 internal::PartitionBucket::get_sentinel_bucket()->active_pages_head = in PartitionAllocBaseInit()
202 internal::PartitionBucket& bucket = buckets()[i]; in Init()
249 internal::PartitionBucket* bucket = &buckets[0]; in Init()
266 internal::PartitionBucket** bucket_ptr = &bucket_lookups[0]; in Init()
273 *bucket_ptr++ = internal::PartitionBucket::get_sentinel_bucket(); in Init()
275 internal::PartitionBucket* valid_bucket = bucket; in Init()
289 *bucket_ptr = internal::PartitionBucket::get_sentinel_bucket(); in Init()
301 size_t new_size = internal::PartitionBucket::get_direct_map_size(raw_size); in PartitionReallocDirectMappedInPlace()
456 const internal::PartitionBucket* bucket = page->bucket; in PartitionPurgePage()
[all …]
Dpartition_root_base.h69 ALWAYS_INLINE void* AllocFromBucket(PartitionBucket* bucket,
91 ALWAYS_INLINE void* PartitionRootBase::AllocFromBucket(PartitionBucket* bucket, in AllocFromBucket()
Dpartition_direct_map_extent.h18 PartitionBucket* bucket;
Dpartition_page.h55 PartitionBucket* bucket;