Lines Matching refs:CacheRankingsBlock
182 void UpdateTimes(disk_cache::CacheRankingsBlock* node, bool modified) {
235 void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) {
241 CacheRankingsBlock head(backend_->File(my_head), my_head);
305 void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) {
322 CacheRankingsBlock next(backend_->File(next_addr), next_addr);
323 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr);
386 void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) {
400 CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) {
406 next.reset(new CacheRankingsBlock(backend_->File(my_head), my_head));
418 next.reset(new CacheRankingsBlock(backend_->File(address), address));
433 CacheRankingsBlock* Rankings::GetPrev(CacheRankingsBlock* node, List list) {
439 prev.reset(new CacheRankingsBlock(backend_->File(my_tail), my_tail));
451 prev.reset(new CacheRankingsBlock(backend_->File(address), address));
466 void Rankings::FreeRankingsBlock(CacheRankingsBlock* node) {
470 void Rankings::TrackRankingsBlock(CacheRankingsBlock* node,
494 bool Rankings::SanityCheck(CacheRankingsBlock* node, bool from_list) const {
523 bool Rankings::DataSanityCheck(CacheRankingsBlock* node, bool from_list) const {
535 void Rankings::SetContents(CacheRankingsBlock* node, CacheAddr address) {
558 bool Rankings::GetRanking(CacheRankingsBlock* rankings) {
597 void Rankings::ConvertToLongLived(CacheRankingsBlock* rankings) {
604 CacheRankingsBlock temp(NULL, Addr(0));
620 CacheRankingsBlock node(backend_->File(node_addr), node_addr);
645 void Rankings::FinishInsert(CacheRankingsBlock* node) {
663 void Rankings::RevertRemove(CacheRankingsBlock* node) {
678 CacheRankingsBlock next(backend_->File(next_addr), next_addr);
679 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr);
720 bool Rankings::CheckEntry(CacheRankingsBlock* rankings) {
728 bool Rankings::CheckLinks(CacheRankingsBlock* node, CacheRankingsBlock* prev,
729 CacheRankingsBlock* next, List* list) {
767 bool Rankings::CheckSingleLink(CacheRankingsBlock* prev,
768 CacheRankingsBlock* next) {
802 scoped_ptr<CacheRankingsBlock> node;
804 node.reset(new CacheRankingsBlock(backend_->File(address), address));
848 void Rankings::UpdateIterators(CacheRankingsBlock* node) {
853 CacheRankingsBlock* other = it->second;
859 void Rankings::InvalidateIterators(CacheRankingsBlock* node) {