Lines Matching refs:extMemPool
36 extMemPool = memPool; in init()
75 ExtMemoryPool *const extMemPool; member in rml::internal::CacheBinFunctor
135 CacheBinFunctor(typename LargeObjectCacheImpl<Props>::CacheBin *bin, ExtMemoryPool *extMemPool, in CacheBinFunctor() argument
137 …bin(bin), extMemPool(extMemPool), bitMask(bitMask), idx(idx), toRelease(nullptr), needCleanup(fals… in CacheBinFunctor()
375 uintptr_t startTime = extMemPool->loc.getCurrTimeRange(timeRange); in operator ()()
420 …se = bin->putList(prep.head, prep.tail, bitMask, idx, prep.putListNum, extMemPool->loc.hugeSizeThr… in operator ()()
422 needCleanup = extMemPool->loc.isCleanupNeededOnRange(timeRange, startTime); in operator ()()
447 …CacheBin::ExecuteOperation(CacheBinOperation *op, ExtMemoryPool *extMemPool, BinBitMask *bitMask, … in ExecuteOperation() argument
449 CacheBinFunctor<Props> func( this, extMemPool, bitMask, idx ); in ExecuteOperation()
453 extMemPool->backend.returnLargeObject(toRelease); in ExecuteOperation()
457 extMemPool->loc.doCleanup( func.getCurrTime(), /*doThreshDecr=*/false); in ExecuteOperation()
462 CacheBin::get(ExtMemoryPool *extMemPool, size_t size, BinBitMask *bitMask, int idx) in get() argument
467 ExecuteOperation( &op, extMemPool, bitMask, idx ); in get()
472 … CacheBin::putList(ExtMemoryPool *extMemPool, LargeMemoryBlock *head, BinBitMask *bitMask, int idx) in putList() argument
478 ExecuteOperation( op, extMemPool, bitMask, idx, false ); in putList()
482 …CacheBin::cleanToThreshold(ExtMemoryPool *extMemPool, BinBitMask *bitMask, uintptr_t currTime, int… in cleanToThreshold() argument
492 ExecuteOperation( &op, extMemPool, bitMask, idx ); in cleanToThreshold()
496 Backend *backend = &extMemPool->backend; in cleanToThreshold()
506 CacheBin::releaseAllToBackend(ExtMemoryPool *extMemPool, BinBitMask *bitMask, int idx) in releaseAllToBackend() argument
513 ExecuteOperation(&op, extMemPool, bitMask, idx); in releaseAllToBackend()
517 Backend *backend = &extMemPool->backend; in releaseAllToBackend()
529 CacheBin::updateUsedSize(ExtMemoryPool *extMemPool, size_t size, BinBitMask *bitMask, int idx) in updateUsedSize() argument
533 ExecuteOperation( &op, extMemPool, bitMask, idx ); in updateUsedSize()
704 bool LargeObjectCacheImpl<Props>::regularCleanup(ExtMemoryPool *extMemPool, uintptr_t currTime, boo… in regularCleanup() argument
732 if (bin[i].cleanToThreshold(extMemPool, &bitMask, currTime, i)) { in regularCleanup()
748 bool LargeObjectCacheImpl<Props>::cleanAll(ExtMemoryPool *extMemPool) in cleanAll() argument
752 released |= bin[i].releaseAllToBackend(extMemPool, &bitMask, i); in cleanAll()
806 extMemPool->allLocalCaches.markUnused(); in doCleanup()
808 bool large_cache_cleaned = largeCache.regularCleanup(extMemPool, currTime, doThreshDecr); in doCleanup()
809 bool huge_cache_cleaned = hugeCache.regularCleanup(extMemPool, currTime, doThreshDecr); in doCleanup()
825 bool large_cache_cleaned = largeCache.cleanAll(extMemPool); in cleanAll()
826 bool huge_cache_cleaned = hugeCache.cleanAll(extMemPool); in cleanAll()
851 void LargeObjectCacheImpl<Props>::updateCacheState(ExtMemoryPool *extMemPool, DecreaseOrIncrease op… in updateCacheState() argument
855 bin[idx].updateUsedSize(extMemPool, op==decrease? -size : size, &bitMask, idx); in updateCacheState()
877 void LargeObjectCacheImpl<Props>::putList(ExtMemoryPool *extMemPool, LargeMemoryBlock *toCache) in putList() argument
882 bin[toBinIdx].putList(extMemPool, toCache, &bitMask, toBinIdx); in putList()
888 largeCache.updateCacheState(extMemPool, op, size); in updateCacheState()
890 hugeCache.updateCacheState(extMemPool, op, size); in updateCacheState()
926 extMemPool->backend.returnLargeObject(curr); in putList()
950 largeCache.putList(extMemPool, curr); in putList()
952 hugeCache.putList(extMemPool, curr); in putList()
962 largeCache.putList(extMemPool, largeBlock); in put()
964 hugeCache.putList(extMemPool, largeBlock); in put()
966 extMemPool->backend.returnLargeObject(largeBlock); in put()
975 largeCache.get(extMemPool, size) : hugeCache.get(extMemPool, size); in get()