Lines Matching defs:nr_pages
1522 int nr_pages = 1 << order;
1529 for (i = 1; i < nr_pages; i++) {
1575 unsigned long nr_pages = pages_per_huge_page(h);
1584 page = cma_alloc(hugetlb_cma[nid], nr_pages,
1595 page = cma_alloc(hugetlb_cma[node], nr_pages,
1604 page = alloc_contig_pages(nr_pages, gfp_mask, nid, nodemask);
1992 int nr_pages = 1 << order;
1996 for (i = 0; i < nr_pages; i++) {
2058 for (; j < nr_pages; j++) {
2638 unsigned long nr_pages;
2653 nr_pages = min(unused_resv_pages, h->surplus_huge_pages);
2663 while (nr_pages--) {