Lines Matching refs:handle
224 handle_t *handle = journal_current_handle(); in ocfs2_quota_write() local
227 if (!handle) { in ocfs2_quota_write()
278 err = ocfs2_journal_access_dq(handle, INODE_CACHE(gqinode), bh, in ocfs2_quota_write()
284 ocfs2_journal_dirty(handle, bh); in ocfs2_quota_write()
292 ocfs2_mark_inode_dirty(handle, gqinode, oinfo->dqi_gqi_bh); in ocfs2_quota_write()
593 handle_t *handle; in ocfs2_sync_dquot_helper() local
608 handle = ocfs2_start_trans(osb, OCFS2_QSYNC_CREDITS); in ocfs2_sync_dquot_helper()
609 if (IS_ERR(handle)) { in ocfs2_sync_dquot_helper()
610 status = PTR_ERR(handle); in ocfs2_sync_dquot_helper()
623 ocfs2_commit_trans(osb, handle); in ocfs2_sync_dquot_helper()
648 handle_t *handle; in ocfs2_write_dquot() local
655 handle = ocfs2_start_trans(osb, OCFS2_QWRITE_CREDITS); in ocfs2_write_dquot()
656 if (IS_ERR(handle)) { in ocfs2_write_dquot()
657 status = PTR_ERR(handle); in ocfs2_write_dquot()
664 ocfs2_commit_trans(osb, handle); in ocfs2_write_dquot()
706 handle_t *handle; in ocfs2_release_dquot() local
735 handle = ocfs2_start_trans(osb, in ocfs2_release_dquot()
737 if (IS_ERR(handle)) { in ocfs2_release_dquot()
738 status = PTR_ERR(handle); in ocfs2_release_dquot()
748 status = ocfs2_local_release_dquot(handle, dquot); in ocfs2_release_dquot()
763 ocfs2_commit_trans(osb, handle); in ocfs2_release_dquot()
788 handle_t *handle; in ocfs2_acquire_dquot() local
829 handle = ocfs2_start_trans(osb, in ocfs2_acquire_dquot()
831 if (IS_ERR(handle)) { in ocfs2_acquire_dquot()
832 status = PTR_ERR(handle); in ocfs2_acquire_dquot()
846 ocfs2_commit_trans(osb, handle); in ocfs2_acquire_dquot()
876 handle_t *handle; in ocfs2_mark_dquot_dirty() local
897 handle = ocfs2_start_trans(osb, OCFS2_QSYNC_CREDITS); in ocfs2_mark_dquot_dirty()
898 if (IS_ERR(handle)) { in ocfs2_mark_dquot_dirty()
899 status = PTR_ERR(handle); in ocfs2_mark_dquot_dirty()
913 ocfs2_commit_trans(osb, handle); in ocfs2_mark_dquot_dirty()
925 handle_t *handle; in ocfs2_write_info() local
932 handle = ocfs2_start_trans(OCFS2_SB(sb), OCFS2_QINFO_WRITE_CREDITS); in ocfs2_write_info()
933 if (IS_ERR(handle)) { in ocfs2_write_info()
934 status = PTR_ERR(handle); in ocfs2_write_info()
939 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_write_info()