Home
last modified time | relevance | path

Searched refs:curnpgs (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/vm/
H A Dseg_spt.c627 pgcnt_t pgs, curnpgs = 0; in segspt_free_pages() local
717 ASSERT(curnpgs == 0); in segspt_free_pages()
720 pgs = curnpgs = page_get_pagecnt(pp->p_szc); in segspt_free_pages()
724 curnpgs--; in segspt_free_pages()
726 ASSERT(curnpgs == 1); in segspt_free_pages()
731 curnpgs = 0; in segspt_free_pages()
733 ASSERT(curnpgs > 1); in segspt_free_pages()
735 page_pptonum(rootpp) + (pgs - curnpgs)); in segspt_free_pages()
736 curnpgs--; in segspt_free_pages()
739 if (root != 0 || curnpgs != 0) { in segspt_free_pages()
[all …]
H A Dvm_page.c1999 pgcnt_t npgs, curnpgs, totpgs; in page_alloc_pages() local
2040 totpgs = curnpgs = npgs = pgsz >> PAGESHIFT; in page_alloc_pages()
2062 ASSERT(npgs >= curnpgs); in page_alloc_pages()
2063 npgs -= curnpgs; in page_alloc_pages()
2068 curnpgs = pgsz >> PAGESHIFT; in page_alloc_pages()
2109 curnpgs = page_get_pagecnt(pp->p_szc); in page_alloc_pages()
2110 page_list_break(&pp, &pplist, curnpgs); in page_alloc_pages()
2112 page_create_putback(curnpgs); in page_alloc_pages()
2113 ASSERT(npgs >= curnpgs); in page_alloc_pages()
2114 npgs -= curnpgs; in page_alloc_pages()
[all …]
H A Dvm_anon.c3078 pgcnt_t curnpgs = 0; in anon_try_demote_pages() local
3136 if (curnpgs != 0) in anon_try_demote_pages()
3141 curnpgs = npgs = in anon_try_demote_pages()
3157 ASSERT(curnpgs > 0); in anon_try_demote_pages()
3158 curnpgs--; in anon_try_demote_pages()
3161 if (root != 0 || curnpgs != 0) in anon_try_demote_pages()
H A Dseg_vn.c3144 pgcnt_t repl_npgs, curnpgs; in segvn_relocate_pages() local
3165 curnpgs = page_get_pagecnt(pp->p_szc); in segvn_relocate_pages()
3166 if (curnpgs == 1) { in segvn_relocate_pages()
3178 for (j = 0; j < curnpgs; j++) { in segvn_relocate_pages()
3188 ASSERT(IS_P2ALIGNED(page_pptonum(repl), curnpgs)); in segvn_relocate_pages()
3191 if (err || nreloc != curnpgs) { in segvn_relocate_pages()
3194 "nreloc=%ld", err, curnpgs, nreloc); in segvn_relocate_pages()
3196 ASSERT(curnpgs <= repl_npgs); in segvn_relocate_pages()
3197 repl_npgs -= curnpgs; in segvn_relocate_pages()
3198 i += curnpgs; in segvn_relocate_pages()
[all …]
/titanic_41/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c9407 pgcnt_t curnpgs, dopgs; in conv_tnc() local
9436 curnpgs = TTEPAGES(cursz); in conv_tnc()
9437 if (tst_tnc(pp2, curnpgs)) { in conv_tnc()
9438 SFMMU_STAT_ADD(sf_recache, curnpgs); in conv_tnc()
9440 curnpgs); in conv_tnc()
9443 ASSERT(dopgs >= curnpgs); in conv_tnc()
9444 dopgs -= curnpgs; in conv_tnc()
9450 pp2 = PP_PAGENEXT_N(pp2, curnpgs); in conv_tnc()