Searched refs:rsv_hpages (Results 1 – 2 of 2) sorted by relevance
136 spool->rsv_hpages = min_hpages; in hugepage_new_subpool()177 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()178 if (delta > spool->rsv_hpages) { in hugepage_subpool_get_pages()183 ret = delta - spool->rsv_hpages; in hugepage_subpool_get_pages()184 spool->rsv_hpages = 0; in hugepage_subpool_get_pages()187 spool->rsv_hpages -= delta; in hugepage_subpool_get_pages()217 if (spool->rsv_hpages + delta <= spool->min_hpages) in hugepage_subpool_put_pages()220 ret = spool->rsv_hpages + delta - spool->min_hpages; in hugepage_subpool_put_pages()222 spool->rsv_hpages += delta; in hugepage_subpool_put_pages()223 if (spool->rsv_hpages > spool->min_hpages) in hugepage_subpool_put_pages()[all …]
39 long rsv_hpages; /* Pages reserved against global pool to */ member