Searched refs:TSD (Results 1 - 12 of 12) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_tsd_shared.inc | 9 /// Scudo shared TSD fastpath functions implementation. 42 ScudoTSD *getTSDAndLockSlow(ScudoTSD *TSD); 45 ScudoTSD *TSD = getCurrentTSD(); 46 DCHECK(TSD && "No TSD associated with the current thread!"); 49 if (TSD->tryLock()) 50 return TSD; 52 return getTSDAndLockSlow(TSD);
|
H A D | scudo_tsd_exclusive.inc | 9 /// Scudo exclusive TSD fastpath functions implementation. 27 extern THREADLOCAL ScudoTSD TSD; 44 return &TSD;
|
H A D | scudo_tsd_exclusive.cpp | 9 /// Scudo exclusive TSD implementation. 25 THREADLOCAL ScudoTSD TSD; member in namespace:__scudo 27 // Fallback TSD for when the thread isn't initialized yet or is torn down. It 44 TSD.commitBack(); 61 TSD.init();
|
H A D | scudo_tsd_shared.cpp | 9 /// Scudo shared TSD implementation. 50 ALWAYS_INLINE void setCurrentTSD(ScudoTSD *TSD) { argument 52 *get_android_tls_ptr() = reinterpret_cast<uptr>(TSD); 54 CurrentTSD = TSD; 56 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>(TSD)), 0); 67 ScudoTSD *getTSDAndLockSlow(ScudoTSD *TSD) { argument 69 // Use the Precedence of the current TSD as our random seed. Since we are in 72 u32 RandState = static_cast<u32>(TSD->getPrecedence()); 85 // A 0 precedence here means another thread just locked this TSD. 101 TSD [all...] |
H A D | scudo_allocator.cpp | 218 QuarantineCacheT *getQuarantineCache(ScudoTSD *TSD) { argument 219 return reinterpret_cast<QuarantineCacheT *>(TSD->QuarantineCachePlaceHolder); 347 ScudoTSD *TSD = getTSDAndLock(&UnlockRequired); local 348 BackendPtr = Backend.allocatePrimary(&TSD->Cache, ClassId); 350 TSD->unlock(); 413 ScudoTSD *TSD = getTSDAndLock(&UnlockRequired); local 414 getBackend().deallocatePrimary(&TSD->Cache, BackendPtr, 417 TSD->unlock(); 432 ScudoTSD *TSD = getTSDAndLock(&UnlockRequired); local 433 Quarantine.Put(getQuarantineCache(TSD), QuarantineCallbac 569 commitBack(ScudoTSD *TSD) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | tsd_shared.h | 61 ALWAYS_INLINE TSD<Allocator> *getTSDAndLock(bool *UnlockRequired) { 62 TSD<Allocator> *TSD = getCurrentTSD(); local 63 DCHECK(TSD); 66 if (TSD->tryLock()) 67 return TSD; 69 return getTSDAndLockSlow(TSD); 85 ALWAYS_INLINE void setCurrentTSD(TSD<Allocator> *CurrentTSD) { 97 ALWAYS_INLINE TSD<Allocator> *getCurrentTSD() { 99 return reinterpret_cast<TSD<Allocato [all...] |
H A D | tsd_exclusive.h | 44 ALWAYS_INLINE TSD<Allocator> *getTSDAndLock(bool *UnlockRequired) { 55 // To disable the exclusive TSD registry, we effectively lock the fallback TSD 94 TSD<Allocator> FallbackTSD; 97 static THREADLOCAL TSD<Allocator> ThreadTSD; 103 THREADLOCAL TSD<Allocator> TSDRegistryExT<Allocator>::ThreadTSD;
|
H A D | tsd.h | 26 template <class Allocator> struct alignas(SCUDO_CACHE_LINE_SIZE) TSD {
|
H A D | combined.h | 218 // Release the resources used by a TSD, which involves: 223 void commitBack(TSD<ThisT> *TSD) { argument 224 Quarantine.drain(&TSD->QuarantineCache, 225 QuarantineCallback(*this, TSD->Cache)); 226 TSD->Cache.destroy(&Stats); 298 auto *TSD = TSDRegistry.getTSDAndLock(&UnlockRequired); local 299 Block = TSD->Cache.allocate(ClassId); 306 Block = TSD->Cache.allocate(++ClassId); 316 TSD 1008 auto *TSD = TSDRegistry.getTSDAndLock(&UnlockRequired); local 1019 auto *TSD = TSDRegistry.getTSDAndLock(&UnlockRequired); local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/XRay/ |
H A D | Profile.cpp | 339 auto &TSD = ThreadStacks[E.TId]; local 345 TSD.push_back({E.TSC, E.FuncId}); 355 while (!TSD.empty()) { 356 auto Top = TSD.back(); 359 transform(reverse(TSD), std::back_inserter(Path), 365 TSD.pop_back();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 318 if (auto *TSD = dyn_cast<ClassTemplateSpecializationDecl>(RD)) { 322 SourceLocation ILoc = TSD->getPointOfInstantiation();
|
/freebsd-13-stable/sys/contrib/edk2/Include/Library/ |
H A D | BaseLib.h | 5319 UINT32 TSD:1; ///< Time Stamp Disable. member in struct:__anon9450::__anon9451
|
Completed in 124 milliseconds