Lines Matching refs:dquot
70 /* Offset of the dquot structure in the quota file */
466 struct dquot *dquot;
498 dquot = dqget(sb,
501 if (IS_ERR(dquot)) {
502 status = PTR_ERR(dquot);
524 spin_lock(&dquot->dq_dqb_lock);
530 dquot->dq_dqb.dqb_curspace += spacechange;
531 dquot->dq_dqb.dqb_curinodes += inodechange;
532 spin_unlock(&dquot->dq_dqb_lock);
536 status = ocfs2_global_release_dquot(dquot);
561 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);
1247 /* Initialize dquot structure on disk */
1248 status = ocfs2_local_write_dquot(dquot);
1267 * Release dquot structure from local quota file. ocfs2_release_dquot() has
1270 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot)
1273 int type = dquot->dq_id.type;
1274 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot);
1275 struct super_block *sb = dquot->dq_sb;