Home
last modified time | relevance | path

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

/linux-6.1.9/mm/ !
Dhugetlb.c107 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free()
147 spool->rsv_hpages = min_hpages; in hugepage_new_subpool()
190 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()
191 if (delta > spool->rsv_hpages) { in hugepage_subpool_get_pages()
196 ret = delta - spool->rsv_hpages; in hugepage_subpool_get_pages()
197 spool->rsv_hpages = 0; in hugepage_subpool_get_pages()
200 spool->rsv_hpages -= delta; in hugepage_subpool_get_pages()
231 if (spool->rsv_hpages + delta <= spool->min_hpages) in hugepage_subpool_put_pages()
234 ret = spool->rsv_hpages + delta - spool->min_hpages; in hugepage_subpool_put_pages()
236 spool->rsv_hpages += delta; in hugepage_subpool_put_pages()
[all …]
/linux-6.1.9/include/linux/ !
Dhugetlb.h61 long rsv_hpages; /* Pages reserved against global pool to */ member