Lines Matching refs:pgcnt

606 				pgcnt_t pgcnt = page_get_pagecnt(a->szc);  in segvn_create()  local
607 if (!IS_P2ALIGNED(anum, pgcnt)) { in segvn_create()
5675 pgcnt_t pgcnt; in segvn_setprot() local
5746 pgcnt = pgsz >> PAGESHIFT; in segvn_setprot()
5747 ASSERT(IS_P2ALIGNED(pgcnt, pgcnt)); in segvn_setprot()
5919 IS_P2ALIGNED(anon_idx, pgcnt)); in segvn_setprot()
5937 if (IS_P2ALIGNED(anon_idx, pgcnt) && in segvn_setprot()
6078 pgcnt_t pgcnt = page_get_pagecnt(szc); in segvn_setpagesize() local
6106 if (!IS_P2ALIGNED(an_idx, pgcnt)) { in segvn_setpagesize()
6280 if (!IS_P2ALIGNED(svd->anon_index, pgcnt)) { in segvn_setpagesize()
6473 pgcnt_t pgcnt = page_get_pagecnt(seg->s_szc); in segvn_claim_pages() local
6474 size_t ppasize = (pgcnt + 1) * sizeof (page_t *); in segvn_claim_pages()
6478 struct vpage *evp = svp + pgcnt; in segvn_claim_pages()
6492 ASSERT(IS_P2ALIGNED(pgcnt, pgcnt)); in segvn_claim_pages()
6493 ASSERT(amp == NULL || IS_P2ALIGNED(anon_idx, pgcnt)); in segvn_claim_pages()
6494 ASSERT(sameprot(seg, addr, pgcnt << PAGESHIFT)); in segvn_claim_pages()
6505 ASSERT(!anon_pages(amp->ahp, anon_idx, pgcnt)); in segvn_claim_pages()
6508 anon_pages(amp->ahp, anon_idx, pgcnt) == pgcnt); in segvn_claim_pages()
6536 ASSERT(pg_idx <= pgcnt); in segvn_claim_pages()
6549 for (i = 0; ppa[i]; i += pgcnt) { in segvn_claim_pages()
6550 ASSERT(IS_P2ALIGNED(page_pptonum(ppa[i]), pgcnt)); in segvn_claim_pages()
6665 pgcnt_t pgcnt = page_get_pagecnt(seg->s_szc); in segvn_split_seg() local
6669 ASSERT(IS_P2ALIGNED(nsvd->anon_index, pgcnt)); in segvn_split_seg()
7077 pgcnt_t pgcnt = 0; in segvn_swapout() local
7149 pgcnt++; in segvn_swapout()
7225 pgcnt++; in segvn_swapout()
7233 return (ptob(pgcnt)); in segvn_swapout()