Lines Matching full:od
875 struct ocfs2_dquot *od = private; in olq_set_dquot() local
877 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
880 + ol_dqblk_block_offset(sb, od->dq_local_off)); in olq_set_dquot()
883 od->dq_dquot.dq_id)); in olq_set_dquot()
884 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
885 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
886 od->dq_origspace); in olq_set_dquot()
887 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
888 od->dq_originodes); in olq_set_dquot()
889 spin_unlock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
893 from_kqid(&init_user_ns, od->dq_dquot.dq_id)); in olq_set_dquot()
900 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_write_dquot() local
905 status = ocfs2_read_quota_phys_block(lqinode, od->dq_local_phys_blk, in ocfs2_local_write_dquot()
911 status = ocfs2_modify_bh(lqinode, bh, olq_set_dquot, od); in ocfs2_local_write_dquot()
1226 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_create_local_dquot() local
1243 od->dq_local_off = ol_dqblk_off(sb, chunk->qc_num, offset); in ocfs2_create_local_dquot()
1244 od->dq_chunk = chunk; in ocfs2_create_local_dquot()
1247 &od->dq_local_phys_blk, in ocfs2_create_local_dquot()
1282 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); in ocfs2_local_release_dquot() local
1289 od->dq_chunk->qc_headerbh, OCFS2_JOURNAL_ACCESS_WRITE); in ocfs2_local_release_dquot()
1294 offset = ol_dqblk_chunk_off(sb, od->dq_chunk->qc_num, in ocfs2_local_release_dquot()
1295 od->dq_local_off); in ocfs2_local_release_dquot()
1297 (od->dq_chunk->qc_headerbh->b_data); in ocfs2_local_release_dquot()
1299 lock_buffer(od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()
1302 unlock_buffer(od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()
1303 ocfs2_journal_dirty(handle, od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()