Lines Matching defs:TSD
265 // Release the resources used by a TSD, which involves:
270 void commitBack(TSD<ThisT> *TSD) {
271 TSD->assertLocked(/*BypassCheck=*/true);
272 Quarantine.drain(&TSD->getQuarantineCache(),
273 QuarantineCallback(*this, TSD->getCache()));
274 TSD->getCache().destroy(&Stats);
277 void drainCache(TSD<ThisT> *TSD) {
278 TSD->assertLocked(/*BypassCheck=*/true);
279 Quarantine.drainAndRecycle(&TSD->getQuarantineCache(),
280 QuarantineCallback(*this, TSD->getCache()));
281 TSD->getCache().drain();
389 typename TSDRegistryT::ScopedTSD TSD(TSDRegistry);
390 Block = TSD->getCache().allocate(ClassId);
396 Block = TSD->getCache().allocate(++ClassId);
1272 typename TSDRegistryT::ScopedTSD TSD(TSDRegistry);
1273 CacheDrained = TSD->getCache().deallocate(ClassId, BlockBegin);
1275 // When we have drained some blocks back to the Primary from TSD, that
1277 // Note that in order not to block other thread's accessing the TSD,
1278 // release the TSD first then try the page release.
1285 typename TSDRegistryT::ScopedTSD TSD(TSDRegistry);
1286 Quarantine.put(&TSD->getQuarantineCache(),
1287 QuarantineCallback(*this, TSD->getCache()), Ptr, Size);