Home
last modified time | relevance | path

Searched refs:Quarantine (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dquarantine_test.cpp194 QuarantineT Quarantine; in TEST() local
197 Quarantine.init(MaxQuarantineSize, MaxCacheSize); in TEST()
198 EXPECT_EQ(Quarantine.getMaxSize(), MaxQuarantineSize); in TEST()
199 EXPECT_EQ(Quarantine.getCacheSize(), MaxCacheSize); in TEST()
207 Quarantine.put(&Cache, Cb, FakePtr, LargeBlockSize); in TEST()
214 Quarantine.drainAndRecycle(&Cache, Cb); in TEST()
218 Quarantine.getStats(&Str); in TEST()
224 QuarantineT *Quarantine; member
232 P->Quarantine->put(&P->Cache, Cb, FakePtr, LargeBlockSize); in populateQuarantine()
237 QuarantineT Quarantine; in TEST() local
[all …]
/external/scudo/standalone/tests/
Dquarantine_test.cpp194 QuarantineT Quarantine; in TEST() local
197 Quarantine.init(MaxQuarantineSize, MaxCacheSize); in TEST()
198 EXPECT_EQ(Quarantine.getMaxSize(), MaxQuarantineSize); in TEST()
199 EXPECT_EQ(Quarantine.getCacheSize(), MaxCacheSize); in TEST()
207 Quarantine.put(&Cache, Cb, FakePtr, LargeBlockSize); in TEST()
214 Quarantine.drainAndRecycle(&Cache, Cb); in TEST()
218 Quarantine.getStats(&Str); in TEST()
224 QuarantineT *Quarantine; member
232 P->Quarantine->put(&P->Cache, Cb, FakePtr, LargeBlockSize); in populateQuarantine()
237 QuarantineT Quarantine; in TEST() local
[all …]
/external/scudo/standalone/
Dsecondary.h177 if (!Quarantine[QuarantinePos].CommitBase) { in store()
178 Quarantine[QuarantinePos] = Entry; in store()
181 CachedBlock PrevEntry = Quarantine[QuarantinePos]; in store()
182 Quarantine[QuarantinePos] = Entry; in store()
306 if (Quarantine[I].CommitBase) { in disableMemoryTagging()
307 unmap(reinterpret_cast<void *>(Quarantine[I].MapBase), in disableMemoryTagging()
308 Quarantine[I].MapSize, UNMAP_ALL, &Quarantine[I].Data); in disableMemoryTagging()
309 Quarantine[I].CommitBase = 0; in disableMemoryTagging()
379 releaseIfOlderThan(Quarantine[I], Time); in releaseOlderThan()
394 CachedBlock Quarantine[Config::SecondaryCacheQuarantineSize] = {}; variable
Dcombined.h174 Quarantine.init( in initLinkerInitialized()
238 Quarantine.drain(&TSD->QuarantineCache, in commitBack()
678 Quarantine.disable(); in disable()
687 Quarantine.enable(); in enable()
986 QuarantineT Quarantine; variable
1077 const bool BypassQuarantine = !Quarantine.getCacheSize() || in quarantineOrDeallocateChunk()
1125 Quarantine.put(&TSD->QuarantineCache, in quarantineOrDeallocateChunk()
1424 Quarantine.getStats(Str); in getStats()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp214 typedef Quarantine<QuarantineCallback, void> QuarantineT;
232 QuarantineT Quarantine; member
247 : Quarantine(LINKER_INITIALIZED) {} in Allocator()
269 Quarantine.Init( in init()
272 QuarantineChunksUpToSize = (Quarantine.GetCacheSize() == 0) ? 0 : in init()
434 Quarantine.Put(getQuarantineCache(TSD), QuarantineCallback(&TSD->Cache), in quarantineOrDeallocateChunk()
571 Quarantine.Drain(getQuarantineCache(TSD), QuarantineCallback(&TSD->Cache)); in commitBack()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h43 class Quarantine {
47 explicit Quarantine(LinkerInitialized) in Quarantine() function
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dcombined.h168 Quarantine.init( in initLinkerInitialized()
231 Quarantine.drain(&TSD->QuarantineCache, in commitBack()
626 Quarantine.disable(); in disable()
635 Quarantine.enable(); in enable()
974 QuarantineT Quarantine; variable
1057 !Quarantine.getCacheSize() | !Size | (Size > QuarantineMaxChunkSize); in quarantineOrDeallocateChunk()
1077 Quarantine.put(&TSD->QuarantineCache, in quarantineOrDeallocateChunk()
1123 Quarantine.getStats(Str); in getStats()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h76 class Quarantine {
80 explicit Quarantine(LinkerInitialized) in Quarantine() function
/external/llvm/docs/
DScudoHardenedAllocator.rst64 This feature is using the Sanitizer's Quarantine as its base, and the amount of
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp242 typedef Quarantine<QuarantineCallback, ScudoChunk> ScudoQuarantine;
/external/llvm-project/llvm/docs/
DScudoHardenedAllocator.rst83 This feature is using the Sanitizer's Quarantine as its base, and the amount of
/external/compiler-rt/lib/asan/
Dasan_allocator.cc173 typedef Quarantine<QuarantineCallback, AsanChunk> AsanQuarantine;
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp243 typedef Quarantine<QuarantineCallback, AsanChunk> AsanQuarantine;