Lines Matching refs:metapgs
78 pgcnt_t metapgs; in memseg_alloc_meta() local
91 metapgs = btopr(npgs * sizeof (page_t)); in memseg_alloc_meta()
115 metapgs--; in memseg_alloc_meta()
131 metapgs--; in memseg_alloc_meta()
142 for (i = 0; i < metapgs; i++) in memseg_alloc_meta()
151 if ((page_create_va(&mpvp, (u_offset_t)pp, ptob(metapgs), in memseg_alloc_meta()
154 metapgs); in memseg_alloc_meta()
162 *metap = metapgs; in memseg_alloc_meta()
168 memseg_free_meta(void *ptp, pgcnt_t metapgs) in memseg_free_meta() argument
174 if (!metapgs) in memseg_free_meta()
183 (uint64_t)off, metapgs); in memseg_free_meta()
187 for (i = 0; i < metapgs; i++) { in memseg_free_meta()
229 pgcnt_t metapgs; in memseg_remap_meta() local
231 metapgs = btopr(MSEG_NPAGES(seg) * sizeof (page_t)); in memseg_remap_meta()
232 ASSERT(metapgs); in memseg_remap_meta()
268 metapgs--; in memseg_remap_meta()
284 metapgs--; in memseg_remap_meta()
289 remap_to_dummy((caddr_t)pp, metapgs); in memseg_remap_meta()
294 (uint64_t)off, metapgs); in memseg_remap_meta()
298 for (i = 0; i < metapgs; i++) { in memseg_remap_meta()