Searched refs:PartitionFreelistEntry (Results 1 – 5 of 5) sorted by relevance
21 struct PartitionFreelistEntry { struct24 PartitionFreelistEntry() = delete;25 ~PartitionFreelistEntry() = delete;28 PartitionFreelistEntry* ptr) { in Encode()53 char scrambled[sizeof(PartitionFreelistEntry*)]; argument58 ALWAYS_INLINE static PartitionFreelistEntry* Decode( in Decode()60 return reinterpret_cast<PartitionFreelistEntry*>( in Decode()61 PartitionFreelistEntry::Transform(ptr)); in Decode()65 static_assert(sizeof(PartitionFreelistEntry) ==
79 page->freelist_head = reinterpret_cast<PartitionFreelistEntry*>(slot); in PartitionDirectMap()80 PartitionFreelistEntry* next_entry = in PartitionDirectMap()81 reinterpret_cast<PartitionFreelistEntry*>(slot); in PartitionDirectMap()82 next_entry->next = PartitionFreelistEntry::Encode(nullptr); in PartitionDirectMap()357 first_freelist_pointer + sizeof(PartitionFreelistEntry*); in AllocAndFillFreelist()390 PartitionFreelistEntry* entry = in AllocAndFillFreelist()391 reinterpret_cast<PartitionFreelistEntry*>(freelist_pointer); in AllocAndFillFreelist()395 PartitionFreelistEntry* next_entry = in AllocAndFillFreelist()396 reinterpret_cast<PartitionFreelistEntry*>(freelist_pointer); in AllocAndFillFreelist()397 entry->next = PartitionFreelistEntry::Encode(next_entry); in AllocAndFillFreelist()[all …]
53 PartitionFreelistEntry* freelist_head;226 internal::PartitionFreelistEntry* entry = in Free()227 static_cast<internal::PartitionFreelistEntry*>(ptr); in Free()228 entry->next = internal::PartitionFreelistEntry::Encode(freelist_head); in Free()
492 for (internal::PartitionFreelistEntry* entry = page->freelist_head; entry; in PartitionPurgePage()504 if (!internal::PartitionFreelistEntry::Encode(entry)) in PartitionPurgePage()540 internal::PartitionFreelistEntry* head = nullptr; in PartitionPurgePage()541 internal::PartitionFreelistEntry* back = head; in PartitionPurgePage()546 auto* entry = reinterpret_cast<internal::PartitionFreelistEntry*>( in PartitionPurgePage()552 back->next = internal::PartitionFreelistEntry::Encode(entry); in PartitionPurgePage()563 back->next = internal::PartitionFreelistEntry::Encode(nullptr); in PartitionPurgePage()584 begin_ptr += sizeof(internal::PartitionFreelistEntry); in PartitionPurgePage()586 begin_ptr += sizeof(internal::PartitionFreelistEntry); in PartitionPurgePage()
109 internal::PartitionFreelistEntry* new_head = in AllocFromBucket()