Lines Matching refs:hugepage_subpool
102 static inline bool subpool_is_free(struct hugepage_subpool *spool) in subpool_is_free()
114 static inline void unlock_or_release_subpool(struct hugepage_subpool *spool, in unlock_or_release_subpool()
130 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool()
133 struct hugepage_subpool *spool; in hugepage_new_subpool()
154 void hugepage_put_subpool(struct hugepage_subpool *spool) in hugepage_put_subpool()
172 static long hugepage_subpool_get_pages(struct hugepage_subpool *spool, in hugepage_subpool_get_pages()
217 static long hugepage_subpool_put_pages(struct hugepage_subpool *spool, in hugepage_subpool_put_pages()
252 static inline struct hugepage_subpool *subpool_inode(struct inode *inode) in subpool_inode()
257 static inline struct hugepage_subpool *subpool_vma(struct vm_area_struct *vma) in subpool_vma()
936 struct hugepage_subpool *spool = subpool_inode(inode); in hugetlb_fix_reserve_counts()
1895 struct hugepage_subpool *spool = hugetlb_folio_subpool(folio); in free_huge_folio()
3040 struct hugepage_subpool *spool = subpool_vma(vma); in alloc_hugetlb_folio()
4873 struct hugepage_subpool *spool = subpool_vma(vma); in hugetlb_vm_op_close()
6710 struct hugepage_subpool *spool = subpool_inode(inode); in hugetlb_reserve_pages()
6869 struct hugepage_subpool *spool = subpool_inode(inode); in hugetlb_unreserve_pages()