Home
last modified time | relevance | path

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

/linux-4.1.27/mm/
Dhugetlb.c72 static inline void unlock_or_release_subpool(struct hugepage_subpool *spool) in unlock_or_release_subpool() argument
74 bool free = (spool->count == 0) && (spool->used_hpages == 0); in unlock_or_release_subpool()
76 spin_unlock(&spool->lock); in unlock_or_release_subpool()
82 if (spool->min_hpages != -1) in unlock_or_release_subpool()
83 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
84 -spool->min_hpages); in unlock_or_release_subpool()
85 kfree(spool); in unlock_or_release_subpool()
92 struct hugepage_subpool *spool; in hugepage_new_subpool() local
94 spool = kzalloc(sizeof(*spool), GFP_KERNEL); in hugepage_new_subpool()
95 if (!spool) in hugepage_new_subpool()
[all …]
/linux-4.1.27/fs/hugetlbfs/
Dinode.c598 if (sbinfo->spool) { in hugetlbfs_statfs()
601 spin_lock(&sbinfo->spool->lock); in hugetlbfs_statfs()
602 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()
603 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()
604 - sbinfo->spool->used_hpages; in hugetlbfs_statfs()
606 spin_unlock(&sbinfo->spool->lock); in hugetlbfs_statfs()
623 if (sbi->spool) in hugetlbfs_put_super()
624 hugepage_put_subpool(sbi->spool); in hugetlbfs_put_super()
900 sbinfo->spool = NULL; in hugetlbfs_fill_super()
907 sbinfo->spool = hugepage_new_subpool(config.hstate, in hugetlbfs_fill_super()
[all …]
/linux-4.1.27/include/linux/
Dhugetlb.h49 void hugepage_put_subpool(struct hugepage_subpool *spool);
244 struct hugepage_subpool *spool; member
/linux-4.1.27/Documentation/s390/
DDebugging390.txt1527 you can alternatively spool it to another readers guest.