Home
last modified time | relevance | path

Searched refs:SlotSpanMetadata (Results 1 – 15 of 15) sorted by relevance

/external/cronet/base/allocator/partition_allocator/
Dpartition_page.h127 struct SlotSpanMetadata { struct
134 SlotSpanMetadata<thread_safe>* next_slot_span = nullptr;
182 explicit SlotSpanMetadata(PartitionBucket<thread_safe>* bucket); argument
211 const SlotSpanMetadata* slot_span);
212 PA_ALWAYS_INLINE static SlotSpanMetadata* FromAddr(uintptr_t address);
213 PA_ALWAYS_INLINE static SlotSpanMetadata* FromSlotStart(uintptr_t slot_start);
214 PA_ALWAYS_INLINE static SlotSpanMetadata* FromObject(void* object);
215 PA_ALWAYS_INLINE static SlotSpanMetadata* FromObjectInnerAddr(
217 PA_ALWAYS_INLINE static SlotSpanMetadata* FromObjectInnerPtr(void* ptr);
292 static const SlotSpanMetadata* get_sentinel_slot_span(); argument
[all …]
Dpartition_page.cc37 SlotSpanMetadata<thread_safe>* slot_span) { in PartitionDirectUnmap()
63 SlotSpanMetadata<thread_safe>::ToSlotSpanStart(slot_span); in PartitionDirectUnmap()
86 PA_ALWAYS_INLINE void SlotSpanMetadata<thread_safe>::RegisterEmpty() { in RegisterEmpty()
104 SlotSpanMetadata<thread_safe>* slot_span_to_decommit = in RegisterEmpty()
141 const SlotSpanMetadata<thread_safe>
142 SlotSpanMetadata<thread_safe>::sentinel_slot_span_;
146 const SlotSpanMetadata<thread_safe>*
147 SlotSpanMetadata<thread_safe>::get_sentinel_slot_span() { in get_sentinel_slot_span()
153 SlotSpanMetadata<thread_safe>*
154 SlotSpanMetadata<thread_safe>::get_sentinel_slot_span_non_const() { in get_sentinel_slot_span_non_const()
[all …]
Dpartition_bucket.h29 bool CompareSlotSpans(SlotSpanMetadata<ThreadSafe>* a,
30 SlotSpanMetadata<ThreadSafe>* b);
36 SlotSpanMetadata<thread_safe>* active_slot_spans_head;
38 SlotSpanMetadata<thread_safe>* empty_slot_spans_head;
39 SlotSpanMetadata<thread_safe>* decommitted_slot_spans_head;
117 PA_DCHECK(ret <= SlotSpanMetadata<thread_safe>::kMaxSlotsPerSlotSpan); in get_slots_per_span()
172 void InitializeSlotSpanForGwpAsan(SlotSpanMetadata<thread_safe>* slot_span);
185 PA_ALWAYS_INLINE SlotSpanMetadata<thread_safe>* AllocNewSlotSpan(
205 SlotSpanMetadata<thread_safe>* slot_span);
223 SlotSpanMetadata<thread_safe>* slot_span)
Dpartition_bucket.cc193 SlotSpanMetadata<thread_safe>* PartitionDirectMap( in PartitionDirectMap()
410 SlotSpanMetadata<thread_safe>(&metadata->bucket); in PartitionDirectMap()
604 SlotSpanMetadata<thread_safe>::get_sentinel_slot_span_non_const(); in Init()
620 PA_ALWAYS_INLINE SlotSpanMetadata<thread_safe>*
672 SlotSpanMetadata<thread_safe>::FromSlotStart(slot_span_start)); in AllocNewSlotSpan()
689 SlotSpanMetadata<ThreadSafe>::kMaxSlotsPerSlotSpan); in AllocNewSlotSpan()
901 SlotSpanMetadata<thread_safe>* slot_span) { in InitializeSlotSpan()
902 new (slot_span) SlotSpanMetadata<thread_safe>(this); in InitializeSlotSpan()
919 SlotSpanMetadata<thread_safe>* slot_span) { in ProvisionMoreSlotsAndAllocOne()
921 SlotSpanMetadata<thread_safe>::get_sentinel_slot_span()); in ProvisionMoreSlotsAndAllocOne()
[all …]
Dpartition_direct_map_extent.h29 SlotSpanMetadata<thread_safe>* slot_span);
49 SlotSpanMetadata<thread_safe>* slot_span);
55 SlotSpanMetadata<thread_safe>* slot_span) { in FromSlotSpan()
67 SlotSpanMetadata<thread_safe>* slot_span) { in FromSlotSpan()
Dpartition_root.cc83 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromSlotStart(slot_start); in IsPtrWithinSameAlloc()
353 internal::SlotSpanMetadata<thread_safe>* slot_span, in PartitionPurgeSlotSpan()
372 internal::SlotSpanMetadata<thread_safe>::ToSlotSpanStart(slot_span); in PartitionPurgeSlotSpan()
408 SlotSpanMetadata<thread_safe>::ToSlotSpanStart(slot_span); in PartitionPurgeSlotSpan()
580 internal::SlotSpanMetadata<thread_safe>::get_sentinel_slot_span()) { in PartitionPurgeBucket()
581 for (internal::SlotSpanMetadata<thread_safe>* slot_span = in PartitionPurgeBucket()
586 internal::SlotSpanMetadata<thread_safe>::get_sentinel_slot_span()); in PartitionPurgeBucket()
595 internal::SlotSpanMetadata<thread_safe>* slot_span) { in PartitionDumpSlotSpanStats()
639 internal::SlotSpanMetadata<thread_safe>::get_sentinel_slot_span() && in PartitionDumpBucketStats()
659 for (internal::SlotSpanMetadata<thread_safe>* slot_span = in PartitionDumpBucketStats()
[all …]
Dpartition_alloc_forward.h40 struct SlotSpanMetadata;
Dpartition_alloc_unittest.cc222 using SlotSpan = SlotSpanMetadata<ThreadSafe>;
484 SlotSpanMetadata<ThreadSafe>::get_sentinel_slot_span()); in CycleFreeCache()
773 EXPECT_EQ(SlotSpanMetadata<ThreadSafe>::get_sentinel_slot_span(), in TEST_P()
880 std::vector<SlotSpanMetadata<ThreadSafe>*> active_slot_spans; in TEST_P()
1151 auto* slot_span = SlotSpanMetadata<internal::ThreadSafe>::FromSlotStart( in TEST_P()
2255 SlotSpanMetadata<internal::ThreadSafe>* slot_span = in TEST_P()
2256 SlotSpanMetadata<internal::ThreadSafe>::FromSlotStart( in TEST_P()
2258 SlotSpanMetadata<internal::ThreadSafe>* slot_span2 = in TEST_P()
2259 SlotSpanMetadata<internal::ThreadSafe>::FromSlotStart( in TEST_P()
2294 EXPECT_EQ(SlotSpanMetadata<internal::ThreadSafe>::get_sentinel_slot_span(), in TEST_P()
[all …]
Dgwp_asan_support.cc101 internal::SlotSpanMetadata<internal::ThreadSafe>::ToSlotSpanStart( in MapRegion()
Dpartition_root.h239 using SlotSpan = internal::SlotSpanMetadata<thread_safe>; in PA_COMPONENT_EXPORT()
888 internal::SlotSpanMetadata<thread_safe>* slot_span, in PA_COMPONENT_EXPORT()
967 SlotSpanMetadata<ThreadSafe>::ToSlotSpanStart(slot_span); in PartitionAllocGetDirectMapSlotStartInBRPPool()
1007 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromAddr(address); in PartitionAllocGetSlotStartInBRPPool()
1014 SlotSpanMetadata<ThreadSafe>::ToSlotSpanStart(slot_span); in PartitionAllocGetSlotStartInBRPPool()
1055 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromSlotStart(slot_start); in PartitionAllocFreeForRefCounting()
Dhardening_unittest.cc106 auto* metadata = SlotSpanMetadata<ThreadSafe>::FromSlotStart(slot_start); in TEST()
DPartitionAlloc.md115 * a [`SlotSpanMetadata`][SlotSpanMetadata] ("v"s in the diagram) or
201 [SlotSpanMetadata]: https://source.chromium.org/chromium/chromium/src/+/main:base/allocator/partiti…
/external/cronet/base/allocator/partition_allocator/starscan/
Dpcscan_internal.cc235 SlotSpanMetadata<ThreadSafe>::ToSlotSpanStart(slot_span); in GetSlotStartInSuperPage()
305 ](SlotSpanMetadata<ThreadSafe>* slot_span) { in IterateNonEmptySlotSpans()
409 using SlotSpan = SlotSpanMetadata<ThreadSafe>; in SuperPageSnapshot()
500 using SlotSpan = SlotSpanMetadata<ThreadSafe>;
942 SlotSpanMetadata<ThreadSafe>* slot_span) { in UnmarkInCardTable()
955 SlotSpanMetadata<ThreadSafe>* slot_span, in FreeAndUnmarkInCardTable()
971 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromSlotStart(slot_start); in SweepSuperPage()
984 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromSlotStart(slot_start); in SweepSuperPageAndDiscardMarkedQuarantine()
1012 using SlotSpan = SlotSpanMetadata<ThreadSafe>; in SweepSuperPageWithBatchedFree()
Dpcscan.h43 using SlotSpan = SlotSpanMetadata<ThreadSafe>; in PA_COMPONENT_EXPORT()
Dpcscan_unittest.cc453 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromObject(source); in TEST_F()
708 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromSlotStart(slot_start); in TEST_F()
814 auto* slot_span = SlotSpanMetadata<ThreadSafe>::FromObject(value); in TEST_F()