Home
last modified time | relevance | path

Searched refs:spool (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/mm/
A Dhugetlb.c107 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free()
133 spool = kzalloc(sizeof(*spool), GFP_KERNEL); in hugepage_new_subpool()
134 if (!spool) in hugepage_new_subpool()
175 if (!spool) in hugepage_subpool_get_pages()
190 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()
221 if (!spool) in hugepage_subpool_put_pages()
230 if (spool->min_hpages != -1 && spool->used_hpages < spool->min_hpages) { in hugepage_subpool_put_pages()
231 if (spool->rsv_hpages + delta <= spool->min_hpages) in hugepage_subpool_put_pages()
234 ret = spool->rsv_hpages + delta - spool->min_hpages; in hugepage_subpool_put_pages()
237 if (spool->rsv_hpages > spool->min_hpages) in hugepage_subpool_put_pages()
[all …]
/linux-6.3-rc2/fs/hugetlbfs/
A Dinode.c1129 struct hugepage_subpool *spool = sbinfo->spool; in hugetlbfs_show_options() local
1152 if (spool) { in hugetlbfs_show_options()
1153 if (spool->max_hpages != -1) in hugetlbfs_show_options()
1156 if (spool->min_hpages != -1) in hugetlbfs_show_options()
1174 if (sbinfo->spool) { in hugetlbfs_statfs()
1180 - sbinfo->spool->used_hpages; in hugetlbfs_statfs()
1199 if (sbi->spool) in hugetlbfs_put_super()
1200 hugepage_put_subpool(sbi->spool); in hugetlbfs_put_super()
1467 sbinfo->spool = NULL; in hugetlbfs_fill_super()
1481 if (!sbinfo->spool) in hugetlbfs_fill_super()
[all …]
/linux-6.3-rc2/include/linux/
A Dhugetlb.h123 void hugepage_put_subpool(struct hugepage_subpool *spool);
508 struct hugepage_subpool *spool; member

Completed in 22 milliseconds