Searched refs:spool (Results 1 – 4 of 4) sorted by relevance
74 static inline void unlock_or_release_subpool(struct hugepage_subpool *spool) in unlock_or_release_subpool() argument76 bool free = (spool->count == 0) && (spool->used_hpages == 0); in unlock_or_release_subpool()78 spin_unlock(&spool->lock); in unlock_or_release_subpool()84 if (spool->min_hpages != -1) in unlock_or_release_subpool()85 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()86 -spool->min_hpages); in unlock_or_release_subpool()87 kfree(spool); in unlock_or_release_subpool()94 struct hugepage_subpool *spool; in hugepage_new_subpool() local96 spool = kzalloc(sizeof(*spool), GFP_KERNEL); in hugepage_new_subpool()97 if (!spool) in hugepage_new_subpool()[all …]
889 struct hugepage_subpool *spool = sbinfo->spool; in hugetlbfs_show_options() local912 if (spool) { in hugetlbfs_show_options()913 if (spool->max_hpages != -1) in hugetlbfs_show_options()915 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()916 if (spool->min_hpages != -1) in hugetlbfs_show_options()918 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()934 if (sbinfo->spool) { in hugetlbfs_statfs()937 spin_lock(&sbinfo->spool->lock); in hugetlbfs_statfs()938 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()939 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()[all …]
78 void hugepage_put_subpool(struct hugepage_subpool *spool);279 struct hugepage_subpool *spool; member
1527 you can alternatively spool it to another readers guest.