Lines Matching refs:handle
61 handle_t *handle,
72 handle_t *handle,
381 handle_t *handle; in ocfs2_shutdown_local_alloc() local
427 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_shutdown_local_alloc()
428 if (IS_ERR(handle)) { in ocfs2_shutdown_local_alloc()
429 mlog_errno(PTR_ERR(handle)); in ocfs2_shutdown_local_alloc()
430 handle = NULL; in ocfs2_shutdown_local_alloc()
444 status = ocfs2_journal_access_di(handle, INODE_CACHE(local_alloc_inode), in ocfs2_shutdown_local_alloc()
452 ocfs2_journal_dirty(handle, bh); in ocfs2_shutdown_local_alloc()
458 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_shutdown_local_alloc()
464 ocfs2_commit_trans(osb, handle); in ocfs2_shutdown_local_alloc()
563 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
584 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_complete_local_alloc_recovery()
585 if (IS_ERR(handle)) { in ocfs2_complete_local_alloc_recovery()
586 status = PTR_ERR(handle); in ocfs2_complete_local_alloc_recovery()
587 handle = NULL; in ocfs2_complete_local_alloc_recovery()
593 handle->h_sync = 1; in ocfs2_complete_local_alloc_recovery()
595 status = ocfs2_sync_local_to_main(osb, handle, alloc, in ocfs2_complete_local_alloc_recovery()
600 ocfs2_commit_trans(osb, handle); in ocfs2_complete_local_alloc_recovery()
728 handle_t *handle, in ocfs2_claim_local_alloc_bits() argument
759 status = ocfs2_journal_access_di(handle, in ocfs2_claim_local_alloc_bits()
775 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_claim_local_alloc_bits()
784 handle_t *handle, in ocfs2_free_local_alloc_bits() argument
806 status = ocfs2_journal_access_di(handle, in ocfs2_free_local_alloc_bits()
819 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_free_local_alloc_bits()
963 handle_t *handle, in ocfs2_sync_local_to_main() argument
1011 status = ocfs2_release_clusters(handle, in ocfs2_sync_local_to_main()
1162 handle_t *handle, in ocfs2_local_alloc_new_window() argument
1185 status = ocfs2_claim_clusters(handle, ac, osb->local_alloc_bits, in ocfs2_local_alloc_new_window()
1199 status = ocfs2_claim_clusters(handle, ac, in ocfs2_local_alloc_new_window()
1255 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local
1273 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_local_alloc_slide_window()
1274 if (IS_ERR(handle)) { in ocfs2_local_alloc_slide_window()
1275 status = PTR_ERR(handle); in ocfs2_local_alloc_slide_window()
1276 handle = NULL; in ocfs2_local_alloc_slide_window()
1296 status = ocfs2_journal_access_di(handle, in ocfs2_local_alloc_slide_window()
1306 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_local_alloc_slide_window()
1308 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_local_alloc_slide_window()
1315 status = ocfs2_local_alloc_new_window(osb, handle, ac); in ocfs2_local_alloc_slide_window()
1325 if (handle) in ocfs2_local_alloc_slide_window()
1326 ocfs2_commit_trans(osb, handle); in ocfs2_local_alloc_slide_window()