Lines Matching refs:handle
47 handle_t *handle,
58 handle_t *handle,
371 handle_t *handle; in ocfs2_shutdown_local_alloc() local
418 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_shutdown_local_alloc()
419 if (IS_ERR(handle)) { in ocfs2_shutdown_local_alloc()
420 mlog_errno(PTR_ERR(handle)); in ocfs2_shutdown_local_alloc()
421 handle = NULL; in ocfs2_shutdown_local_alloc()
434 status = ocfs2_journal_access_di(handle, INODE_CACHE(local_alloc_inode), in ocfs2_shutdown_local_alloc()
442 ocfs2_journal_dirty(handle, bh); in ocfs2_shutdown_local_alloc()
448 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_shutdown_local_alloc()
454 ocfs2_commit_trans(osb, handle); in ocfs2_shutdown_local_alloc()
552 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
573 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_complete_local_alloc_recovery()
574 if (IS_ERR(handle)) { in ocfs2_complete_local_alloc_recovery()
575 status = PTR_ERR(handle); in ocfs2_complete_local_alloc_recovery()
576 handle = NULL; in ocfs2_complete_local_alloc_recovery()
582 handle->h_sync = 1; in ocfs2_complete_local_alloc_recovery()
584 status = ocfs2_sync_local_to_main(osb, handle, alloc, in ocfs2_complete_local_alloc_recovery()
589 ocfs2_commit_trans(osb, handle); in ocfs2_complete_local_alloc_recovery()
716 handle_t *handle, in ocfs2_claim_local_alloc_bits() argument
747 status = ocfs2_journal_access_di(handle, in ocfs2_claim_local_alloc_bits()
763 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_claim_local_alloc_bits()
772 handle_t *handle, in ocfs2_free_local_alloc_bits() argument
794 status = ocfs2_journal_access_di(handle, in ocfs2_free_local_alloc_bits()
807 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_free_local_alloc_bits()
950 handle_t *handle, in ocfs2_sync_local_to_main() argument
998 status = ocfs2_release_clusters(handle, in ocfs2_sync_local_to_main()
1149 handle_t *handle, in ocfs2_local_alloc_new_window() argument
1172 status = ocfs2_claim_clusters(handle, ac, osb->local_alloc_bits, in ocfs2_local_alloc_new_window()
1186 status = ocfs2_claim_clusters(handle, ac, in ocfs2_local_alloc_new_window()
1242 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local
1260 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_local_alloc_slide_window()
1261 if (IS_ERR(handle)) { in ocfs2_local_alloc_slide_window()
1262 status = PTR_ERR(handle); in ocfs2_local_alloc_slide_window()
1263 handle = NULL; in ocfs2_local_alloc_slide_window()
1282 status = ocfs2_journal_access_di(handle, in ocfs2_local_alloc_slide_window()
1292 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_local_alloc_slide_window()
1294 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_local_alloc_slide_window()
1301 status = ocfs2_local_alloc_new_window(osb, handle, ac); in ocfs2_local_alloc_slide_window()
1311 if (handle) in ocfs2_local_alloc_slide_window()
1312 ocfs2_commit_trans(osb, handle); in ocfs2_local_alloc_slide_window()