Lines Matching full:od

872 	struct ocfs2_dquot *od = private;  in olq_set_dquot()  local
874 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
877 + ol_dqblk_block_offset(sb, od->dq_local_off)); in olq_set_dquot()
880 od->dq_dquot.dq_id)); in olq_set_dquot()
881 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
882 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
883 od->dq_origspace); in olq_set_dquot()
884 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
885 od->dq_originodes); in olq_set_dquot()
886 spin_unlock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
890 from_kqid(&init_user_ns, od->dq_dquot.dq_id)); in olq_set_dquot()
897 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_write_dquot() local
902 status = ocfs2_read_quota_phys_block(lqinode, od->dq_local_phys_blk, in ocfs2_local_write_dquot()
908 status = ocfs2_modify_bh(lqinode, bh, olq_set_dquot, od); in ocfs2_local_write_dquot()
1223 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_create_local_dquot() local
1240 od->dq_local_off = ol_dqblk_off(sb, chunk->qc_num, offset); in ocfs2_create_local_dquot()
1241 od->dq_chunk = chunk; in ocfs2_create_local_dquot()
1244 &od->dq_local_phys_blk, in ocfs2_create_local_dquot()
1275 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_release_dquot() local
1282 od->dq_chunk->qc_headerbh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_local_release_dquot()
1287 offset = ol_dqblk_chunk_off(sb, od->dq_chunk->qc_num, in ocfs2_local_release_dquot()
1288 od->dq_local_off); in ocfs2_local_release_dquot()
1290 (od->dq_chunk->qc_headerbh->b_data); in ocfs2_local_release_dquot()
1292 lock_buffer(od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()
1295 unlock_buffer(od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()
1296 ocfs2_journal_dirty(handle, od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()