Lines Matching refs:handle
61 handle_t *handle,
72 handle_t *handle,
386 handle_t *handle; in ocfs2_shutdown_local_alloc() local
432 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_shutdown_local_alloc()
433 if (IS_ERR(handle)) { in ocfs2_shutdown_local_alloc()
434 mlog_errno(PTR_ERR(handle)); in ocfs2_shutdown_local_alloc()
435 handle = NULL; in ocfs2_shutdown_local_alloc()
449 status = ocfs2_journal_access_di(handle, INODE_CACHE(local_alloc_inode), in ocfs2_shutdown_local_alloc()
457 ocfs2_journal_dirty(handle, bh); in ocfs2_shutdown_local_alloc()
463 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_shutdown_local_alloc()
469 ocfs2_commit_trans(osb, handle); in ocfs2_shutdown_local_alloc()
568 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
589 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_complete_local_alloc_recovery()
590 if (IS_ERR(handle)) { in ocfs2_complete_local_alloc_recovery()
591 status = PTR_ERR(handle); in ocfs2_complete_local_alloc_recovery()
592 handle = NULL; in ocfs2_complete_local_alloc_recovery()
598 handle->h_sync = 1; in ocfs2_complete_local_alloc_recovery()
600 status = ocfs2_sync_local_to_main(osb, handle, alloc, in ocfs2_complete_local_alloc_recovery()
605 ocfs2_commit_trans(osb, handle); in ocfs2_complete_local_alloc_recovery()
733 handle_t *handle, in ocfs2_claim_local_alloc_bits() argument
764 status = ocfs2_journal_access_di(handle, in ocfs2_claim_local_alloc_bits()
780 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_claim_local_alloc_bits()
789 handle_t *handle, in ocfs2_free_local_alloc_bits() argument
811 status = ocfs2_journal_access_di(handle, in ocfs2_free_local_alloc_bits()
824 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_free_local_alloc_bits()
968 handle_t *handle, in ocfs2_sync_local_to_main() argument
1016 status = ocfs2_release_clusters(handle, in ocfs2_sync_local_to_main()
1167 handle_t *handle, in ocfs2_local_alloc_new_window() argument
1190 status = ocfs2_claim_clusters(handle, ac, osb->local_alloc_bits, in ocfs2_local_alloc_new_window()
1204 status = ocfs2_claim_clusters(handle, ac, in ocfs2_local_alloc_new_window()
1260 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local
1278 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_local_alloc_slide_window()
1279 if (IS_ERR(handle)) { in ocfs2_local_alloc_slide_window()
1280 status = PTR_ERR(handle); in ocfs2_local_alloc_slide_window()
1281 handle = NULL; in ocfs2_local_alloc_slide_window()
1301 status = ocfs2_journal_access_di(handle, in ocfs2_local_alloc_slide_window()
1311 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_local_alloc_slide_window()
1313 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_local_alloc_slide_window()
1320 status = ocfs2_local_alloc_new_window(osb, handle, ac); in ocfs2_local_alloc_slide_window()
1330 if (handle) in ocfs2_local_alloc_slide_window()
1331 ocfs2_commit_trans(osb, handle); in ocfs2_local_alloc_slide_window()