Searched refs:rankings_ (Results 1 – 7 of 7) sorted by relevance
/external/chromium/net/disk_cache/ |
D | eviction.cc | 63 rankings_ = &backend->rankings_; in Init() 85 Rankings::ScopedRankingsBlock node(rankings_); in TrimCache() 86 Rankings::ScopedRankingsBlock next(rankings_, in TrimCache() 87 rankings_->GetPrev(node.get(), Rankings::NO_USE)); in TrimCache() 94 next.reset(rankings_->GetPrev(node.get(), Rankings::NO_USE)); in TrimCache() 98 rankings_->TrackRankingsBlock(node.get(), false); in TrimCache() 124 rankings_->UpdateRank(entry->rankings(), modified, GetListForEntry(entry)); in UpdateRank() 136 rankings_->Insert(entry->rankings(), true, GetListForEntry(entry)); in OnCreateEntry() 143 rankings_->Remove(entry->rankings(), GetListForEntry(entry)); in OnDoomEntry() 212 rankings_->Remove(entry->rankings(), GetListForEntryV2(entry)); in EvictEntry() [all …]
|
D | mem_backend_impl.cc | 122 rankings_.Insert(cache_entry); in CreateEntry() 159 rankings_.Remove(entry); in InternalDoomEntry() 188 MemEntryImpl* next = rankings_.GetNext(NULL); in DoomEntriesBetween() 195 next = rankings_.GetNext(next); in DoomEntriesBetween() 219 Entry* entry = rankings_.GetNext(NULL); in DoomEntriesSince() 238 MemEntryImpl* node = rankings_.GetNext(current); in OpenNextEntry() 242 node = rankings_.GetNext(node); in OpenNextEntry() 266 MemEntryImpl* next = rankings_.GetPrev(NULL); in TrimCache() 273 next = rankings_.GetPrev(next); in TrimCache() 303 rankings_.UpdateRank(node); in UpdateRank() [all …]
|
D | rankings.h | 67 ScopedRankingsBlock() : rankings_(NULL) {} in ScopedRankingsBlock() 68 explicit ScopedRankingsBlock(Rankings* rankings) : rankings_(rankings) {} in ScopedRankingsBlock() 70 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {} in ScopedRankingsBlock() 73 rankings_->FreeRankingsBlock(get()); in ~ScopedRankingsBlock() 77 rankings_ = rankings; in set_rankings() 83 rankings_->FreeRankingsBlock(get()); 88 Rankings* rankings_;
|
D | backend_impl.cc | 313 disabled_ = !rankings_.Init(this, new_eviction_); in Init() 1005 int num_entries = rankings_.SelfCheck(); in SelfCheck() 1142 rankings_.Reset(); in PrepareForRestart() 1184 if (!rankings_.SanityCheck(cache_entry->rankings(), false)) in NewEntry() 1287 iterator.reset(new Rankings::Iterator(&rankings_)); in OpenFollowingEntry() 1357 Rankings::ScopedRankingsBlock rankings(&rankings_, *from_entry); in OpenFollowingEntryFromList() 1359 rankings_.GetNext(rankings.get(), list) : in OpenFollowingEntryFromList() 1360 rankings_.GetPrev(rankings.get(), list); in OpenFollowingEntryFromList() 1361 Rankings::ScopedRankingsBlock next(&rankings_, next_block); in OpenFollowingEntryFromList()
|
D | eviction.h | 67 Rankings* rankings_; variable
|
D | mem_backend_impl.h | 93 MemRankings rankings_; // Rankings to be able to trim the cache. variable
|
D | backend_impl.h | 282 Rankings rankings_; // Rankings to be able to trim the cache. variable
|