Lines Matching refs:TSD
57 ALWAYS_INLINE TSD<Allocator> *getTSDAndLock(bool *UnlockRequired) { in getTSDAndLock()
58 TSD<Allocator> *TSD = getCurrentTSD(); in getTSDAndLock() local
59 DCHECK(TSD); in getTSDAndLock()
62 if (TSD->tryLock()) in getTSDAndLock()
63 return TSD; in getTSDAndLock()
68 TSD->lock(); in getTSDAndLock()
69 return TSD; in getTSDAndLock()
71 return getTSDAndLockSlow(TSD); in getTSDAndLock()
107 static_assert(alignof(TSD<Allocator>) >= 2, "");
109 ALWAYS_INLINE void setCurrentTSD(TSD<Allocator> *CurrentTSD) { in setCurrentTSD()
114 ALWAYS_INLINE TSD<Allocator> *getCurrentTSD() { in getCurrentTSD()
115 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];