Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/fs/hugetlbfs/
Dinode.c864 if (sbinfo->spool) { in hugetlbfs_statfs()
867 spin_lock(&sbinfo->spool->lock); in hugetlbfs_statfs()
868 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()
869 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()
870 - sbinfo->spool->used_hpages; in hugetlbfs_statfs()
872 spin_unlock(&sbinfo->spool->lock); in hugetlbfs_statfs()
889 if (sbi->spool) in hugetlbfs_put_super()
890 hugepage_put_subpool(sbi->spool); in hugetlbfs_put_super()
1167 sbinfo->spool = NULL; in hugetlbfs_fill_super()
1174 sbinfo->spool = hugepage_new_subpool(config.hstate, in hugetlbfs_fill_super()
[all …]
/linux-4.4.14/include/linux/
Dhugetlb.h52 void hugepage_put_subpool(struct hugepage_subpool *spool);
254 struct hugepage_subpool *spool; member
/linux-4.4.14/Documentation/s390/
DDebugging390.txt1527 you can alternatively spool it to another readers guest.