Lines Matching refs:bitMask
76 typename LargeObjectCacheImpl<Props>::BinBitMask *const bitMask; member in rml::internal::CacheBinFunctor
136 typename LargeObjectCacheImpl<Props>::BinBitMask *bitMask, int idx) : in CacheBinFunctor() argument
137 …bin(bin), extMemPool(extMemPool), bitMask(bitMask), idx(idx), toRelease(nullptr), needCleanup(fals… in CacheBinFunctor()
404 bin->updateUsedSize( opGetData.size, bitMask, idx ); in operator ()()
420 …toRelease = bin->putList(prep.head, prep.tail, bitMask, idx, prep.putListNum, extMemPool->loc.huge… in operator ()()
428 *opCast<OpCleanAll>(*opClean).res = bin->cleanAll(bitMask, idx); in operator ()()
430 … *opCast<OpCleanToThreshold>(*opClean).res = bin->cleanToThreshold(prep.cleanTime, bitMask, idx); in operator ()()
442 bin->updateUsedSize(size, bitMask, idx); in operator ()()
447 …eOperation(CacheBinOperation *op, ExtMemoryPool *extMemPool, BinBitMask *bitMask, int idx, bool lo… in ExecuteOperation() argument
449 CacheBinFunctor<Props> func( this, extMemPool, bitMask, idx ); 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()
506 CacheBin::releaseAllToBackend(ExtMemoryPool *extMemPool, BinBitMask *bitMask, int idx) in releaseAllToBackend() argument
513 ExecuteOperation(&op, extMemPool, bitMask, idx); 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()
539 …CacheBin::putList(LargeMemoryBlock *head, LargeMemoryBlock *tail, BinBitMask *bitMask, int idx, in… in putList() argument
578 bitMask->set(idx, false); in putList()
626 CacheBin::cleanToThreshold(uintptr_t currTime, BinBitMask *bitMask, int idx) in cleanToThreshold() argument
659 bitMask->set(idx, false); in cleanToThreshold()
668 CacheBin::cleanAll(BinBitMask *bitMask, int idx) in cleanAll() argument
678 bitMask->set(idx, false); in cleanAll()
715 for (int i = bitMask.getMaxTrue(startSearchIdx); i >= 0; i = bitMask.getMaxTrue(i-1)) { in regularCleanup()
724 i = bitMask.getMaxTrue(startSearchIdx)+1; in regularCleanup()
732 if (bin[i].cleanToThreshold(extMemPool, &bitMask, currTime, i)) { in regularCleanup()
752 released |= bin[i].releaseAllToBackend(extMemPool, &bitMask, i); in cleanAll()
762 bitMask.reset(); in reset()
841 LargeMemoryBlock *lmb = bin[idx].get(extMemoryPool, size, &bitMask, idx); in get()
855 bin[idx].updateUsedSize(extMemPool, op==decrease? -size : size, &bitMask, idx); in updateCacheState()
882 bin[toBinIdx].putList(extMemPool, toCache, &bitMask, toBinIdx); in putList()