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()
468 handle_t *handle; in ocfs2_recover_local_quota_file() local
517 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_recover_local_quota_file()
519 if (IS_ERR(handle)) { in ocfs2_recover_local_quota_file()
520 status = PTR_ERR(handle); in ocfs2_recover_local_quota_file()
543 status = ocfs2_journal_access_dq(handle, in ocfs2_recover_local_quota_file()
555 ocfs2_journal_dirty(handle, qbh); in ocfs2_recover_local_quota_file()
558 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_recover_local_quota_file()
592 handle_t *handle; in ocfs2_finish_quota_recovery() local
648 handle = ocfs2_start_trans(osb, in ocfs2_finish_quota_recovery()
650 if (IS_ERR(handle)) { in ocfs2_finish_quota_recovery()
651 status = PTR_ERR(handle); in ocfs2_finish_quota_recovery()
655 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), in ocfs2_finish_quota_recovery()
665 ocfs2_journal_dirty(handle, bh); in ocfs2_finish_quota_recovery()
667 ocfs2_commit_trans(osb, handle); in ocfs2_finish_quota_recovery()
974 handle_t *handle; in ocfs2_local_quota_add_chunk() local
1000 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_local_quota_add_chunk()
1003 if (IS_ERR(handle)) { in ocfs2_local_quota_add_chunk()
1004 status = PTR_ERR(handle); in ocfs2_local_quota_add_chunk()
1024 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, in ocfs2_local_quota_add_chunk()
1036 ocfs2_journal_dirty(handle, bh); in ocfs2_local_quota_add_chunk()
1052 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh, in ocfs2_local_quota_add_chunk()
1061 ocfs2_journal_dirty(handle, dbh); in ocfs2_local_quota_add_chunk()
1071 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_local_quota_add_chunk()
1085 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_local_quota_add_chunk()
1109 handle_t *handle; in ocfs2_extend_local_quota_file() local
1152 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_extend_local_quota_file()
1155 if (IS_ERR(handle)) { in ocfs2_extend_local_quota_file()
1156 status = PTR_ERR(handle); in ocfs2_extend_local_quota_file()
1161 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh, in ocfs2_extend_local_quota_file()
1170 ocfs2_journal_dirty(handle, bh); in ocfs2_extend_local_quota_file()
1173 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), in ocfs2_extend_local_quota_file()
1185 ocfs2_journal_dirty(handle, chunk->qc_headerbh); in ocfs2_extend_local_quota_file()
1195 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_extend_local_quota_file()
1203 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_extend_local_quota_file()
1273 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot) in ocfs2_local_release_dquot() argument
1282 status = ocfs2_journal_access_dq(handle, in ocfs2_local_release_dquot()
1298 ocfs2_journal_dirty(handle, od->dq_chunk->qc_headerbh); in ocfs2_local_release_dquot()