Lines Matching defs:spool
1013 struct hugepage_subpool *spool = sbinfo->spool;
1036 if (spool) {
1037 if (spool->max_hpages != -1)
1039 (unsigned long long)spool->max_hpages << hpage_shift);
1040 if (spool->min_hpages != -1)
1042 (unsigned long long)spool->min_hpages << hpage_shift);
1058 if (sbinfo->spool) {
1061 spin_lock(&sbinfo->spool->lock);
1062 buf->f_blocks = sbinfo->spool->max_hpages;
1063 free_pages = sbinfo->spool->max_hpages
1064 - sbinfo->spool->used_hpages;
1066 spin_unlock(&sbinfo->spool->lock);
1083 if (sbi->spool)
1084 hugepage_put_subpool(sbi->spool);
1351 sbinfo->spool = NULL;
1362 sbinfo->spool = hugepage_new_subpool(ctx->hstate,
1365 if (!sbinfo->spool)
1385 kfree(sbinfo->spool);