Lines Matching refs:dquot

761 static int ext3_write_dquot(struct dquot *dquot);
762 static int ext3_acquire_dquot(struct dquot *dquot);
763 static int ext3_release_dquot(struct dquot *dquot);
764 static int ext3_mark_dquot_dirty(struct dquot *dquot);
773 static struct dquot **ext3_get_dquots(struct inode *inode) in ext3_get_dquots()
2874 static inline struct inode *dquot_to_inode(struct dquot *dquot) in dquot_to_inode() argument
2876 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
2879 static int ext3_write_dquot(struct dquot *dquot) in ext3_write_dquot() argument
2885 inode = dquot_to_inode(dquot); in ext3_write_dquot()
2887 EXT3_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext3_write_dquot()
2890 ret = dquot_commit(dquot); in ext3_write_dquot()
2897 static int ext3_acquire_dquot(struct dquot *dquot) in ext3_acquire_dquot() argument
2902 handle = ext3_journal_start(dquot_to_inode(dquot), in ext3_acquire_dquot()
2903 EXT3_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext3_acquire_dquot()
2906 ret = dquot_acquire(dquot); in ext3_acquire_dquot()
2913 static int ext3_release_dquot(struct dquot *dquot) in ext3_release_dquot() argument
2918 handle = ext3_journal_start(dquot_to_inode(dquot), in ext3_release_dquot()
2919 EXT3_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext3_release_dquot()
2922 dquot_release(dquot); in ext3_release_dquot()
2925 ret = dquot_release(dquot); in ext3_release_dquot()
2932 static int ext3_mark_dquot_dirty(struct dquot *dquot) in ext3_mark_dquot_dirty() argument
2935 if (EXT3_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in ext3_mark_dquot_dirty()
2936 EXT3_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { in ext3_mark_dquot_dirty()
2937 dquot_mark_dquot_dirty(dquot); in ext3_mark_dquot_dirty()
2938 return ext3_write_dquot(dquot); in ext3_mark_dquot_dirty()
2940 return dquot_mark_dquot_dirty(dquot); in ext3_mark_dquot_dirty()