Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hugetlbfs/
H A Dinode.c55 long max_hpages; member
1037 if (spool->max_hpages != -1) in hugetlbfs_show_options()
1039 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()
1062 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()
1063 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()
1318 ctx->max_hpages = hugetlbfs_size_to_hpages(ctx->hstate, in hugetlbfs_validate()
1329 ctx->min_hpages > ctx->max_hpages) { in hugetlbfs_validate()
1361 if (ctx->max_hpages != -1 || ctx->min_hpages != -1) { in hugetlbfs_fill_super()
1363 ctx->max_hpages, in hugetlbfs_fill_super()
1417 ctx->max_hpages in hugetlbfs_init_fs_context()
[all...]
/kernel/linux/linux-6.6/fs/hugetlbfs/
H A Dinode.c53 long max_hpages; member
1204 if (spool->max_hpages != -1) in hugetlbfs_show_options()
1206 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()
1229 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()
1230 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()
1487 ctx->max_hpages = hugetlbfs_size_to_hpages(ctx->hstate, in hugetlbfs_validate()
1498 ctx->min_hpages > ctx->max_hpages) { in hugetlbfs_validate()
1530 if (ctx->max_hpages != -1 || ctx->min_hpages != -1) { in hugetlbfs_fill_super()
1532 ctx->max_hpages, in hugetlbfs_fill_super()
1586 ctx->max_hpages in hugetlbfs_init_fs_context()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dhugetlb.h35 long max_hpages; /* Maximum huge pages or -1 if no maximum. */ member
105 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
/kernel/linux/linux-6.6/include/linux/
H A Dhugetlb.h47 long max_hpages; /* Maximum huge pages or -1 if no maximum. */ member
124 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
/kernel/linux/linux-6.6/mm/
H A Dhugetlb.c106 if (spool->max_hpages != -1) in subpool_is_free()
130 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() argument
141 spool->max_hpages = max_hpages; in hugepage_new_subpool()
182 if (spool->max_hpages != -1) { /* maximum size accounting */ in hugepage_subpool_get_pages()
183 if ((spool->used_hpages + delta) <= spool->max_hpages) in hugepage_subpool_get_pages()
228 if (spool->max_hpages != -1) /* maximum size accounting */ in hugepage_subpool_put_pages()
/kernel/linux/linux-5.10/mm/
H A Dhugetlb.c117 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() argument
128 spool->max_hpages = max_hpages; in hugepage_new_subpool()
167 if (spool->max_hpages != -1) { /* maximum size accounting */ in hugepage_subpool_get_pages()
168 if ((spool->used_hpages + delta) <= spool->max_hpages) in hugepage_subpool_get_pages()
212 if (spool->max_hpages != -1) /* maximum size accounting */ in hugepage_subpool_put_pages()

Completed in 31 milliseconds