Home
last modified time | relevance | path

Searched refs:kPartitionPageSize (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc_constants.h45 static const size_t kPartitionPageSize = 1 << kPartitionPageShift; variable
46 static const size_t kPartitionPageOffsetMask = kPartitionPageSize - 1;
59 kPartitionPageSize / kSystemPageSize;
128 kSuperPageSize / kPartitionPageSize;
Dpartition_bucket.cc34 size_t map_size = size + kPartitionPageSize; in PartitionDirectMap()
52 char* slot = ptr + kPartitionPageSize; in PartitionDirectMap()
54 kPartitionPageSize - (kSystemPageSize * 2), in PartitionDirectMap()
93 map_extent->map_size = map_size - kPartitionPageSize - kSystemPageSize; in PartitionDirectMap()
196 kPartitionPageSize)); in AllocNewSlotSpan()
198 kPartitionPageSize)); in AllocNewSlotSpan()
200 size_t total_size = kPartitionPageSize * num_partition_pages; in AllocNewSlotSpan()
238 char* ret = super_page + kPartitionPageSize; in AllocNewSlotSpan()
240 root->next_partition_page_end = root->next_super_page - kPartitionPageSize; in AllocNewSlotSpan()
247 kPartitionPageSize - (kSystemPageSize * 2), in AllocNewSlotSpan()
[all …]
Dpartition_page.cc36 unmap_size += kPartitionPageSize + kSystemPageSize; in PartitionDirectUnmap()
48 ptr -= kPartitionPageSize; in PartitionDirectUnmap()
Dpartition_alloc.cc22 static_assert(kPartitionPageSize * 4 <= kSuperPageSize, "ok super page size");
23 static_assert(!(kSuperPageSize % kPartitionPageSize), "ok super page multiple");
26 static_assert(kSystemPageSize * 4 <= kPartitionPageSize,
28 static_assert(!(kPartitionPageSize % kSystemPageSize),
478 (kPartitionPageSize * kMaxPartitionPagesPerSlotSpan) / kSystemPageSize; in PartitionPurgePage()