Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:CacheRankingsBlock

182 void UpdateTimes(disk_cache::CacheRankingsBlock* node, bool modified) {
199 Rankings* rankings, CacheRankingsBlock* node)
200 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {}
244 void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) {
250 CacheRankingsBlock head(backend_->File(my_head), my_head);
315 void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) {
333 CacheRankingsBlock next(backend_->File(next_addr), next_addr);
334 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr);
400 void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) {
414 CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) {
420 next.reset(new CacheRankingsBlock(backend_->File(my_head), my_head));
432 next.reset(new CacheRankingsBlock(backend_->File(address), address));
447 CacheRankingsBlock* Rankings::GetPrev(CacheRankingsBlock* node, List list) {
453 prev.reset(new CacheRankingsBlock(backend_->File(my_tail), my_tail));
465 prev.reset(new CacheRankingsBlock(backend_->File(address), address));
480 void Rankings::FreeRankingsBlock(CacheRankingsBlock* node) {
484 void Rankings::TrackRankingsBlock(CacheRankingsBlock* node,
511 bool Rankings::SanityCheck(CacheRankingsBlock* node, bool from_list) const {
543 bool Rankings::DataSanityCheck(CacheRankingsBlock
555 void Rankings::SetContents(CacheRankingsBlock* node, CacheAddr address) {
578 bool Rankings::GetRanking(CacheRankingsBlock* rankings) {
619 void Rankings::ConvertToLongLived(CacheRankingsBlock* rankings) {
626 CacheRankingsBlock temp(NULL, Addr(0));
642 CacheRankingsBlock node(backend_->File(node_addr), node_addr);
666 void Rankings::FinishInsert(CacheRankingsBlock* node) {
684 void Rankings::RevertRemove(CacheRankingsBlock* node) {
699 CacheRankingsBlock next(backend_->File(next_addr), next_addr);
700 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr);
742 bool Rankings::CheckLinks(CacheRankingsBlock* node, CacheRankingsBlock* prev,
743 CacheRankingsBlock* next, List* list) {
783 bool Rankings::CheckSingleLink(CacheRankingsBlock* prev,
784 CacheRankingsBlock* next) {
821 scoped_ptr<CacheRankingsBlock> node;
824 node.reset(new CacheRankingsBlock(backend_->File(current), current));
882 void Rankings::UpdateIterators(CacheRankingsBlock* node) {
887 CacheRankingsBlock* other = it->second;
893 void Rankings::InvalidateIterators(CacheRankingsBlock* node) {