Lines Matching refs:metapgs
206 pgcnt_t metapgs, totalpgs, num_pages;
223 metapgs = totalpgs - (((uint64_t)(totalpgs) << PAGESHIFT) /
231 if ((metapgs << PAGESHIFT) < (totalpgs * sizeof (page_t) +
233 metapgs++;
236 * metapgs is calculated from totalpgs, which may be much larger than
241 if (metapgs > count)
242 metapgs = count;
245 * Figure out the number of page_t structures that can fit in metapgs
250 metasz = pfn_to_pa(metapgs);
254 num_pages, pgcnt_t, metapgs);
279 locked = balloon_lock_contig_pfnlist(metapgs);
280 for (i = 0; i < metapgs; i++) {
298 for (i = 0; i < metapgs; i++) {
310 for (i = metapgs; i < num_pages; i++) {
360 return (metapgs);