Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hugetlbfs/
H A Dinode.c57 long min_hpages; member
1040 if (spool->min_hpages != -1) in hugetlbfs_show_options()
1042 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
1321 ctx->min_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()
1364 ctx->min_hpages); in hugetlbfs_fill_super()
1423 ctx->min_hpages = -1; /* No default minimum size */ in hugetlbfs_init_fs_context()
/kernel/linux/linux-6.6/fs/hugetlbfs/
H A Dinode.c55 long min_hpages; member
1207 if (spool->min_hpages != -1) in hugetlbfs_show_options()
1209 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
1490 ctx->min_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()
1533 ctx->min_hpages); in hugetlbfs_fill_super()
1592 ctx->min_hpages = -1; /* No default minimum size */ in hugetlbfs_init_fs_context()
/kernel/linux/linux-6.6/mm/
H A Dhugetlb.c108 if (spool->min_hpages != -1) in subpool_is_free()
109 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free()
123 if (spool->min_hpages != -1) in unlock_or_release_subpool()
125 -spool->min_hpages); in unlock_or_release_subpool()
131 long min_hpages) in hugepage_new_subpool()
143 spool->min_hpages = min_hpages; in hugepage_new_subpool()
145 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool()
149 spool->rsv_hpages = min_hpages; in hugepage_new_subpool()
130 hugepage_new_subpool(struct hstate *h, long max_hpages, long min_hpages) hugepage_new_subpool() argument
[all...]
/kernel/linux/linux-5.10/mm/
H A Dhugetlb.c110 if (spool->min_hpages != -1) in unlock_or_release_subpool()
112 -spool->min_hpages); in unlock_or_release_subpool()
118 long min_hpages) in hugepage_new_subpool()
130 spool->min_hpages = min_hpages; in hugepage_new_subpool()
132 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool()
136 spool->rsv_hpages = min_hpages; in hugepage_new_subpool()
177 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()
216 if (spool->min_hpages ! in hugepage_subpool_put_pages()
117 hugepage_new_subpool(struct hstate *h, long max_hpages, long min_hpages) hugepage_new_subpool() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dhugetlb.h39 long min_hpages; /* Minimum huge pages or -1 if no minimum. */ member
106 long min_hpages);
/kernel/linux/linux-6.6/include/linux/
H A Dhugetlb.h51 long min_hpages; /* Minimum huge pages or -1 if no minimum. */ member
125 long min_hpages);

Completed in 16 milliseconds