Searched refs:kSystemPageSize (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | page_allocator_constants.h | 29 static constexpr size_t kSystemPageSize = 16384; variable 35 static constexpr size_t kSystemPageSize = 65536; variable 37 static constexpr size_t kSystemPageSize = 4096; variable 39 static constexpr size_t kSystemPageOffsetMask = kSystemPageSize - 1; 40 static_assert((kSystemPageSize & (kSystemPageSize - 1)) == 0,
|
D | partition_bucket.cc | 36 map_size += kSystemPageSize; in PartitionDirectMap() 48 size_t committed_page_size = size + kSystemPageSize; in PartitionDirectMap() 53 SetSystemPagesAccess(ptr + (kSystemPageSize * 2), in PartitionDirectMap() 54 kPartitionPageSize - (kSystemPageSize * 2), in PartitionDirectMap() 57 SetSystemPagesAccess(ptr, kSystemPageSize, PageInaccessible); in PartitionDirectMap() 58 SetSystemPagesAccess(slot + size, kSystemPageSize, PageInaccessible); in PartitionDirectMap() 93 map_extent->map_size = map_size - kPartitionPageSize - kSystemPageSize; in PartitionDirectMap() 136 if (slot_size > kMaxSystemPagesPerSlotSpan * kSystemPageSize) { in get_system_pages_per_slot_span() 139 DCHECK(!(slot_size % kSystemPageSize)); in get_system_pages_per_slot_span() 140 best_pages = static_cast<uint16_t>(slot_size / kSystemPageSize); in get_system_pages_per_slot_span() [all …]
|
D | partition_page.h | 124 return reinterpret_cast<char*>(pointer_as_uint + kSystemPageSize); in PartitionSuperPageToMetadataArea() 157 DCHECK(super_page_offset > kSystemPageSize); in ToPointer() 159 DCHECK(super_page_offset < kSystemPageSize + (kNumPartitionPagesPerSuperPage * in ToPointer() 162 (super_page_offset - kSystemPageSize) >> kPageMetadataShift; in ToPointer() 187 if (bucket->slot_size <= kMaxSystemPagesPerSlotSpan * kSystemPageSize) in get_raw_size_ptr() 190 DCHECK((bucket->slot_size % kSystemPageSize) == 0); in get_raw_size_ptr()
|
D | partition_alloc.cc | 26 static_assert(kSystemPageSize * 4 <= kPartitionPageSize, 28 static_assert(!(kPartitionPageSize % kSystemPageSize), 38 kSystemPageSize, 316 if ((new_size / kSystemPageSize) * 5 < (map_size / kSystemPageSize) * 4) in PartitionReallocDirectMappedInPlace() 458 if (slot_size < kSystemPageSize || !page->num_allocated_slots) in PartitionPurgePage() 478 (kPartitionPageSize * kMaxPartitionPagesPerSlotSpan) / kSystemPageSize; in PartitionPurgePage() 629 if (bucket->slot_size >= kSystemPageSize) in PurgeMemory()
|
D | partition_page.cc | 36 unmap_size += kPartitionPageSize + kSystemPageSize; in PartitionDirectUnmap() 38 size_t uncommitted_page_size = page->bucket->slot_size + kSystemPageSize; in PartitionDirectUnmap()
|
D | partition_bucket.h | 53 return num_system_pages_per_slot_span * kSystemPageSize; in get_bytes_per_span()
|
D | partition_alloc_constants.h | 59 kPartitionPageSize / kSystemPageSize;
|