Lines Matching refs:dquot
1693 struct dquot *dquot; in f2fs_statfs_project() local
1698 dquot = dqget(sb, qid); in f2fs_statfs_project()
1699 if (IS_ERR(dquot)) in f2fs_statfs_project()
1700 return PTR_ERR(dquot); in f2fs_statfs_project()
1701 spin_lock(&dquot->dq_dqb_lock); in f2fs_statfs_project()
1703 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in f2fs_statfs_project()
1704 dquot->dq_dqb.dqb_bhardlimit); in f2fs_statfs_project()
1709 curblock = (dquot->dq_dqb.dqb_curspace + in f2fs_statfs_project()
1710 dquot->dq_dqb.dqb_rsvspace) >> sb->s_blocksize_bits; in f2fs_statfs_project()
1717 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in f2fs_statfs_project()
1718 dquot->dq_dqb.dqb_ihardlimit); in f2fs_statfs_project()
1723 (buf->f_files > dquot->dq_dqb.dqb_curinodes) ? in f2fs_statfs_project()
1724 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0; in f2fs_statfs_project()
1727 spin_unlock(&dquot->dq_dqb_lock); in f2fs_statfs_project()
1728 dqput(dquot); in f2fs_statfs_project()
2578 static struct dquot **f2fs_get_dquots(struct inode *inode) in f2fs_get_dquots()
2875 static int f2fs_dquot_commit(struct dquot *dquot) in f2fs_dquot_commit() argument
2877 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_commit()
2881 ret = dquot_commit(dquot); in f2fs_dquot_commit()
2888 static int f2fs_dquot_acquire(struct dquot *dquot) in f2fs_dquot_acquire() argument
2890 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_acquire()
2894 ret = dquot_acquire(dquot); in f2fs_dquot_acquire()
2901 static int f2fs_dquot_release(struct dquot *dquot) in f2fs_dquot_release() argument
2903 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_release()
2904 int ret = dquot_release(dquot); in f2fs_dquot_release()
2911 static int f2fs_dquot_mark_dquot_dirty(struct dquot *dquot) in f2fs_dquot_mark_dquot_dirty() argument
2913 struct super_block *sb = dquot->dq_sb; in f2fs_dquot_mark_dquot_dirty()
2915 int ret = dquot_mark_dquot_dirty(dquot); in f2fs_dquot_mark_dquot_dirty()