Searched refs:pg_cnt (Results 1 – 2 of 2) sorted by relevance
2851 pgcnt_t npgs, pg_cnt; in anon_map_createpages() local2942 pg_cnt = 0; in anon_map_createpages()2945 pg_cnt = pgsz >> PAGESHIFT; in anon_map_createpages()2946 if (IS_P2ALIGNED(addr, pgsz) && pg_cnt <= npgs && in anon_map_createpages()2947 anon_pages(amp->ahp, index, pg_cnt) == 0) { in anon_map_createpages()2954 (void) page_create_wait(pg_cnt, PG_WAIT); in anon_map_createpages()2968 page_create_putback(pg_cnt); in anon_map_createpages()3012 ASSERT(IS_P2ALIGNED(pg_cnt, pg_cnt)); in anon_map_createpages()3013 ASSERT(IS_P2ALIGNED(index, pg_cnt)); in anon_map_createpages()3015 while (pg_cnt--) { in anon_map_createpages()[all …]
4097 spgcnt_t npgs, pg_cnt; in page_get_replacement_page() local4143 pg_cnt = page_get_pagecnt(szc); in page_get_replacement_page()4146 ASSERT(pg_cnt <= npgs); in page_get_replacement_page()4331 while (pplist != NULL && pg_cnt--) { in page_get_replacement_page()4342 ASSERT(pg_cnt == 0); in page_get_replacement_page()