Searched refs:pages_ (Results 1 – 10 of 10) sorted by relevance
32 pages_ = new struct page_entry[q_size_]; in PageEntryQueue()40 delete[] pages_; in ~PageEntryQueue()56 pages_[nextin_] = *pe; in Push()101 tmp = pages_[nextout_]; in PopRandom()102 pages_[nextout_] = pages_[newindex]; in PopRandom()103 pages_[newindex] = tmp; in PopRandom()107 *pe = pages_[nextout_]; in PopRandom()
40 pages_ = new struct page_entry[q_size_]; in FineLockPEQueue()154 delete[] pages_; in ~FineLockPEQueue()177 uint32 readcount = pages_[i].touch; in QueueAnalysis()275 uint64 page_addr = pages_[i].paddr; in GetPageFromPhysical()278 *pe = pages_[i]; in GetPageFromPhysical()351 if (!(pred_func)(&pages_[index])) in GetRandomWithPredicateTag()355 if ((tag != kDontCareTag) && !(pages_[index].tag & tag)) in GetRandomWithPredicateTag()361 if (!(pred_func)(&pages_[index])) { in GetRandomWithPredicateTag()366 *pe = pages_[index]; in GetRandomWithPredicateTag()428 pages_[index] = *pe; in PutEmpty()[all …]
416 freepages_ = pages_ / 5 * 2; // Mark roughly 2/5 of all pages as Empty. in InitializePages()418 freepages_ = (pages_ / 100) + (2 * neededpages); in InitializePages()423 static_cast<int64>(pages_), in InitializePages()430 if (freepages_ > pages_/2) { in InitializePages()433 static_cast<int64>(pages_), in InitializePages()435 static_cast<int64>(pages_/2)); in InitializePages()440 pages_, in InitializePages()444 for (int64 i = 0; i < pages_; i++) { in InitializePages()463 fill_threads_, pages_); in InitializePages()470 i, pages_ / fill_threads_); in InitializePages()[all …]
73 struct page_entry *pages_; // Where the pages are held. variable
89 struct page_entry *pages_; // Where page entries are held. variable
149 int64 pages_; // Number of memory blocks. variable
3258 pages_ = NULL; in MemoryRegionThread()3262 if (pages_ != NULL) in ~MemoryRegionThread()3263 delete pages_; in ~MemoryRegionThread()3276 if (pages_ != NULL) in SetRegion()3277 delete pages_; in SetRegion()3278 pages_ = new PageEntryQueue(npages); in SetRegion()3287 pages_->Push(&pe); in SetRegion()3371 result = result && pages_->PopRandom(&memregion_pe); in Work()3411 result = result && pages_->Push(&memregion_pe); in Work()
810 PageEntryQueue *pages_; variable
47 b->pages_ = NULL; in VP8TBufferInit()48 b->last_page_ = &b->pages_; in VP8TBufferInit()56 VP8Tokens* p = b->pages_; in VP8TBufferClear()202 const VP8Tokens* p = b->pages_; in VP8EmitTokens()221 if (final_pass) b->pages_ = NULL; in VP8EmitTokens()228 const VP8Tokens* p = b->pages_; in VP8EstimateTokenSize()
315 VP8Tokens* pages_; // first page member