Lines Matching refs:dquot

1073 static int ext4_write_dquot(struct dquot *dquot);
1074 static int ext4_acquire_dquot(struct dquot *dquot);
1075 static int ext4_release_dquot(struct dquot *dquot);
1076 static int ext4_mark_dquot_dirty(struct dquot *dquot);
1090 static struct dquot **ext4_get_dquots(struct inode *inode) in ext4_get_dquots()
4841 static inline struct inode *dquot_to_inode(struct dquot *dquot) in dquot_to_inode() argument
4843 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
4846 static int ext4_write_dquot(struct dquot *dquot) in ext4_write_dquot() argument
4852 inode = dquot_to_inode(dquot); in ext4_write_dquot()
4854 EXT4_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext4_write_dquot()
4857 ret = dquot_commit(dquot); in ext4_write_dquot()
4864 static int ext4_acquire_dquot(struct dquot *dquot) in ext4_acquire_dquot() argument
4869 handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA, in ext4_acquire_dquot()
4870 EXT4_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext4_acquire_dquot()
4873 ret = dquot_acquire(dquot); in ext4_acquire_dquot()
4880 static int ext4_release_dquot(struct dquot *dquot) in ext4_release_dquot() argument
4885 handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA, in ext4_release_dquot()
4886 EXT4_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext4_release_dquot()
4889 dquot_release(dquot); in ext4_release_dquot()
4892 ret = dquot_release(dquot); in ext4_release_dquot()
4899 static int ext4_mark_dquot_dirty(struct dquot *dquot) in ext4_mark_dquot_dirty() argument
4901 struct super_block *sb = dquot->dq_sb; in ext4_mark_dquot_dirty()
4907 dquot_mark_dquot_dirty(dquot); in ext4_mark_dquot_dirty()
4908 return ext4_write_dquot(dquot); in ext4_mark_dquot_dirty()
4910 return dquot_mark_dquot_dirty(dquot); in ext4_mark_dquot_dirty()