Home
last modified time | relevance | path

Searched refs:cacheUnitInfo_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/
H A Dcache_manager.cpp52 auto ret = memset_s(cacheUnitInfo_, sizeof(CacheMemInfo) * USER_MAX_COUNT, in ResetDistributedInfo()
139 cacheUnitInfo_[configTable_[index].cacheUser_].cacheStartAddr = startPos; in DistributeCacheRange()
140 cacheUnitInfo_[configTable_[index].cacheUser_].cacheLength = requestBytes; in DistributeCacheRange()
155 return ((user < USER_MAX_COUNT) && (cacheUnitInfo_[user].cacheStartAddr != 0)); in IsEnvReady()
163 return cacheUnitInfo_[user].cacheStartAddr + MAGIC_NUMBER_LENGTH; in GetCacheBufAddress()
171 return cacheUnitInfo_[user].cacheLength - MAGIC_NUMBER_TOTAL_LENGTH_FOR_EACH; in GetCacheBufLength()
180 uint32_t *bufferHead = reinterpret_cast<uint32_t *>(cacheUnitInfo_[user].cacheStartAddr); in IsCacheOverflow()
182 uint32_t *bufferTail = reinterpret_cast<uint32_t *>(cacheUnitInfo_[user].cacheStartAddr + in IsCacheOverflow()
183cacheUnitInfo_[user].cacheLength - MAGIC_NUMBER_LENGTH); in IsCacheOverflow()
H A Dcache_manager.h86 CacheMemInfo cacheUnitInfo_[USER_MAX_COUNT]; // count in bytes variable