Lines Matching defs:spool
1180 struct hugepage_subpool *spool = sbinfo->spool;
1203 if (spool) {
1204 if (spool->max_hpages != -1)
1206 (unsigned long long)spool->max_hpages << hpage_shift);
1207 if (spool->min_hpages != -1)
1209 (unsigned long long)spool->min_hpages << hpage_shift);
1225 if (sbinfo->spool) {
1228 spin_lock_irq(&sbinfo->spool->lock);
1229 buf->f_blocks = sbinfo->spool->max_hpages;
1230 free_pages = sbinfo->spool->max_hpages
1231 - sbinfo->spool->used_hpages;
1233 spin_unlock_irq(&sbinfo->spool->lock);
1250 if (sbi->spool)
1251 hugepage_put_subpool(sbi->spool);
1520 sbinfo->spool = NULL;
1531 sbinfo->spool = hugepage_new_subpool(ctx->hstate,
1534 if (!sbinfo->spool)
1554 kfree(sbinfo->spool);