Searched refs:extMemPool (Results 1 – 8 of 8) sorted by relevance
| /oneTBB/src/tbbmalloc/ |
| H A D | large_objects.cpp | 36 extMemPool = memPool; in init() 75 ExtMemoryPool *const extMemPool; member in rml::internal::CacheBinFunctor 137 …bin(bin), extMemPool(extMemPool), bitMask(bitMask), idx(idx), toRelease(nullptr), needCleanup(fals… in CacheBinFunctor() 467 ExecuteOperation( &op, extMemPool, bitMask, idx ); in get() 496 Backend *backend = &extMemPool->backend; in cleanToThreshold() 517 Backend *backend = &extMemPool->backend; in releaseAllToBackend() 533 ExecuteOperation( &op, extMemPool, bitMask, idx ); in updateUsedSize() 806 extMemPool->allLocalCaches.markUnused(); in doCleanup() 950 largeCache.putList(extMemPool, curr); in putList() 952 hugeCache.putList(extMemPool, curr); in putList() [all …]
|
| H A D | large_objects.h | 184 … void putList(ExtMemoryPool *extMemPool, LargeMemoryBlock *head, BinBitMask *bitMask, int idx); 185 LargeMemoryBlock *get(ExtMemoryPool *extMemPool, size_t size, BinBitMask *bitMask, int idx); 188 …bool cleanToThreshold(ExtMemoryPool *extMemPool, BinBitMask *bitMask, uintptr_t currTime, int idx); 189 bool releaseAllToBackend(ExtMemoryPool *extMemPool, BinBitMask *bitMask, int idx); 192 void updateUsedSize(ExtMemoryPool *extMemPool, size_t size, BinBitMask *bitMask, int idx); 259 void putList(ExtMemoryPool *extMemPool, LargeMemoryBlock *largeBlock); 260 LargeMemoryBlock *get(ExtMemoryPool *extMemPool, size_t size); 263 bool regularCleanup(ExtMemoryPool *extMemPool, uintptr_t currAge, bool doThreshDecr); 264 bool cleanAll(ExtMemoryPool *extMemPool); 267 void updateCacheState(ExtMemoryPool *extMemPool, DecreaseOrIncrease op, size_t size); [all …]
|
| H A D | backend.cpp | 88 if (extMemPool->userPool()) { in allocRawMem() 96 res = (*extMemPool->rawAlloc)(extMemPool->poolId, allocSize); in allocRawMem() 122 if (!extMemPool->userPool()) in allocRawMem() 142 if (extMemPool->userPool()) { in freeRawMem() 144 fail = (*extMemPool->rawFree)(extMemPool->poolId, object, size); in freeRawMem() 753 extMemPool->hardCachesCleanup(true); in releaseCachesToLimit() 868 if (extMemPool->userPool()) in getLargeBlock() 945 if (extMemPool->userPool()) in putLargeBlock() 1349 if (!extMemPool->fixedPool) in addNewRegion() 1358 if (!extMemPool->fixedPool) in addNewRegion() [all …]
|
| H A D | frontend.cpp | 274 ExtMemoryPool extMemPool; member in rml::internal::MemoryPool 994 tls = extMemPool.tlsPointerKey.createTLS(this, &extMemPool.backend); in getTLS() 1022 if (!extMemPool.userPool()) in getEmptyBlock() 1067 if (!extMemPool.userPool()) in returnEmptyBlock() 1119 extMemPool.lmbList.releaseAll</*poolDestroy=*/false>(&extMemPool.backend); in reset() 1120 if (!extMemPool.reset()) in reset() 1123 if (!extMemPool.initTLS()) in reset() 1132 extMemPool.loc.reportStat(stdout); in destroy() 1147 if (extMemPool.userPool()) in destroy() 1148 extMemPool.lmbList.releaseAll</*poolDestroy=*/true>(&extMemPool.backend); in destroy() [all …]
|
| H A D | backend.h | 234 ExtMemoryPool *extMemPool; variable
|
| H A D | tbbmalloc_internal.h | 630 inline bool Backend::inUserPool() const { return extMemPool->userPool(); }
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_whitebox.cpp | 731 return defaultMemPool->extMemPool.backend.getTotalMemSize(); in getMemSize() 1049 defaultMemPool->extMemPool.loc.cleanAll(); in LOCModelTester() 1050 defaultMemPool->extMemPool.loc.reset(); in LOCModelTester() 1066 defaultMemPool->extMemPool.freeLargeObject(lmb); in LOCModelTester() 1144 defaultMemPool->extMemPool.freeLargeObject( in operator ()() 1198 defaultMemPool->extMemPool.loc.cleanAll(); in LOCCollapsingTester() 1199 defaultMemPool->extMemPool.loc.reset(); in LOCCollapsingTester() 1355 defaultMemPool->extMemPool.loc.cleanAll(); in TestReallocDecreasing() 1358 tls->lloc.externalCleanup(&defaultMemPool->extMemPool); in TestReallocDecreasing() 1612 LargeObjectCache* loc = &defaultMemPool->extMemPool.loc; in TestHugeSizeThreshold() [all …]
|
| H A D | test_malloc_overload.cpp | 170 void registerInPool(ExtMemoryPool *extMemPool); 171 void unregisterFromPool(ExtMemoryPool *extMemPool);
|