Lines Matching refs:max_huge_pages
2091 h->max_huge_pages--; in dissolve_free_huge_page()
2117 h->max_huge_pages++; in dissolve_free_huge_page()
3068 h->max_huge_pages -= (h->max_huge_pages_node[nid] - i); in hugetlb_hstate_alloc_pages_onenode()
3114 for (i = 0; i < h->max_huge_pages; ++i) { in hugetlb_hstate_alloc_pages()
3124 if (i < h->max_huge_pages) { in hugetlb_hstate_alloc_pages()
3129 h->max_huge_pages, buf, i); in hugetlb_hstate_alloc_pages()
3130 h->max_huge_pages = i; in hugetlb_hstate_alloc_pages()
3397 h->max_huge_pages = persistent_huge_pages(h); in set_max_huge_pages()
3461 h->max_huge_pages--; in demote_free_huge_page()
3462 target_hstate->max_huge_pages += pages_per_huge_page(h); in demote_free_huge_page()
4034 if (default_hstate.max_huge_pages) { in hugetlb_init()
4040 default_hstate.max_huge_pages, buf); in hugetlb_init()
4044 default_hstate.max_huge_pages = in hugetlb_init()
4145 mhp = &parsed_hstate->max_huge_pages; in hugepages_setup()
4235 default_hstate.max_huge_pages) { in hugepagesz_setup()
4291 default_hstate.max_huge_pages = default_hstate_max_huge_pages; in default_hugepagesz_setup()
4344 unsigned long tmp = h->max_huge_pages; in hugetlb_sysctl_handler_common()