Searched refs:min_hpages (Results 1 – 3 of 3) sorted by relevance
55 long min_hpages; member1120 pconfig->min_hpages = hugetlbfs_size_to_hpages(pconfig->hstate, in hugetlbfs_parse_options()1127 pconfig->min_hpages > pconfig->max_hpages) { in hugetlbfs_parse_options()1154 config.min_hpages = -1; /* No default minimum size */ in hugetlbfs_fill_super()1173 if (config.max_hpages != -1 || config.min_hpages != -1) { in hugetlbfs_fill_super()1176 config.min_hpages); in hugetlbfs_fill_super()
82 if (spool->min_hpages != -1) in unlock_or_release_subpool()84 -spool->min_hpages); in unlock_or_release_subpool()90 long min_hpages) in hugepage_new_subpool() argument102 spool->min_hpages = min_hpages; in hugepage_new_subpool()104 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool()108 spool->rsv_hpages = min_hpages; in hugepage_new_subpool()148 if (spool->min_hpages != -1) { /* minimum size accounting */ in hugepage_subpool_get_pages()186 if (spool->min_hpages != -1) { /* minimum size accounting */ in hugepage_subpool_put_pages()187 if (spool->rsv_hpages + delta <= spool->min_hpages) in hugepage_subpool_put_pages()190 ret = spool->rsv_hpages + delta - spool->min_hpages; in hugepage_subpool_put_pages()[all …]
29 long min_hpages; /* Minimum huge pages or -1 if no minimum. */ member51 long min_hpages);