Lines Matching refs:curnpgs
2008 pgcnt_t npgs, curnpgs, totpgs; in page_alloc_pages() local
2049 totpgs = curnpgs = npgs = pgsz >> PAGESHIFT; in page_alloc_pages()
2071 ASSERT(npgs >= curnpgs); in page_alloc_pages()
2072 npgs -= curnpgs; in page_alloc_pages()
2077 curnpgs = pgsz >> PAGESHIFT; in page_alloc_pages()
2118 curnpgs = page_get_pagecnt(pp->p_szc); in page_alloc_pages()
2119 page_list_break(&pp, &pplist, curnpgs); in page_alloc_pages()
2121 page_create_putback(curnpgs); in page_alloc_pages()
2122 ASSERT(npgs >= curnpgs); in page_alloc_pages()
2123 npgs -= curnpgs; in page_alloc_pages()
5068 spgcnt_t curnpgs = page_get_pagecnt(pp->p_szc); in page_free_replacement_page() local
5070 page_list_break(&pp, &pplist, curnpgs); in page_free_replacement_page()