Lines Matching refs:dquot
466 struct dquot *dquot; in ocfs2_recover_local_quota_file() local
498 dquot = dqget(sb, in ocfs2_recover_local_quota_file()
501 if (IS_ERR(dquot)) { in ocfs2_recover_local_quota_file()
502 status = PTR_ERR(dquot); in ocfs2_recover_local_quota_file()
530 dquot->dq_dqb.dqb_curspace += spacechange; in ocfs2_recover_local_quota_file()
531 dquot->dq_dqb.dqb_curinodes += inodechange; in ocfs2_recover_local_quota_file()
536 status = ocfs2_global_release_dquot(dquot); in ocfs2_recover_local_quota_file()
561 dqput(dquot); in ocfs2_recover_local_quota_file()
895 int ocfs2_local_write_dquot(struct dquot *dquot) in ocfs2_local_write_dquot() argument
897 struct super_block *sb = dquot->dq_sb; in ocfs2_local_write_dquot()
898 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_write_dquot()
900 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; in ocfs2_local_write_dquot()
1218 int ocfs2_create_local_dquot(struct dquot *dquot) in ocfs2_create_local_dquot() argument
1220 struct super_block *sb = dquot->dq_sb; in ocfs2_create_local_dquot()
1221 int type = dquot->dq_id.type; in ocfs2_create_local_dquot()
1224 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_create_local_dquot()
1250 status = ocfs2_local_write_dquot(dquot); in ocfs2_create_local_dquot()
1272 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot) in ocfs2_local_release_dquot() argument
1275 int type = dquot->dq_id.type; in ocfs2_local_release_dquot()
1276 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_release_dquot()
1277 struct super_block *sb = dquot->dq_sb; in ocfs2_local_release_dquot()