Lines Matching defs:cacheSet

113 CacheMemory::findTagInSet(int64_t cacheSet, Addr tag) const
119 if (m_cache[cacheSet][it->second]->m_Permission !=
128 CacheMemory::findTagInSetIgnorePermissions(int64_t cacheSet,
168 int64_t cacheSet = addressToCacheSet(address);
169 int loc = findTagInSet(cacheSet, address);
172 AbstractCacheEntry* entry = m_cache[cacheSet][loc];
173 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
195 int64_t cacheSet = addressToCacheSet(address);
196 int loc = findTagInSet(cacheSet, address);
200 AbstractCacheEntry* entry = m_cache[cacheSet][loc];
201 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
204 return m_cache[cacheSet][loc]->m_Permission !=
217 int64_t cacheSet = addressToCacheSet(address);
218 int loc = findTagInSet(cacheSet, address);
237 int64_t cacheSet = addressToCacheSet(address);
240 AbstractCacheEntry* entry = m_cache[cacheSet][i];
263 int64_t cacheSet = addressToCacheSet(address);
264 std::vector<AbstractCacheEntry*> &set = m_cache[cacheSet];
281 entry->setSetIndex(cacheSet);
285 m_replacementPolicy_ptr->touch(cacheSet, i, curTick());
300 int64_t cacheSet = addressToCacheSet(address);
301 int loc = findTagInSet(cacheSet, address);
303 delete m_cache[cacheSet][loc];
304 m_cache[cacheSet][loc] = NULL;
316 int64_t cacheSet = addressToCacheSet(address);
317 return m_cache[cacheSet][m_replacementPolicy_ptr->getVictim(cacheSet)]->
326 int64_t cacheSet = addressToCacheSet(address);
327 int loc = findTagInSet(cacheSet, address);
329 return m_cache[cacheSet][loc];
337 int64_t cacheSet = addressToCacheSet(address);
338 int loc = findTagInSet(cacheSet, address);
340 return m_cache[cacheSet][loc];
347 int64_t cacheSet = addressToCacheSet(address);
348 int loc = findTagInSet(cacheSet, address);
351 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
357 uint32_t cacheSet = e->getSetIndex();
359 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
365 int64_t cacheSet = addressToCacheSet(address);
366 int loc = findTagInSet(cacheSet, address);
371 touch(cacheSet, loc, curTick(), occupancy);
374 touch(cacheSet, loc, curTick());
461 int64_t cacheSet = addressToCacheSet(address);
462 int loc = findTagInSet(cacheSet, address);
464 m_cache[cacheSet][loc]->setLocked(context);
472 int64_t cacheSet = addressToCacheSet(address);
473 int loc = findTagInSet(cacheSet, address);
475 m_cache[cacheSet][loc]->clearLocked();
482 int64_t cacheSet = addressToCacheSet(address);
483 int loc = findTagInSet(cacheSet, address);
486 address, m_cache[cacheSet][loc]->m_locked, context);
487 return m_cache[cacheSet][loc]->isLocked(context);