Lines Matching refs:TLSData

236 inline TLSData* TLSKey::getThreadMallocTLS() const  in getThreadMallocTLS()
238 return (TLSData *)TlsGetValue_func( TLS_pointer_key ); in getThreadMallocTLS()
241 inline void TLSKey::setThreadMallocTLS( TLSData * newvalue ) { in setThreadMallocTLS()
282 void onThreadShutdown(TLSData *tlsData);
284 inline TLSData *getTLS(bool create);
291 void *getFromLLOCache(TLSData *tls, size_t size, size_t alignment);
292 void putToLLOCache(TLSData *tls, void *object);
335 std::atomic<TLSData*> tlsPtr;
374 void privatizeOrphaned(TLSData *tls, unsigned index);
420 void initEmptyBlock(TLSData *tls, size_t size);
435 inline void markOwned(TLSData *tls) { in markOwned()
446 friend class TLSData;
586 class TLSData : public TLSRemote { class
596TLSData(MemoryPool *mPool, Backend *bknd) : memPool(mPool), freeSlabBlocks(bknd), currCacheIdx(0) … in TLSData() function in rml::internal::TLSData
615 TLSData *TLSKey::createTLS(MemoryPool *memPool, Backend *backend) in createTLS()
617 …MALLOC_ASSERT( sizeof(TLSData) >= sizeof(Bin) * numBlockBins + sizeof(FreeBlockPool), ASSERT_TEXT … in createTLS()
618 TLSData* tls = (TLSData*) memPool->bootStrapBlocks.allocate(memPool, sizeof(TLSData)); in createTLS()
621 new(tls) TLSData(memPool, backend); in createTLS()
632 bool TLSData::cleanupBlockBins() in cleanupBlockBins()
655 if (TLSData *tlsData = tlsPointerKey.getThreadMallocTLS()) in releaseAllLocalCaches()
692 … released |= static_cast<TLSData*>(curr)->externalCleanup(cleanOnlyUnused, /*cleanBins=*/false); in cleanup()
705 static_cast<TLSData*>(curr)->markUnused(); in markUnused()
878 MALLOC_ASSERT( size == sizeof(TLSData), ASSERT_TEXT ); in allocate()
990 TLSData* MemoryPool::getTLS(bool create) in getTLS()
992 TLSData* tls = extMemPool.tlsPointerKey.getThreadMallocTLS(); in getTLS()
1001 inline Bin* TLSData::getAllocationBin(size_t size) in getAllocationBin()
1009 TLSData* tls = getTLS(/*create=*/false); in getEmptyBlock()
1161 void MemoryPool::onThreadShutdown(TLSData *tlsData) in onThreadShutdown()
1438 TLSData* tls = getThreadMallocTLS(); in freePublicObject()
1491 void Block::privatizeOrphaned(TLSData *tls, unsigned index) in privatizeOrphaned()
1576 void Block::initEmptyBlock(TLSData *tls, size_t size) in initEmptyBlock()
1596 Block *OrphanedBlocks::get(TLSData *tls, unsigned int size) in get()
1776 void TLSData::release() in release()
2281 void *MemoryPool::getFromLLOCache(TLSData* tls, size_t size, size_t alignment) in getFromLLOCache()
2341 void MemoryPool::putToLLOCache(TLSData *tls, void *object) in putToLLOCache()
2389 TLSData *tls = memPool->getTLS(/*create=*/true); in allocateAligned()
2559 TLSData *tls = memPool->getTLS(/*create=*/true); in internalPoolMalloc()
2853 void doThreadShutdownNotification(TLSData* tls, bool main_thread) in doThreadShutdownNotification()
2890 doThreadShutdownNotification((TLSData*)arg, false); in mallocThreadShutdownNotification()
2972 TLSData *tls = defaultMemPool->getTLS(/*create=*/false); in __TBB_malloc_safer_free()
3297 if (TLSData *tls = defaultMemPool->getTLS(/*create=*/false)) in scalable_allocation_command()