Lines Matching refs:handle

97 	handle_t *handle;  in ocfs2_modify_bh()  local
100 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_modify_bh()
102 if (IS_ERR(handle)) { in ocfs2_modify_bh()
103 status = PTR_ERR(handle); in ocfs2_modify_bh()
107 status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh, in ocfs2_modify_bh()
111 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_modify_bh()
117 ocfs2_journal_dirty(handle, bh); in ocfs2_modify_bh()
119 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_modify_bh()
467 handle_t *handle; in ocfs2_recover_local_quota_file() local
516 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_recover_local_quota_file()
518 if (IS_ERR(handle)) { in ocfs2_recover_local_quota_file()
519 status = PTR_ERR(handle); in ocfs2_recover_local_quota_file()
542 status = ocfs2_journal_access_dq(handle, in ocfs2_recover_local_quota_file()
554 ocfs2_journal_dirty(handle, qbh); in ocfs2_recover_local_quota_file()
557 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_recover_local_quota_file()
591 handle_t *handle; in ocfs2_finish_quota_recovery() local
647 handle = ocfs2_start_trans(osb, in ocfs2_finish_quota_recovery()
649 if (IS_ERR(handle)) { in ocfs2_finish_quota_recovery()
650 status = PTR_ERR(handle); in ocfs2_finish_quota_recovery()
654 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), in ocfs2_finish_quota_recovery()
664 ocfs2_journal_dirty(handle, bh); in ocfs2_finish_quota_recovery()
666 ocfs2_commit_trans(osb, handle); in ocfs2_finish_quota_recovery()
973 handle_t *handle; in ocfs2_local_quota_add_chunk() local
999 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_local_quota_add_chunk()
1002 if (IS_ERR(handle)) { in ocfs2_local_quota_add_chunk()
1003 status = PTR_ERR(handle); in ocfs2_local_quota_add_chunk()
1023 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, in ocfs2_local_quota_add_chunk()
1035 ocfs2_journal_dirty(handle, bh); in ocfs2_local_quota_add_chunk()
1051 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh, in ocfs2_local_quota_add_chunk()
1060 ocfs2_journal_dirty(handle, dbh); in ocfs2_local_quota_add_chunk()
1070 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_local_quota_add_chunk()
1084 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_local_quota_add_chunk()
1108 handle_t *handle; in ocfs2_extend_local_quota_file() local
1151 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_extend_local_quota_file()
1154 if (IS_ERR(handle)) { in ocfs2_extend_local_quota_file()
1155 status = PTR_ERR(handle); in ocfs2_extend_local_quota_file()
1160 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, in ocfs2_extend_local_quota_file()
1169 ocfs2_journal_dirty(handle, bh); in ocfs2_extend_local_quota_file()
1172 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), in ocfs2_extend_local_quota_file()
1184 ocfs2_journal_dirty(handle, chunk->qc_headerbh); in ocfs2_extend_local_quota_file()
1194 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_extend_local_quota_file()
1202 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_extend_local_quota_file()
1272 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot) in ocfs2_local_release_dquot() argument
1281 status = ocfs2_journal_access_dq(handle, in ocfs2_local_release_dquot()
1297 ocfs2_journal_dirty(handle, od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()