Searched refs:PartitionPage (Results 1 – 9 of 9) sorted by relevance
52 struct PartitionPage { struct54 PartitionPage* next_page; argument74 ALWAYS_INLINE static void* ToPointer(const PartitionPage* page);75 ALWAYS_INLINE static PartitionPage* FromPointerNoAlignmentCheck(void* ptr);76 ALWAYS_INLINE static PartitionPage* FromPointer(void* ptr);81 const_cast<const PartitionPage*>(this)->get_raw_size_ptr()); in get_raw_size_ptr() argument90 BASE_EXPORT static PartitionPage* get_sentinel_page();114 static PartitionPage sentinel_page_;116 static_assert(sizeof(PartitionPage) <= kPageMetadataSize,127 ALWAYS_INLINE PartitionPage* PartitionPage::FromPointerNoAlignmentCheck( in FromPointerNoAlignmentCheck()[all …]
16 ALWAYS_INLINE void PartitionDirectUnmap(PartitionPage* page) { in PartitionDirectUnmap()45 char* ptr = reinterpret_cast<char*>(PartitionPage::ToPointer(page)); in PartitionDirectUnmap()53 ALWAYS_INLINE void PartitionRegisterEmptyPage(PartitionPage* page) { in PartitionRegisterEmptyPage()66 PartitionPage* page_to_decommit = root->global_empty_page_ring[current_index]; in PartitionRegisterEmptyPage()87 PartitionPage PartitionPage::sentinel_page_;89 PartitionPage* PartitionPage::get_sentinel_page() { in get_sentinel_page()93 void PartitionPage::FreeSlowPath() { in FreeSlowPath()137 void PartitionPage::Decommit(PartitionRootBase* root) { in Decommit()140 void* addr = PartitionPage::ToPointer(this); in Decommit()154 void PartitionPage::DecommitIfPossible(PartitionRootBase* root) { in DecommitIfPossible()
19 struct PartitionPage;24 PartitionPage* active_pages_head;26 PartitionPage* empty_pages_head;27 PartitionPage* decommitted_pages_head;116 ALWAYS_INLINE void InitializeSlotSpan(PartitionPage* page);121 ALWAYS_INLINE char* AllocAndFillFreelist(PartitionPage* page);
22 ALWAYS_INLINE PartitionPage* PartitionDirectMap(PartitionRootBase* root, in PartitionDirectMap()70 PartitionPage* page = PartitionPage::FromPointerNoAlignmentCheck(slot); in PartitionDirectMap()180 active_pages_head = PartitionPage::get_sentinel_page(); in Init()317 ALWAYS_INLINE void PartitionBucket::InitializeSlotSpan(PartitionPage* page) { in InitializeSlotSpan()334 PartitionPage* secondary_page = in InitializeSlotSpan()335 reinterpret_cast<PartitionPage*>(page_char_ptr); in InitializeSlotSpan()340 ALWAYS_INLINE char* PartitionBucket::AllocAndFillFreelist(PartitionPage* page) { in AllocAndFillFreelist()341 DCHECK(page != PartitionPage::get_sentinel_page()); in AllocAndFillFreelist()353 char* base = reinterpret_cast<char*>(PartitionPage::ToPointer(page)); in AllocAndFillFreelist()408 PartitionPage* page = active_pages_head; in SetNewActivePage()[all …]
19 struct PartitionPage;53 PartitionPage* global_empty_page_ring[kMaxFreeableSpans] = {};73 ALWAYS_INLINE static bool IsValidPage(PartitionPage* page);74 ALWAYS_INLINE static PartitionRootBase* FromPage(PartitionPage* page);97 PartitionPage* page = bucket->active_pages_head; in AllocFromBucket()118 PartitionRootBase::IsValidPage(PartitionPage::FromPointer(ret))); in AllocFromBucket()126 page = PartitionPage::FromPointer(ret); in AllocFromBucket()157 ALWAYS_INLINE bool PartitionRootBase::IsValidPage(PartitionPage* page) { in IsValidPage()163 PartitionPage* page) { in FromPage()
30 static_assert(sizeof(internal::PartitionPage) <= kPageMetadataSize,181 internal::PartitionPage::get_sentinel_page(); in PartitionAllocBaseInit()293 internal::PartitionPage* page, in PartitionReallocDirectMappedInPlace()307 char* char_ptr = static_cast<char*>(internal::PartitionPage::ToPointer(page)); in PartitionReallocDirectMappedInPlace()385 internal::PartitionPage* page = internal::PartitionPage::FromPointer( in PartitionReallocGenericFlags()455 static size_t PartitionPurgePage(internal::PartitionPage* page, bool discard) { in PartitionPurgePage()470 reinterpret_cast<char*>(internal::PartitionPage::ToPointer(page)); in PartitionPurgePage()489 char* ptr = reinterpret_cast<char*>(internal::PartitionPage::ToPointer(page)); in PartitionPurgePage()604 internal::PartitionPage::get_sentinel_page()) { in PartitionPurgeBucket()605 for (internal::PartitionPage* page = bucket->active_pages_head; page; in PartitionPurgeBucket()[all …]
21 ALWAYS_INLINE static PartitionDirectMapExtent* FromPage(PartitionPage* page);25 PartitionPage* page) { in FromPage()
348 internal::PartitionPage* page = internal::PartitionPage::FromPointer(ptr); in PartitionAllocGetSize()368 internal::PartitionPage* page = internal::PartitionPage::FromPointer(ptr); in PartitionFree()462 internal::PartitionPage* page = internal::PartitionPage::FromPointer(ptr); in Free()
33 internal::PartitionPage* page = global_empty_page_ring[i]; in DecommitEmptyPages()