Lines Matching refs:max_huge_pages_node
3226 for (i = 0; i < h->max_huge_pages_node[nid]; ++i) { in hugetlb_hstate_alloc_pages_onenode()
3242 if (i == h->max_huge_pages_node[nid]) in hugetlb_hstate_alloc_pages_onenode()
3247 h->max_huge_pages_node[nid], buf, nid, i); in hugetlb_hstate_alloc_pages_onenode()
3248 h->max_huge_pages -= (h->max_huge_pages_node[nid] - i); in hugetlb_hstate_alloc_pages_onenode()
3249 h->max_huge_pages_node[nid] = i; in hugetlb_hstate_alloc_pages_onenode()
3266 if (h->max_huge_pages_node[i] > 0) { in hugetlb_hstate_alloc_pages()
4248 default_hstate.max_huge_pages_node[i] = in hugetlb_init()
4321 memset(parsed_hstate->max_huge_pages_node, 0, in hugepages_clear_pages_in_node()
4322 sizeof(parsed_hstate->max_huge_pages_node)); in hugepages_clear_pages_in_node()
4384 parsed_hstate->max_huge_pages_node[node] = tmp; in hugepages_setup()
4506 default_hstate.max_huge_pages_node[i] = in default_hugepagesz_setup()