Lines Matching defs:loc

169     int loc = findTagInSet(cacheSet, address);
170 if (loc != -1) {
172 AbstractCacheEntry* entry = m_cache[cacheSet][loc];
173 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
196 int loc = findTagInSet(cacheSet, address);
198 if (loc != -1) {
200 AbstractCacheEntry* entry = m_cache[cacheSet][loc];
201 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
204 return m_cache[cacheSet][loc]->m_Permission !=
218 int loc = findTagInSet(cacheSet, address);
220 if (loc == -1) {
301 int loc = findTagInSet(cacheSet, address);
302 if (loc != -1) {
303 delete m_cache[cacheSet][loc];
304 m_cache[cacheSet][loc] = NULL;
327 int loc = findTagInSet(cacheSet, address);
328 if (loc == -1) return NULL;
329 return m_cache[cacheSet][loc];
338 int loc = findTagInSet(cacheSet, address);
339 if (loc == -1) return NULL;
340 return m_cache[cacheSet][loc];
348 int loc = findTagInSet(cacheSet, address);
350 if (loc != -1)
351 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
358 uint32_t loc = e->getWayIndex();
359 m_replacementPolicy_ptr->touch(cacheSet, loc, curTick());
366 int loc = findTagInSet(cacheSet, address);
368 if (loc != -1) {
371 touch(cacheSet, loc, curTick(), occupancy);
374 touch(cacheSet, loc, curTick());
380 CacheMemory::getReplacementWeight(int64_t set, int64_t loc)
383 assert(loc < m_cache_assoc);
385 if (m_cache[set][loc] != NULL) {
386 ret = m_cache[set][loc]->getNumValidBlocks();
462 int loc = findTagInSet(cacheSet, address);
463 assert(loc != -1);
464 m_cache[cacheSet][loc]->setLocked(context);
473 int loc = findTagInSet(cacheSet, address);
474 assert(loc != -1);
475 m_cache[cacheSet][loc]->clearLocked();
483 int loc = findTagInSet(cacheSet, address);
484 assert(loc != -1);
486 address, m_cache[cacheSet][loc]->m_locked, context);
487 return m_cache[cacheSet][loc]->isLocked(context);
646 CacheMemory::isBlockInvalid(int64_t cache_set, int64_t loc)
648 return (m_cache[cache_set][loc]->m_Permission == AccessPermission_Invalid);
652 CacheMemory::isBlockNotBusy(int64_t cache_set, int64_t loc)
654 return (m_cache[cache_set][loc]->m_Permission != AccessPermission_Busy);