Home
last modified time | relevance | path

Searched refs:spool (Results 1 – 1 of 1) sorted by relevance

/mm/
Dhugetlb.c87 static inline void unlock_or_release_subpool(struct hugepage_subpool *spool) in unlock_or_release_subpool() argument
89 bool free = (spool->count == 0) && (spool->used_hpages == 0); in unlock_or_release_subpool()
91 spin_unlock(&spool->lock); in unlock_or_release_subpool()
97 if (spool->min_hpages != -1) in unlock_or_release_subpool()
98 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
99 -spool->min_hpages); in unlock_or_release_subpool()
100 kfree(spool); in unlock_or_release_subpool()
107 struct hugepage_subpool *spool; in hugepage_new_subpool() local
109 spool = kzalloc(sizeof(*spool), GFP_KERNEL); in hugepage_new_subpool()
110 if (!spool) in hugepage_new_subpool()
[all …]