Lines Matching refs:dquot
70 /* Offset of the dquot structure in the quota file */
466 struct dquot *dquot;
499 dquot = dqget(sb,
502 if (IS_ERR(dquot)) {
503 status = PTR_ERR(dquot);
526 spin_lock(&dquot->dq_dqb_lock);
532 dquot->dq_dqb.dqb_curspace += spacechange;
533 dquot->dq_dqb.dqb_curinodes += inodechange;
534 spin_unlock(&dquot->dq_dqb_lock);
538 status = ocfs2_global_release_dquot(dquot);
564 dqput(dquot);
892 /* Write dquot to local quota file */
893 int ocfs2_local_write_dquot(struct dquot *dquot)
895 struct super_block *sb = dquot->dq_sb;
896 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot);
898 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type];
1215 /* Create dquot in the local file for given id */
1216 int ocfs2_create_local_dquot(struct dquot *dquot)
1218 struct super_block *sb = dquot->dq_sb;
1219 int type = dquot->dq_id.type;
1222 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot);
1251 /* Initialize dquot structure on disk */
1252 status = ocfs2_local_write_dquot(dquot);
1271 * Release dquot structure from local quota file. ocfs2_release_dquot() has
1274 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot)
1277 int type = dquot->dq_id.type;
1278 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot);
1279 struct super_block *sb = dquot->dq_sb;