Home
last modified time | relevance | path

Searched refs:max_hpages (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dhugetlb.c128 if (spool->max_hpages != -1) in subpool_is_free()
152 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() argument
163 spool->max_hpages = max_hpages; in hugepage_new_subpool()
204 if (spool->max_hpages != -1) { /* maximum size accounting */ in hugepage_subpool_get_pages()
205 if ((spool->used_hpages + delta) <= spool->max_hpages) in hugepage_subpool_get_pages()
250 if (spool->max_hpages != -1) /* maximum size accounting */ in hugepage_subpool_put_pages()
6714 if (spool->max_hpages != -1) in hugetlb_reserve_pages()