Lines Matching refs:Rankings
193 Rankings::Iterator::Iterator(Rankings* rankings) { in Iterator()
198 Rankings::Iterator::~Iterator() { in ~Iterator()
203 Rankings::Rankings() : init_(false) {} in Rankings() function in disk_cache::Rankings
205 Rankings::~Rankings() {} in ~Rankings()
207 bool Rankings::Init(BackendImpl* backend, bool count_lists) { in Init()
226 void Rankings::Reset() { in Reset()
235 void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) { in Insert()
305 void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) { in Remove()
386 void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) { in UpdateRank()
400 CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) { in GetNext()
433 CacheRankingsBlock* Rankings::GetPrev(CacheRankingsBlock* node, List list) { in GetPrev()
466 void Rankings::FreeRankingsBlock(CacheRankingsBlock* node) { in FreeRankingsBlock()
470 void Rankings::TrackRankingsBlock(CacheRankingsBlock* node, in TrackRankingsBlock()
483 int Rankings::SelfCheck() { in SelfCheck()
494 bool Rankings::SanityCheck(CacheRankingsBlock* node, bool from_list) const { in SanityCheck()
523 bool Rankings::DataSanityCheck(CacheRankingsBlock* node, bool from_list) const { in DataSanityCheck()
535 void Rankings::SetContents(CacheRankingsBlock* node, CacheAddr address) { in SetContents()
540 void Rankings::ReadHeads() { in ReadHeads()
545 void Rankings::ReadTails() { in ReadTails()
550 void Rankings::WriteHead(List list) { in WriteHead()
554 void Rankings::WriteTail(List list) { in WriteTail()
558 bool Rankings::GetRanking(CacheRankingsBlock* rankings) { in GetRanking()
597 void Rankings::ConvertToLongLived(CacheRankingsBlock* rankings) { in ConvertToLongLived()
610 void Rankings::CompleteTransaction() { in CompleteTransaction()
645 void Rankings::FinishInsert(CacheRankingsBlock* node) { in FinishInsert()
663 void Rankings::RevertRemove(CacheRankingsBlock* node) { in RevertRemove()
720 bool Rankings::CheckEntry(CacheRankingsBlock* rankings) { in CheckEntry()
728 bool Rankings::CheckLinks(CacheRankingsBlock* node, CacheRankingsBlock* prev, in CheckLinks()
767 bool Rankings::CheckSingleLink(CacheRankingsBlock* prev, in CheckSingleLink()
780 int Rankings::CheckList(List list) { in CheckList()
821 bool Rankings::IsHead(CacheAddr addr, List* list) const { in IsHead()
833 bool Rankings::IsTail(CacheAddr addr, List* list) const { in IsTail()
848 void Rankings::UpdateIterators(CacheRankingsBlock* node) { in UpdateIterators()
859 void Rankings::InvalidateIterators(CacheRankingsBlock* node) { in InvalidateIterators()
874 void Rankings::IncrementCounter(List list) { in IncrementCounter()
883 void Rankings::DecrementCounter(List list) { in DecrementCounter()