Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dhugetlb.c109 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free()
149 spool->rsv_hpages = min_hpages; in hugepage_new_subpool()
192 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()
193 if (delta > spool->rsv_hpages) { in hugepage_subpool_get_pages()
198 ret = delta - spool->rsv_hpages; in hugepage_subpool_get_pages()
199 spool->rsv_hpages = 0; in hugepage_subpool_get_pages()
202 spool->rsv_hpages -= delta; in hugepage_subpool_get_pages()
233 if (spool->rsv_hpages + delta <= spool->min_hpages) in hugepage_subpool_put_pages()
236 ret = spool->rsv_hpages + delta - spool->min_hpages; in hugepage_subpool_put_pages()
238 spool->rsv_hpages += delta; in hugepage_subpool_put_pages()
[all …]
/linux-6.6.21/include/linux/
Dhugetlb.h52 long rsv_hpages; /* Pages reserved against global pool to */ member