Searched refs:metapgs (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | memseg.c | 78 pgcnt_t metapgs; local 91 metapgs = btopr(npgs * sizeof (page_t)); 115 metapgs--; 131 metapgs--; 142 for (i = 0; i < metapgs; i++) 151 if ((page_create_va(&mpvp, (u_offset_t)pp, ptob(metapgs), 153 MEMSEG_DEBUG("memseg_alloc_meta: can't get 0x%ld metapgs", 154 metapgs); 162 *metap = metapgs; 168 memseg_free_meta(void *ptp, pgcnt_t metapgs) argument 229 pgcnt_t metapgs; local [all...] |
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | balloon.c | 206 pgcnt_t metapgs, totalpgs, num_pages; local 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); [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | mem_config.c | 134 pgcnt_t metapgs = 0; local 193 rv = memseg_alloc_meta(base, npgs, &metabase, &metapgs); 195 ASSERT(metapgs); 196 ASSERT(btopr(npgs * sizeof (page_t)) <= metapgs); 212 metapgs = npgs - (((uint64_t)(npgs) << PAGESHIFT) / 215 npgs -= metapgs; 216 base += metapgs; 218 ASSERT(btopr(npgs * sizeof (page_t)) <= metapgs); 220 exhausted = (metapgs == 0 || npgs == 0); 248 metapgs 608 memseg_reuse(pgcnt_t metapgs) argument 2565 remap_to_dummy(caddr_t va, pgcnt_t metapgs) argument 2604 pgcnt_t metapgs; local [all...] |
Completed in 62 milliseconds