Lines Matching refs:od

871 	struct ocfs2_dquot *od = private;  in olq_set_dquot()  local
873 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
876 + ol_dqblk_block_offset(sb, od->dq_local_off)); in olq_set_dquot()
879 od->dq_dquot.dq_id)); in olq_set_dquot()
880 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
881 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
882 od->dq_origspace); in olq_set_dquot()
883 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
884 od->dq_originodes); in olq_set_dquot()
885 spin_unlock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
889 from_kqid(&init_user_ns, od->dq_dquot.dq_id)); in olq_set_dquot()
896 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_write_dquot() local
901 status = ocfs2_read_quota_phys_block(lqinode, od->dq_local_phys_blk, in ocfs2_local_write_dquot()
907 status = ocfs2_modify_bh(lqinode, bh, olq_set_dquot, od); in ocfs2_local_write_dquot()
1222 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_create_local_dquot() local
1239 od->dq_local_off = ol_dqblk_off(sb, chunk->qc_num, offset); in ocfs2_create_local_dquot()
1240 od->dq_chunk = chunk; in ocfs2_create_local_dquot()
1243 &od->dq_local_phys_blk, in ocfs2_create_local_dquot()
1274 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_release_dquot() local
1281 od->dq_chunk->qc_headerbh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_local_release_dquot()
1286 offset = ol_dqblk_chunk_off(sb, od->dq_chunk->qc_num, in ocfs2_local_release_dquot()
1287 od->dq_local_off); in ocfs2_local_release_dquot()
1289 (od->dq_chunk->qc_headerbh->b_data); in ocfs2_local_release_dquot()
1291 lock_buffer(od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()
1294 unlock_buffer(od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()
1295 ocfs2_journal_dirty(handle, od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()