Lines Matching refs:TSD
50 ALWAYS_INLINE TSD<Allocator> *getTSDAndLock(bool *UnlockRequired) { in getTSDAndLock()
51 TSD<Allocator> *TSD = getCurrentTSD(); in getTSDAndLock() local
52 DCHECK(TSD); in getTSDAndLock()
55 if (TSD->tryLock()) in getTSDAndLock()
56 return TSD; in getTSDAndLock()
61 TSD->lock(); in getTSDAndLock()
62 return TSD; in getTSDAndLock()
64 return getTSDAndLockSlow(TSD); in getTSDAndLock()
100 static_assert(alignof(TSD<Allocator>) >= 2, "");
102 ALWAYS_INLINE void setCurrentTSD(TSD<Allocator> *CurrentTSD) { in setCurrentTSD()
107 ALWAYS_INLINE TSD<Allocator> *getCurrentTSD() { in getCurrentTSD()
108 return reinterpret_cast<TSD<Allocator> *>(*getTlsPtr() & ~1ULL); in getCurrentTSD()
157 NOINLINE TSD<Allocator> *getTSDAndLockSlow(TSD<Allocator> *CurrentTSD) { in getTSDAndLockSlow()
172 TSD<Allocator> *CandidateTSD = nullptr; in getTSDAndLockSlow()
207 TSD<Allocator> TSDs[TSDsArraySize];