Home
last modified time | relevance | path

Searched refs:UnlockRequired (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dtsd_test.cpp102 bool UnlockRequired; in testRegistry() local
103 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in testRegistry()
106 if (UnlockRequired) in testRegistry()
110 TSD = Registry->getTSDAndLock(&UnlockRequired); in testRegistry()
114 if (UnlockRequired) in testRegistry()
138 bool UnlockRequired; in stressCache() local
139 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in stressCache()
143 if (!UnlockRequired) in stressCache()
152 if (UnlockRequired) in stressCache()
195 bool UnlockRequired; in stressSharedRegistry() local
[all …]
H A Dcombined_test.cpp447 bool UnlockRequired; in SCUDO_TYPED_TEST() local
448 auto *TSD = Allocator->getTSDRegistry()->getTSDAndLock(&UnlockRequired); in SCUDO_TYPED_TEST()
452 if (UnlockRequired) in SCUDO_TYPED_TEST()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_tsd_exclusive.inc37 getTSDAndLock(bool *UnlockRequired) SANITIZER_NO_THREAD_SAFETY_ANALYSIS {
40 *UnlockRequired = true;
43 *UnlockRequired = false;
H A Dscudo_allocator.cpp351 bool UnlockRequired; in allocate() local
352 ScudoTSD *TSD = getTSDAndLock(&UnlockRequired); in allocate()
354 if (UnlockRequired) in allocate()
417 bool UnlockRequired; in quarantineOrDeallocateChunk() local
418 ScudoTSD *TSD = getTSDAndLock(&UnlockRequired); in quarantineOrDeallocateChunk()
421 if (UnlockRequired) in quarantineOrDeallocateChunk()
436 bool UnlockRequired; in quarantineOrDeallocateChunk() local
437 ScudoTSD *TSD = getTSDAndLock(&UnlockRequired); in quarantineOrDeallocateChunk()
440 if (UnlockRequired) in quarantineOrDeallocateChunk()
H A Dscudo_tsd_shared.inc45 getTSDAndLock(bool *UnlockRequired) SANITIZER_NO_THREAD_SAFETY_ANALYSIS {
48 *UnlockRequired = true;
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h65 ALWAYS_INLINE TSD<Allocator> *getTSDAndLock(bool *UnlockRequired) { in getTSDAndLock()
68 *UnlockRequired = false; in getTSDAndLock()
72 *UnlockRequired = true; in getTSDAndLock()
H A Dtsd_shared.h61 ALWAYS_INLINE TSD<Allocator> *getTSDAndLock(bool *UnlockRequired) { in getTSDAndLock()
64 *UnlockRequired = true; in getTSDAndLock()
H A Dcombined.h355 bool UnlockRequired; variable
356 auto *TSD = TSDRegistry.getTSDAndLock(&UnlockRequired);
368 if (UnlockRequired)
1119 bool UnlockRequired; in quarantineOrDeallocateChunk() local
1120 auto *TSD = TSDRegistry.getTSDAndLock(&UnlockRequired); in quarantineOrDeallocateChunk()
1122 if (UnlockRequired) in quarantineOrDeallocateChunk()
1131 bool UnlockRequired; in quarantineOrDeallocateChunk() local
1132 auto *TSD = TSDRegistry.getTSDAndLock(&UnlockRequired); in quarantineOrDeallocateChunk()
1135 if (UnlockRequired) in quarantineOrDeallocateChunk()