Lines Matching refs:nr_pages
102 unsigned long nr_pages) in setup_pv_physmap() argument
117 3 > nr_pages ) in setup_pv_physmap()
294 unsigned long nr_pages; in dom0_construct_pv() local
403 nr_pages = dom0_compute_nr_pages(d, &parms, initrd_len); in dom0_construct_pv()
447 vphysmap_end = vphysmap_start + (nr_pages * (!is_pv_32bit_domain(d) ? in dom0_construct_pv()
494 if ( (1UL << order) + PFN_UP(initrd_len) > nr_pages ) in dom0_construct_pv()
500 vphysmap_end = vphysmap_start + nr_pages * sizeof(unsigned long); in dom0_construct_pv()
547 if ( domain_tot_pages(d) < nr_pages ) in dom0_construct_pv()
549 nr_pages - domain_tot_pages(d)); in dom0_construct_pv()
750 si->nr_pages = nr_pages; in dom0_construct_pv()
772 nr_pages); in dom0_construct_pv()
818 while ( pfn < nr_pages ) in dom0_construct_pv()
820 if ( (page = alloc_chunk(d, nr_pages - domain_tot_pages(d))) == NULL ) in dom0_construct_pv()
826 #define pfn (nr_pages - 1 - (pfn - (alloc_epfn - alloc_spfn))) in dom0_construct_pv()