Home
last modified time | relevance | path

Searched refs:clearPages (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp813 size_t clearPages = 0; in _LoadFile() local
821 pages[clearPages++] = pages[i]; in _LoadFile()
834 memcpy(pages.Get() + clearPages, pages.Get() + pagesRead, in _LoadFile()
836 clearPages += count; in _LoadFile()
838 allocatedPages = clearPages; in _LoadFile()
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp3694 VMPageQueue::PageList& clearPages) in allocate_page_run_cleanup() argument
3705 while (vm_page* page = clearPages.RemoveTail()) { in allocate_page_run_cleanup()
3749 VMPageQueue::PageList clearPages; in allocate_page_run() local
3759 clearPages.Add(&page); in allocate_page_run()
3793 allocate_page_run_cleanup(freePages, clearPages); in allocate_page_run()
3804 vm_page* clearPage = clearPages.Head(); in allocate_page_run()
3813 clearPage = clearPages.GetNext(clearPage); in allocate_page_run()
3845 allocate_page_run_cleanup(freePages, clearPages); in allocate_page_run()
3862 freePages.MoveFrom(&clearPages); in allocate_page_run()