Lines Matching defs:deleted
17 // Whenever an element is evicted, we move it to the DELETED list so that if the
278 rankings_->Insert(entry->rankings(), true, Rankings::DELETED);
353 } else if (header_->lru.sizes[Rankings::DELETED] > header_->num_entries / 4 &&
414 rankings_->Remove(entry->rankings(), Rankings::DELETED, true);
439 rankings_->Insert(entry->rankings(), true, Rankings::DELETED);
446 rankings_->Remove(entry->rankings(), Rankings::DELETED, true);
465 Trace("*** Trim Deleted ***");
472 rankings_->GetPrev(node.get(), Rankings::DELETED));
473 bool deleted = false;
477 next.reset(rankings_->GetPrev(node.get(), Rankings::DELETED));
478 deleted |= RemoveDeletedNode(node.get());
484 // deleted entries, so the total number of entries increases by 25%. Using
485 // 40% of that value for deleted entries leaves the size of the other three
489 if (deleted && !empty && !test_mode_ &&
490 header_->lru.sizes[Rankings::DELETED] > max_length) {
496 Trace("*** Trim Deleted end ***");
501 EntryImpl* entry = backend_->GetEnumeratedEntry(node, Rankings::DELETED);
528 header_->lru.sizes[Rankings::DELETED];
557 rankings_->GetPrev(NULL, Rankings::DELETED));