Lines Matching refs:curnpgs
3150 pgcnt_t repl_npgs, curnpgs; in segvn_relocate_pages() local
3171 curnpgs = page_get_pagecnt(pp->p_szc); in segvn_relocate_pages()
3172 if (curnpgs == 1) { in segvn_relocate_pages()
3184 for (j = 0; j < curnpgs; j++) { in segvn_relocate_pages()
3194 ASSERT(IS_P2ALIGNED(page_pptonum(repl), curnpgs)); in segvn_relocate_pages()
3197 if (err || nreloc != curnpgs) { in segvn_relocate_pages()
3200 "nreloc=%ld", err, curnpgs, nreloc); in segvn_relocate_pages()
3202 ASSERT(curnpgs <= repl_npgs); in segvn_relocate_pages()
3203 repl_npgs -= curnpgs; in segvn_relocate_pages()
3204 i += curnpgs; in segvn_relocate_pages()
3246 pgcnt_t curnpgs; in segvn_full_szcpages() local
3285 curnpgs = page_get_pagecnt(curszc); in segvn_full_szcpages()
3286 if (!IS_P2ALIGNED(pfn, curnpgs) || in segvn_full_szcpages()
3287 !IS_P2ALIGNED(i, curnpgs)) { in segvn_full_szcpages()
3303 if (P2PHASE(pfn, curnpgs) == curnpgs - 1) { in segvn_full_szcpages()