Searched refs:spool (Results 1 – 1 of 1) sorted by relevance
92 static inline void unlock_or_release_subpool(struct hugepage_subpool *spool) in unlock_or_release_subpool() argument94 bool free = (spool->count == 0) && (spool->used_hpages == 0); in unlock_or_release_subpool()96 spin_unlock(&spool->lock); in unlock_or_release_subpool()102 if (spool->min_hpages != -1) in unlock_or_release_subpool()103 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()104 -spool->min_hpages); in unlock_or_release_subpool()105 kfree(spool); in unlock_or_release_subpool()112 struct hugepage_subpool *spool; in hugepage_new_subpool() local114 spool = kzalloc(sizeof(*spool), GFP_KERNEL); in hugepage_new_subpool()115 if (!spool) in hugepage_new_subpool()[all …]