Searched refs:max_hpages (Results 1 - 3 of 3) sorted by relevance

/linux-master/fs/hugetlbfs/
H A Dinode.c53 long max_hpages; member in struct:hugetlbfs_fs_context
1181 if (spool->max_hpages != -1)
1183 (unsigned long long)spool->max_hpages << hpage_shift);
1208 buf->f_blocks = sbinfo->spool->max_hpages;
1209 free_pages = sbinfo->spool->max_hpages
1453 ctx->max_hpages = hugetlbfs_size_to_hpages(ctx->hstate,
1464 ctx->min_hpages > ctx->max_hpages) {
1496 if (ctx->max_hpages != -1 || ctx->min_hpages != -1) {
1498 ctx->max_hpages,
1552 ctx->max_hpages
[all...]
/linux-master/include/linux/
H A Dhugetlb.h47 long max_hpages; /* Maximum huge pages or -1 if no maximum. */ member in struct:hugepage_subpool
124 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
/linux-master/mm/
H A Dhugetlb.c107 if (spool->max_hpages != -1)
131 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, argument
142 spool->max_hpages = max_hpages;
183 if (spool->max_hpages != -1) { /* maximum size accounting */
184 if ((spool->used_hpages + delta) <= spool->max_hpages)
229 if (spool->max_hpages != -1) /* maximum size accounting */

Completed in 123 milliseconds