• Home
  • Raw
  • Download

Lines Matching refs:node_

295     : entry_(NULL, Addr(0)), node_(NULL, Addr(0)), backend_(backend),  in EntryImpl()
353 DCHECK(node_.Data()->dirty || read_only_); in ReadSparseDataImpl()
367 DCHECK(node_.Data()->dirty || read_only_); in WriteSparseDataImpl()
407 RankingsNode* node = node_.Data(); in CreateEntry()
410 if (!node_.LazyInit(backend_->File(node_address), node_address)) in CreateEntry()
461 DCHECK(node_.HasData()); in InternalDoom()
462 if (!node_.Data()->dirty) { in InternalDoom()
463 node_.Data()->dirty = backend_->GetCurrentEntryId(); in InternalDoom()
464 node_.Store(); in InternalDoom()
509 backend_->DeleteBlock(node_.address(), true); in DeleteEntryData()
525 if (!node_.LazyInit(backend_->File(address), address)) in LoadNodeAddress()
527 return node_.Load(); in LoadNodeAddress()
531 DCHECK(node_.HasData()); in Update()
536 RankingsNode* rankings = node_.Data(); in Update()
539 if (!node_.Store()) in Update()
546 DCHECK(node_.HasData()); in SetDirtyFlag()
549 if (node_.Data()->dummy) in SetDirtyFlag()
552 if (node_.Data()->dirty && current_id != node_.Data()->dirty) in SetDirtyFlag()
560 node_.Data()->dirty = new_id; in SetPointerForInvalidEntry()
561 node_.Data()->dummy = 0; in SetPointerForInvalidEntry()
562 node_.Store(); in SetPointerForInvalidEntry()
566 return !node_.Data()->contents; in LeaveRankingsBehind()
682 node_.Data()->last_used = last_used.ToInternalValue(); in SetTimes()
683 node_.Data()->last_modified = last_modified.ToInternalValue(); in SetTimes()
684 node_.set_modified(); in SetTimes()
776 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); in GetLastUsed()
781 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); in GetLastModified()
798 DCHECK(node_.Data()->dirty || read_only_); in ReadData()
819 DCHECK(node_.Data()->dirty || read_only_); in WriteData()
916 node_.Data()->dirty = current_id == 1 ? -1 : current_id - 1; in ~EntryImpl()
917 node_.Store(); in ~EntryImpl()
918 } else if (node_.HasData() && !dirty_) { in ~EntryImpl()
919 node_.Data()->dirty = 0; in ~EntryImpl()
920 node_.Store(); in ~EntryImpl()
933 DCHECK(node_.Data()->dirty || read_only_); in InternalReadData()
1004 DCHECK(node_.Data()->dirty || read_only_); in InternalWriteData()
1160 node_.Data()->last_used = current.ToInternalValue(); in UpdateRank()
1163 node_.Data()->last_modified = current.ToInternalValue(); in UpdateRank()
1465 if (node_.HasData()) { in Log()
1466 dirty = node_.Data()->dirty; in Log()
1470 entry_.address().value(), node_.address().value()); in Log()