Searched refs:BatchClassId (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h139 // Drain BatchClassId last as createBatch can refill it.
141 if (I == BatchClassId)
146 while (PerClassArray[BatchClassId].Count > 0)
147 drain(&PerClassArray[BatchClassId], BatchClassId);
152 if (ClassId != BatchClassId)
153 B = allocate(BatchClassId);
155 reportOutOfMemory(SizeClassAllocator::getSizeByClassId(BatchClassId));
160 void *Ptr = allocate(BatchClassId);
162 reportOutOfMemory(SizeClassAllocator::getSizeByClassId(BatchClassId));
170 static const uptr BatchClassId = SizeClassMap::BatchClassId; member in struct:scudo::SizeClassAllocatorLocalCache
[all...]
H A Dsize_class_map.h78 static const uptr BatchClassId = 0; member in class:scudo::FixedSizeClassMap
81 DCHECK_NE(ClassId, BatchClassId);
189 static const uptr BatchClassId = 0;
333 if (I == SCMap::BatchClassId)
353 if (C == SCMap::BatchClassId)
361 if (C - 1 != SCMap::BatchClassId)
371 if (C - 1 != SCMap::BatchClassId)
H A Dprimary64.h56 return (ClassId == SizeClassMap::BatchClassId)
122 if (ClassId == SizeClassMap::BatchClassId) {
125 // BatchClassId. If we are pushing BatchClassId blocks, we will use the
159 if (ClassId != SizeClassMap::BatchClassId)
164 // The BatchClassId must be locked last since other classes can use it.
166 if (static_cast<uptr>(I) == SizeClassMap::BatchClassId)
170 getRegionInfo(SizeClassMap::BatchClassId)->Mutex.lock();
174 getRegionInfo(SizeClassMap::BatchClassId)->Mutex.unlock();
176 if (I == SizeClassMap::BatchClassId)
[all...]
H A Dprimary32.h58 return (ClassId == SizeClassMap::BatchClassId)
142 if (ClassId == SizeClassMap::BatchClassId) {
145 // BatchClassId. If we are pushing BatchClassId blocks, we will use the
179 if (ClassId != SizeClassMap::BatchClassId)
184 // The BatchClassId must be locked last since other classes can use it.
186 if (static_cast<uptr>(I) == SizeClassMap::BatchClassId)
190 getSizeClassInfo(SizeClassMap::BatchClassId)->Mutex.lock();
198 getSizeClassInfo(SizeClassMap::BatchClassId)->Mutex.unlock();
200 if (I == SizeClassMap::BatchClassId)
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dprimary_test.cpp215 Cache.deallocate(Primary::SizeClassMap::BatchClassId, B);

Completed in 70 milliseconds