Searched refs:blk_pgnr (Results 1 – 2 of 2) sorted by relevance
115 unsigned int blk_pgnr; in hmm_reserved_pool_init() local139 blk_pgnr = 1U << order; in hmm_reserved_pool_init()140 while (blk_pgnr > pgnr) { in hmm_reserved_pool_init()142 blk_pgnr >>= 1U; in hmm_reserved_pool_init()161 blk_pgnr = 1U << order; in hmm_reserved_pool_init()163 ret = set_pages_uc(pages, blk_pgnr); in hmm_reserved_pool_init()171 for (j = 0; j < blk_pgnr; j++) in hmm_reserved_pool_init()174 repool_info->index += blk_pgnr; in hmm_reserved_pool_init()175 repool_info->pgnr += blk_pgnr; in hmm_reserved_pool_init()177 pgnr -= blk_pgnr; in hmm_reserved_pool_init()
701 unsigned int pgnr, order, blk_pgnr, alloc_pgnr; in alloc_private_pages() local805 blk_pgnr = order_to_nr(order); in alloc_private_pages()811 ret = set_pages_uc(pages, blk_pgnr); in alloc_private_pages()822 for (j = 0; j < blk_pgnr; j++) { in alloc_private_pages()827 pgnr -= blk_pgnr; in alloc_private_pages()828 hmm_mem_stat.sys_size += blk_pgnr; in alloc_private_pages()