Lines Matching refs:huge_page_order
960 (vma->vm_pgoff >> huge_page_order(h)); in vma_hugecache_offset()
1540 huge_page_order(h), true); in alloc_gigantic_folio()
1551 huge_page_order(h), true); in alloc_gigantic_folio()
1752 hugetlb_cma_folio(folio, huge_page_order(h))) { in __update_and_free_hugetlb_folio()
1753 destroy_compound_gigantic_folio(folio, huge_page_order(h)); in __update_and_free_hugetlb_folio()
1754 free_gigantic_folio(folio, huge_page_order(h)); in __update_and_free_hugetlb_folio()
1756 __free_pages(&folio->page, huge_page_order(h)); in __update_and_free_hugetlb_folio()
2105 int order = huge_page_order(h); in alloc_buddy_hugetlb_folio()
2187 if (!prep_compound_gigantic_folio(folio, huge_page_order(h))) { in alloc_fresh_hugetlb_folio()
2192 free_gigantic_folio(folio, huge_page_order(h)); in alloc_fresh_hugetlb_folio()
2364 order = huge_page_order(&default_hstate); in dissolve_free_huge_pages()
2366 order = min(order, huge_page_order(h)); in dissolve_free_huge_pages()
3203 if (prep_compound_gigantic_folio(folio, huge_page_order(h))) { in gather_bootmem_prealloc()
3209 free_gigantic_folio(folio, huge_page_order(h)); in gather_bootmem_prealloc()
3610 destroy_compound_hugetlb_folio_for_demote(folio, huge_page_order(h)); in demote_free_hugetlb_folio()