Searched refs:nr_gpages (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/powerpc/mm/
H A Dhugetlbpage.c45 unsigned int nr_gpages; member in struct:psize_gpages
51 static unsigned nr_gpages; variable
292 gpage_freearray[idx].nr_gpages = number_of_pages; add_gpage()
308 int nr_gpages = gpage_freearray[idx].nr_gpages; alloc_bootmem_huge_page() local
310 if (nr_gpages == 0) alloc_bootmem_huge_page()
319 m->phys = gpage_freearray[idx].gpage_list[--nr_gpages]; alloc_bootmem_huge_page()
321 m = phys_to_virt(gpage_freearray[idx].gpage_list[--nr_gpages]); alloc_bootmem_huge_page()
325 gpage_freearray[idx].nr_gpages = nr_gpages; alloc_bootmem_huge_page()
326 gpage_freearray[idx].gpage_list[nr_gpages] = 0; alloc_bootmem_huge_page()
419 gpage_freearray[nr_gpages] = addr; add_gpage()
420 nr_gpages++; add_gpage()
432 if (nr_gpages == 0) alloc_bootmem_huge_page()
434 m = phys_to_virt(gpage_freearray[--nr_gpages]); alloc_bootmem_huge_page()
435 gpage_freearray[nr_gpages] = 0; alloc_bootmem_huge_page()

Completed in 75 milliseconds