Searched refs:max_hpages (Results 1 – 3 of 3) sorted by relevance
52 long max_hpages; member868 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()869 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()1118 pconfig->max_hpages = hugetlbfs_size_to_hpages(pconfig->hstate, in hugetlbfs_parse_options()1127 pconfig->min_hpages > pconfig->max_hpages) { in hugetlbfs_parse_options()1148 config.max_hpages = -1; /* No limit on size by default */ in hugetlbfs_fill_super()1173 if (config.max_hpages != -1 || config.min_hpages != -1) { in hugetlbfs_fill_super()1175 config.max_hpages, in hugetlbfs_fill_super()
25 long max_hpages; /* Maximum huge pages or -1 if no maximum. */ member50 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
89 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() argument100 spool->max_hpages = max_hpages; in hugepage_new_subpool()139 if (spool->max_hpages != -1) { /* maximum size accounting */ in hugepage_subpool_get_pages()140 if ((spool->used_hpages + delta) <= spool->max_hpages) in hugepage_subpool_get_pages()183 if (spool->max_hpages != -1) /* maximum size accounting */ in hugepage_subpool_put_pages()