Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dshmem.c251 if (sbinfo->max_blocks) in shmem_inode_unacct_blocks()
1573 if (sbinfo->mpol) { in shmem_get_sbmpol()
1575 mpol = sbinfo->mpol; in shmem_get_sbmpol()
2496 if (sbinfo->noswap) in __shmem_get_inode()
3110 if (sbinfo->max_blocks && end - start > sbinfo->max_blocks) { in shmem_fallocate()
4132 used_isp = sbinfo->max_inodes * BOGO_INODE_SIZE - sbinfo->free_ispace; in shmem_reconfigure()
4261 if (sbinfo->huge) in shmem_show_options()
4267 if (sbinfo->noswap) in shmem_show_options()
4284 kfree(sbinfo); in shmem_put_super()
4298 if (!sbinfo) in shmem_fill_super()
[all …]
H A Dshmem_quota.c170 struct shmem_sb_info *sbinfo = dquot->dq_sb->s_fs_info; in shmem_acquire_dquot() local
203 new_entry->bhardlimit = sbinfo->qlimits.usrquota_bhardlimit; in shmem_acquire_dquot()
204 new_entry->ihardlimit = sbinfo->qlimits.usrquota_ihardlimit; in shmem_acquire_dquot()
206 new_entry->bhardlimit = sbinfo->qlimits.grpquota_bhardlimit; in shmem_acquire_dquot()
207 new_entry->ihardlimit = sbinfo->qlimits.grpquota_ihardlimit; in shmem_acquire_dquot()
241 struct shmem_sb_info *sbinfo = dquot->dq_sb->s_fs_info; in shmem_is_empty_dquot() local
246 bhardlimit = sbinfo->qlimits.usrquota_bhardlimit; in shmem_is_empty_dquot()
247 ihardlimit = sbinfo->qlimits.usrquota_ihardlimit; in shmem_is_empty_dquot()
249 bhardlimit = sbinfo->qlimits.grpquota_bhardlimit; in shmem_is_empty_dquot()
250 ihardlimit = sbinfo->qlimits.grpquota_ihardlimit; in shmem_is_empty_dquot()
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c1221 if (sbinfo) { in hugetlbfs_statfs()
1225 if (sbinfo->spool) { in hugetlbfs_statfs()
1265 sbinfo->free_inodes--; in hugetlbfs_dec_free_inodes()
1276 sbinfo->free_inodes++; in hugetlbfs_inc_free_inodes()
1513 if (!sbinfo) in hugetlbfs_fill_super()
1515 sb->s_fs_info = sbinfo; in hugetlbfs_fill_super()
1520 sbinfo->spool = NULL; in hugetlbfs_fill_super()
1521 sbinfo->uid = ctx->uid; in hugetlbfs_fill_super()
1534 if (!sbinfo->spool) in hugetlbfs_fill_super()
1554 kfree(sbinfo->spool); in hugetlbfs_fill_super()
[all …]