• Home
  • Raw
  • Download

Lines Matching refs:rankings_

89   rankings_ = &backend->rankings_;  in Init()
128 Rankings::ScopedRankingsBlock node(rankings_); in TrimCache()
130 rankings_, rankings_->GetPrev(node.get(), Rankings::NO_USE)); in TrimCache()
138 next.reset(rankings_->GetPrev(node.get(), Rankings::NO_USE)); in TrimCache()
142 rankings_->TrackRankingsBlock(node.get(), false); in TrimCache()
173 rankings_->UpdateRank(entry->rankings(), modified, GetListForEntry(entry)); in UpdateRank()
185 rankings_->Insert(entry->rankings(), true, GetListForEntry(entry)); in OnCreateEntry()
195 rankings_->Remove(entry->rankings(), GetListForEntry(entry), true); in OnDoomEntry()
299 rankings_->Remove(entry->rankings(), GetListForEntryV2(entry.get()), true); in EvictEntry()
302 rankings_->Insert(entry->rankings(), true, Rankings::DELETED); in EvictEntry()
325 next[i].set_rankings(rankings_); in TrimCacheV2()
328 next[i].reset(rankings_->GetPrev(nullptr, static_cast<Rankings::List>(i))); in TrimCacheV2()
342 Rankings::ScopedRankingsBlock node(rankings_); in TrimCacheV2()
353 next[list].reset(rankings_->GetPrev(node.get(), in TrimCacheV2()
358 rankings_->TrackRankingsBlock(node.get(), false); in TrimCacheV2()
397 rankings_->UpdateRank(entry->rankings(), modified, GetListForEntryV2(entry)); in UpdateRankV2()
410 rankings_->Remove(entry->rankings(), Rankings::NO_USE, true); in OnOpenEntryV2()
411 rankings_->Insert(entry->rankings(), false, Rankings::LOW_USE); in OnOpenEntryV2()
414 rankings_->Remove(entry->rankings(), Rankings::LOW_USE, true); in OnOpenEntryV2()
415 rankings_->Insert(entry->rankings(), false, Rankings::HIGH_USE); in OnOpenEntryV2()
440 rankings_->Remove(entry->rankings(), Rankings::DELETED, true); in OnCreateEntryV2()
447 rankings_->Insert(entry->rankings(), true, GetListForEntryV2(entry)); in OnCreateEntryV2()
461 rankings_->Remove(entry->rankings(), GetListForEntryV2(entry), true); in OnDoomEntryV2()
465 rankings_->Insert(entry->rankings(), true, Rankings::DELETED); in OnDoomEntryV2()
472 rankings_->Remove(entry->rankings(), Rankings::DELETED, true); in OnDestroyEntryV2()
497 Rankings::ScopedRankingsBlock node(rankings_); in TrimDeleted()
499 rankings_, rankings_->GetPrev(node.get(), Rankings::DELETED)); in TrimDeleted()
505 next.reset(rankings_->GetPrev(node.get(), Rankings::DELETED)); in TrimDeleted()
572 rankings_, rankings_->GetPrev(nullptr, Rankings::NO_USE)); in ReportListStats()
574 rankings_, rankings_->GetPrev(nullptr, Rankings::LOW_USE)); in ReportListStats()
576 rankings_, rankings_->GetPrev(nullptr, Rankings::HIGH_USE)); in ReportListStats()
578 rankings_, rankings_->GetPrev(nullptr, Rankings::DELETED)); in ReportListStats()