Searched refs:spool (Results 1 – 3 of 3) sorted by relevance
105 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free()131 spool = kzalloc(sizeof(*spool), GFP_KERNEL); in hugepage_new_subpool()132 if (!spool) in hugepage_new_subpool()173 if (!spool) in hugepage_subpool_get_pages()188 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()219 if (!spool) in hugepage_subpool_put_pages()228 if (spool->min_hpages != -1 && spool->used_hpages < spool->min_hpages) { in hugepage_subpool_put_pages()229 if (spool->rsv_hpages + delta <= spool->min_hpages) in hugepage_subpool_put_pages()232 ret = spool->rsv_hpages + delta - spool->min_hpages; in hugepage_subpool_put_pages()235 if (spool->rsv_hpages > spool->min_hpages) in hugepage_subpool_put_pages()[all …]
1001 struct hugepage_subpool *spool = sbinfo->spool; in hugetlbfs_show_options() local1024 if (spool) { in hugetlbfs_show_options()1025 if (spool->max_hpages != -1) in hugetlbfs_show_options()1028 if (spool->min_hpages != -1) in hugetlbfs_show_options()1046 if (sbinfo->spool) { in hugetlbfs_statfs()1049 spin_lock(&sbinfo->spool->lock); in hugetlbfs_statfs()1052 - sbinfo->spool->used_hpages; in hugetlbfs_statfs()1071 if (sbi->spool) in hugetlbfs_put_super()1339 sbinfo->spool = NULL; in hugetlbfs_fill_super()1353 if (!sbinfo->spool) in hugetlbfs_fill_super()[all …]
124 void hugepage_put_subpool(struct hugepage_subpool *spool);455 struct hugepage_subpool *spool; member
Completed in 23 milliseconds