Lines Matching refs:max_huge_pages
2317 h->max_huge_pages--; in dissolve_free_huge_page()
2334 h->max_huge_pages++; in dissolve_free_huge_page()
3248 h->max_huge_pages -= (h->max_huge_pages_node[nid] - i); in hugetlb_hstate_alloc_pages_onenode()
3294 for (i = 0; i < h->max_huge_pages; ++i) { in hugetlb_hstate_alloc_pages()
3304 if (i < h->max_huge_pages) { in hugetlb_hstate_alloc_pages()
3309 h->max_huge_pages, buf, i); in hugetlb_hstate_alloc_pages()
3310 h->max_huge_pages = i; in hugetlb_hstate_alloc_pages()
3575 h->max_huge_pages = persistent_huge_pages(h); in set_max_huge_pages()
3642 h->max_huge_pages--; in demote_free_hugetlb_folio()
3643 target_hstate->max_huge_pages += in demote_free_hugetlb_folio()
4234 if (default_hstate.max_huge_pages) { in hugetlb_init()
4240 default_hstate.max_huge_pages, buf); in hugetlb_init()
4244 default_hstate.max_huge_pages = in hugetlb_init()
4320 parsed_hstate->max_huge_pages = 0; in hugepages_clear_pages_in_node()
4357 mhp = &parsed_hstate->max_huge_pages; in hugepages_setup()
4448 default_hstate.max_huge_pages) { in hugepagesz_setup()
4504 default_hstate.max_huge_pages = default_hstate_max_huge_pages; in default_hugepagesz_setup()
4573 unsigned long tmp = h->max_huge_pages; in hugetlb_sysctl_handler_common()