Lines Matching defs:pages
96 // resize the VMCache, which will automatically free pages
111 // pages will be added as they are written to; so nothing else
284 vm_page** pages = new(std::nothrow) vm_page*[rounded_len / B_PAGE_SIZE];
285 if (pages == NULL)
287 ArrayDeleter<vm_page*> pagesDeleter(pages);
289 _GetPages(rounded_offset, rounded_len, isWrite, pages);
295 vm_page* page = pages[index];
328 _PutPages(rounded_offset, rounded_len, pages, error == B_OK);
339 vm_page** pages)
344 // get the pages, we already have
364 pages[index++] = page;
371 // For a write we need to reserve the missing pages.
378 if (pages[i] != NULL)
381 pages[i] = vm_page_allocate_page(&reservation,
393 DataContainer::_PutPages(off_t offset, off_t length, vm_page** pages,
401 // Mark all pages unbusy. On error free the newly allocated pages.
405 vm_page* page = pages[index++];