Searched refs:pg_cnt (Results 1 – 2 of 2) sorted by relevance
2852 pgcnt_t npgs, pg_cnt; in anon_map_createpages() local2943 pg_cnt = 0; in anon_map_createpages()2946 pg_cnt = pgsz >> PAGESHIFT; in anon_map_createpages()2947 if (IS_P2ALIGNED(addr, pgsz) && pg_cnt <= npgs && in anon_map_createpages()2948 anon_pages(amp->ahp, index, pg_cnt) == 0) { in anon_map_createpages()2955 (void) page_create_wait(pg_cnt, PG_WAIT); in anon_map_createpages()2969 page_create_putback(pg_cnt); in anon_map_createpages()3013 ASSERT(IS_P2ALIGNED(pg_cnt, pg_cnt)); in anon_map_createpages()3014 ASSERT(IS_P2ALIGNED(index, pg_cnt)); in anon_map_createpages()3016 while (pg_cnt--) { in anon_map_createpages()[all …]
4143 spgcnt_t npgs, pg_cnt; in page_get_replacement_page() local4188 pg_cnt = page_get_pagecnt(szc); in page_get_replacement_page()4191 ASSERT(pg_cnt <= npgs); in page_get_replacement_page()4376 while (pplist != NULL && pg_cnt--) { in page_get_replacement_page()4387 ASSERT(pg_cnt == 0); in page_get_replacement_page()