Searched refs:max_hpages (Results 1 – 1 of 1) sorted by relevance
133 if (spool->max_hpages != -1) in subpool_is_free()159 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() argument170 spool->max_hpages = max_hpages; in hugepage_new_subpool()214 if (spool->max_hpages != -1) { /* maximum size accounting */ in hugepage_subpool_get_pages()215 if ((spool->used_hpages + delta) <= spool->max_hpages) in hugepage_subpool_get_pages()260 if (spool->max_hpages != -1) /* maximum size accounting */ in hugepage_subpool_put_pages()6827 if (spool->max_hpages != -1) in hugetlb_reserve_pages()