Lines Matching refs:npages
499 unsigned int npages = pmap_free_pages();
502 while (vm_page_bucket_count < npages)
653 unsigned int i, npages, pages_initialized, fill, fillval;
666 npages = (unsigned int)(tmpaddr / (addr64_t)(PAGE_SIZE + sizeof(*vm_pages))); /* Figure size of all vm_page_ts, including enough to hold the vm_page_ts */
668 vm_pages = (vm_page_t) pmap_steal_memory(npages * sizeof *vm_pages);
673 for (i = 0, pages_initialized = 0; i < npages; i++) {
2884 unsigned int npages)
2902 if (page_count != npages) {
2904 pages, page_count, npages);
2919 unsigned int color, npages;
2923 npages = 0;
2941 ++npages;
2945 if (npages != vm_page_free_count)
2946 panic("vm_page_verify_free_lists: npages %u free_count %d",
2947 npages, vm_page_free_count);
3013 npages = 0; \
3025 unsigned int npages, considered;
3056 npages < contig_pages && page_idx < vm_pages_count;
3113 npages = 1;
3116 npages++;
3151 if (considered > MAX_CONSIDERED_BEFORE_YIELD && npages <= 1) {
3177 if (npages != contig_pages)
3401 vm_page_gobble_count += npages;
3406 vm_page_wire_count += npages;
3408 assert(vm_page_verify_contiguous(m, npages));
3427 contig_pages, max_pnum, npages, tv_end_sec, tv_end_usec, page_idx, yielded, dumped_run, stolen_pages);
3447 unsigned int npages;
3452 npages = size / page_size;
3459 pages = vm_page_find_contiguous(npages, max_pnum, wire);
3493 assert(vm_page_verify_contiguous(pages, npages));