Searched refs:freelist_ (Results 1 – 3 of 3) sorted by relevance
29 if (freelist_.empty()) { in NewPageBlock()32 write_queue_.emplace_back(std::move(freelist_.back())); in NewPageBlock()33 freelist_.pop_back(); in NewPageBlock()44 freelist_.insert(freelist_.end(), in EndRead()51 if (freelist_.size() > kMaxFreelistBlocks) in EndRead()52 freelist_.erase(freelist_.begin() + kMaxFreelistBlocks, freelist_.end()); in EndRead()
168 size_t freelist_size_for_testing() const { return freelist_.size(); } in freelist_size_for_testing()182 std::vector<PageBlock> freelist_; // Accessed by both threads. variable
50 freelist_ = 0; in DenseSlabAlloc()84 *(IndexT*)Map(idx) = freelist_; in FlushCache()85 freelist_ = idx; in FlushCache()97 IndexT freelist_; variable102 if (freelist_ == 0) { in Refill()115 freelist_ = fillpos_ * kL2Size + start; in Refill()118 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()119 IndexT idx = freelist_; in Refill()121 freelist_ = *(IndexT*)Map(idx); in Refill()129 *(IndexT*)Map(idx) = freelist_; in Drain()[all …]