Lines Matching refs:spool
1152 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()
1178 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()
1179 if (spool->min_hpages != -1) in hugetlbfs_show_options()
1181 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
1199 if (sbinfo->spool) { in hugetlbfs_statfs()
1202 spin_lock_irq(&sbinfo->spool->lock); in hugetlbfs_statfs()
1203 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()
1204 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()
1205 - sbinfo->spool->used_hpages; in hugetlbfs_statfs()
1207 spin_unlock_irq(&sbinfo->spool->lock); 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()
1489 sbinfo->spool = hugepage_new_subpool(ctx->hstate, in hugetlbfs_fill_super()
1492 if (!sbinfo->spool) in hugetlbfs_fill_super()
1512 kfree(sbinfo->spool); in hugetlbfs_fill_super()