Lines Matching refs:metapgs
78 pgcnt_t metapgs;
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)
174 if (!metapgs)
182 MEMSEG_DEBUG("memseg_free_meta: off=0x%lx metapgs=0x%lx\n",
183 (uint64_t)off, metapgs);
187 for (i = 0; i < metapgs; i++) {
229 pgcnt_t metapgs;
231 metapgs = btopr(MSEG_NPAGES(seg) * sizeof (page_t));
232 ASSERT(metapgs);
268 metapgs--;
284 metapgs--;
289 remap_to_dummy((caddr_t)pp, metapgs);
293 MEMSEG_DEBUG("memseg_remap_meta: off=0x%lx metapgs=0x%lx\n",
294 (uint64_t)off, metapgs);
298 for (i = 0; i < metapgs; i++) {