Lines Matching refs:Page
37 struct Page { struct
42 Page *acquirePage();
43 void releasePage(Page *page);
45 void appendPage(Page *page);
58 List<Page *> mActivePages;
59 List<Page *> mFreePages;
61 void freePages(List<Page *> *list);
76 void PageCache::freePages(List<Page *> *list) { in freePages()
77 List<Page *>::iterator it = list->begin(); in freePages()
79 Page *page = *it; in freePages()
89 PageCache::Page *PageCache::acquirePage() { in acquirePage()
91 List<Page *>::iterator it = mFreePages.begin(); in acquirePage()
92 Page *page = *it; in acquirePage()
98 Page *page = new Page; in acquirePage()
105 void PageCache::releasePage(Page *page) { in releasePage()
110 void PageCache::appendPage(Page *page) { in appendPage()
119 List<Page *>::iterator it = mActivePages.begin(); in releaseFromStart()
121 Page *page = *it; in releaseFromStart()
149 List<Page *>::iterator it = mActivePages.begin(); in copy()
364 PageCache::Page *page = mCache->acquirePage(); in fetchInternal()