Lines Matching refs:Eviction
81 Eviction::Eviction() = default;
83 Eviction::~Eviction() = default;
85 void Eviction::Init(BackendImpl* backend) { in Init()
102 void Eviction::Stop() { in Stop()
115 void Eviction::TrimCache(bool empty) { in TrimCache()
152 FROM_HERE, base::BindOnce(&Eviction::TrimCache, in TrimCache()
169 void Eviction::UpdateRank(EntryImpl* entry, bool modified) { in UpdateRank()
176 void Eviction::OnOpenEntry(EntryImpl* entry) { in OnOpenEntry()
181 void Eviction::OnCreateEntry(EntryImpl* entry) { in OnCreateEntry()
188 void Eviction::OnDoomEntry(EntryImpl* entry) { in OnDoomEntry()
198 void Eviction::OnDestroyEntry(EntryImpl* entry) { in OnDestroyEntry()
203 void Eviction::SetTestMode() { in SetTestMode()
207 void Eviction::TrimDeletedList(bool empty) { in TrimDeletedList()
214 void Eviction::PostDelayedTrim() { in PostDelayedTrim()
222 base::BindOnce(&Eviction::DelayedTrim, ptr_factory_.GetWeakPtr()), in PostDelayedTrim()
226 void Eviction::DelayedTrim() { in DelayedTrim()
234 bool Eviction::ShouldTrim() { in ShouldTrim()
244 bool Eviction::ShouldTrimDeleted() { in ShouldTrimDeleted()
255 void Eviction::ReportTrimTimes(EntryImpl* entry) { in ReportTrimTimes()
281 Rankings::List Eviction::GetListForEntry(EntryImpl* entry) { in GetListForEntry()
285 bool Eviction::EvictEntry(CacheRankingsBlock* node, bool empty, in EvictEntry()
312 void Eviction::TrimCacheV2(bool empty) { in TrimCacheV2()
368 FROM_HERE, base::BindOnce(&Eviction::TrimCache, in TrimCacheV2()
381 FROM_HERE, base::BindOnce(&Eviction::TrimDeleted, in TrimCacheV2()
396 void Eviction::UpdateRankV2(EntryImpl* entry, bool modified) { in UpdateRankV2()
400 void Eviction::OnOpenEntryV2(EntryImpl* entry) { in OnOpenEntryV2()
421 void Eviction::OnCreateEntryV2(EntryImpl* entry) { in OnCreateEntryV2()
450 void Eviction::OnDoomEntryV2(EntryImpl* entry) { in OnDoomEntryV2()
468 void Eviction::OnDestroyEntryV2(EntryImpl* entry) { in OnDestroyEntryV2()
475 Rankings::List Eviction::GetListForEntryV2(EntryImpl* entry) { in GetListForEntryV2()
490 void Eviction::TrimDeleted(bool empty) { in TrimDeleted()
514 FROM_HERE, base::BindOnce(&Eviction::TrimDeleted, in TrimDeleted()
523 bool Eviction::RemoveDeletedNode(CacheRankingsBlock* node) { in RemoveDeletedNode()
535 bool Eviction::NodeIsOldEnough(CacheRankingsBlock* node, int list) { in NodeIsOldEnough()
547 int Eviction::SelectListByLength(Rankings::ScopedRankingsBlock* next) { in SelectListByLength()
567 void Eviction::ReportListStats() { in ReportListStats()