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);
889 /* Write dquot to local quota file */
890 int ocfs2_local_write_dquot(struct dquot *dquot)
892 struct super_block *sb = dquot->dq_sb;
893 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot);
895 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type];
1212 /* Create dquot in the local file for given id */
1213 int ocfs2_create_local_dquot(struct dquot *dquot)
1215 struct super_block *sb = dquot->dq_sb;
1216 int type = dquot->dq_id.type;
1219 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot);
1244 /* Initialize dquot structure on disk */
1245 status = ocfs2_local_write_dquot(dquot);
1264 * Release dquot structure from local quota file. ocfs2_release_dquot() has
1267 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot)
1270 int type = dquot->dq_id.type;
1271 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot);
1272 struct super_block *sb = dquot->dq_sb;