Home
last modified time | relevance | path

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

/linux/mm/
A Dhugetlb.c111 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free()
137 spool = kzalloc(sizeof(*spool), GFP_KERNEL); in hugepage_new_subpool()
138 if (!spool) in hugepage_new_subpool()
179 if (!spool) in hugepage_subpool_get_pages()
194 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()
225 if (!spool) in hugepage_subpool_put_pages()
234 if (spool->min_hpages != -1 && spool->used_hpages < spool->min_hpages) { in hugepage_subpool_put_pages()
235 if (spool->rsv_hpages + delta <= spool->min_hpages) in hugepage_subpool_put_pages()
238 ret = spool->rsv_hpages + delta - spool->min_hpages; in hugepage_subpool_put_pages()
241 if (spool->rsv_hpages > spool->min_hpages) in hugepage_subpool_put_pages()
[all …]
/linux/fs/hugetlbfs/
A Dinode.c1152 struct hugepage_subpool *spool = sbinfo->spool; in hugetlbfs_show_options() local
1175 if (spool) { in hugetlbfs_show_options()
1176 if (spool->max_hpages != -1) in hugetlbfs_show_options()
1179 if (spool->min_hpages != -1) in hugetlbfs_show_options()
1199 if (sbinfo->spool) { in hugetlbfs_statfs()
1205 - sbinfo->spool->used_hpages; in hugetlbfs_statfs()
1224 if (sbi->spool) in hugetlbfs_put_super()
1225 hugepage_put_subpool(sbi->spool); in hugetlbfs_put_super()
1478 sbinfo->spool = NULL; in hugetlbfs_fill_super()
1492 if (!sbinfo->spool) in hugetlbfs_fill_super()
[all …]
/linux/include/linux/
A Dhugetlb.h120 void hugepage_put_subpool(struct hugepage_subpool *spool);
499 struct hugepage_subpool *spool; member

Completed in 30 milliseconds