Lines Matching refs:dquot
1056 static int ext4_write_dquot(struct dquot *dquot);
1057 static int ext4_acquire_dquot(struct dquot *dquot);
1058 static int ext4_release_dquot(struct dquot *dquot);
1059 static int ext4_mark_dquot_dirty(struct dquot *dquot);
1073 static struct dquot **ext4_get_dquots(struct inode *inode) in ext4_get_dquots()
5176 static inline struct inode *dquot_to_inode(struct dquot *dquot) in dquot_to_inode() argument
5178 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
5181 static int ext4_write_dquot(struct dquot *dquot) in ext4_write_dquot() argument
5187 inode = dquot_to_inode(dquot); in ext4_write_dquot()
5189 EXT4_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext4_write_dquot()
5192 ret = dquot_commit(dquot); in ext4_write_dquot()
5199 static int ext4_acquire_dquot(struct dquot *dquot) in ext4_acquire_dquot() argument
5204 handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA, in ext4_acquire_dquot()
5205 EXT4_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext4_acquire_dquot()
5208 ret = dquot_acquire(dquot); in ext4_acquire_dquot()
5215 static int ext4_release_dquot(struct dquot *dquot) in ext4_release_dquot() argument
5220 handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA, in ext4_release_dquot()
5221 EXT4_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext4_release_dquot()
5224 dquot_release(dquot); in ext4_release_dquot()
5227 ret = dquot_release(dquot); in ext4_release_dquot()
5234 static int ext4_mark_dquot_dirty(struct dquot *dquot) in ext4_mark_dquot_dirty() argument
5236 struct super_block *sb = dquot->dq_sb; in ext4_mark_dquot_dirty()
5242 dquot_mark_dquot_dirty(dquot); in ext4_mark_dquot_dirty()
5243 return ext4_write_dquot(dquot); in ext4_mark_dquot_dirty()
5245 return dquot_mark_dquot_dirty(dquot); in ext4_mark_dquot_dirty()