Lines Matching refs:pages
863 uint64_t pages = (sz + vm->page_size - 1) >> vm->page_shift; in vm_vaddr_unused_gap() local
872 pgidx_start, pages)) in vm_vaddr_unused_gap()
874 pgidx_start, pages); in vm_vaddr_unused_gap()
883 pgidx_start, pages)) in vm_vaddr_unused_gap()
886 pgidx_start, pages); in vm_vaddr_unused_gap()
895 pgidx_start, pages)) { in vm_vaddr_unused_gap()
897 vm->vpages_valid, pgidx_start, pages); in vm_vaddr_unused_gap()
905 "pages: 0x%lx", pages); in vm_vaddr_unused_gap()
912 pgidx_start, pages), in vm_vaddr_unused_gap()
916 pgidx_start, pages); in vm_vaddr_unused_gap()
918 pgidx_start, pages), in vm_vaddr_unused_gap()
922 pgidx_start, pages); in vm_vaddr_unused_gap()
951 uint64_t pages = (sz >> vm->page_shift) + ((sz % vm->page_size) != 0); in vm_vaddr_alloc() local
962 for (vm_vaddr_t vaddr = vaddr_start; pages > 0; in vm_vaddr_alloc()
963 pages--, vaddr += vm->page_size) { in vm_vaddr_alloc()