Lines Matching refs:pgcnt
608 pgcnt_t pgcnt = page_get_pagecnt(a->szc); in segvn_create() local
609 if (!IS_P2ALIGNED(anum, pgcnt)) { in segvn_create()
5686 pgcnt_t pgcnt = 0; in segvn_setprot() local
5757 pgcnt = pgsz >> PAGESHIFT; in segvn_setprot()
5758 ASSERT(IS_P2ALIGNED(pgcnt, pgcnt)); in segvn_setprot()
5930 IS_P2ALIGNED(anon_idx, pgcnt)); in segvn_setprot()
5948 if (IS_P2ALIGNED(anon_idx, pgcnt) && in segvn_setprot()
6089 pgcnt_t pgcnt = page_get_pagecnt(szc); in segvn_setpagesize() local
6117 if (!IS_P2ALIGNED(an_idx, pgcnt)) { in segvn_setpagesize()
6291 if (!IS_P2ALIGNED(svd->anon_index, pgcnt)) { in segvn_setpagesize()
6484 pgcnt_t pgcnt = page_get_pagecnt(seg->s_szc); in segvn_claim_pages() local
6485 size_t ppasize = (pgcnt + 1) * sizeof (page_t *); in segvn_claim_pages()
6489 struct vpage *evp = svp + pgcnt; in segvn_claim_pages()
6503 ASSERT(IS_P2ALIGNED(pgcnt, pgcnt)); in segvn_claim_pages()
6504 ASSERT(amp == NULL || IS_P2ALIGNED(anon_idx, pgcnt)); in segvn_claim_pages()
6505 ASSERT(sameprot(seg, addr, pgcnt << PAGESHIFT)); in segvn_claim_pages()
6516 ASSERT(!anon_pages(amp->ahp, anon_idx, pgcnt)); in segvn_claim_pages()
6519 anon_pages(amp->ahp, anon_idx, pgcnt) == pgcnt); in segvn_claim_pages()
6547 ASSERT(pg_idx <= pgcnt); in segvn_claim_pages()
6560 for (i = 0; ppa[i]; i += pgcnt) { in segvn_claim_pages()
6561 ASSERT(IS_P2ALIGNED(page_pptonum(ppa[i]), pgcnt)); in segvn_claim_pages()
6676 pgcnt_t pgcnt = page_get_pagecnt(seg->s_szc); in segvn_split_seg() local
6680 ASSERT(IS_P2ALIGNED(nsvd->anon_index, pgcnt)); in segvn_split_seg()
7088 pgcnt_t pgcnt = 0; in segvn_swapout() local
7160 pgcnt++; in segvn_swapout()
7236 pgcnt++; in segvn_swapout()
7244 return (ptob(pgcnt)); in segvn_swapout()