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()
729 handle_t *handle, in ocfs2_claim_local_alloc_bits() argument
760 status = ocfs2_journal_access_di(handle, in ocfs2_claim_local_alloc_bits()
776 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_claim_local_alloc_bits()
785 handle_t *handle, in ocfs2_free_local_alloc_bits() argument
807 status = ocfs2_journal_access_di(handle, in ocfs2_free_local_alloc_bits()
820 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_free_local_alloc_bits()
964 handle_t *handle, in ocfs2_sync_local_to_main() argument
1012 status = ocfs2_release_clusters(handle, in ocfs2_sync_local_to_main()
1163 handle_t *handle, in ocfs2_local_alloc_new_window() argument
1186 status = ocfs2_claim_clusters(handle, ac, osb->local_alloc_bits, in ocfs2_local_alloc_new_window()
1200 status = ocfs2_claim_clusters(handle, ac, in ocfs2_local_alloc_new_window()
1256 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local
1274 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_local_alloc_slide_window()
1275 if (IS_ERR(handle)) { in ocfs2_local_alloc_slide_window()
1276 status = PTR_ERR(handle); in ocfs2_local_alloc_slide_window()
1277 handle = NULL; in ocfs2_local_alloc_slide_window()
1297 status = ocfs2_journal_access_di(handle, in ocfs2_local_alloc_slide_window()
1307 ocfs2_journal_dirty(handle, osb->local_alloc_bh); in ocfs2_local_alloc_slide_window()
1309 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_local_alloc_slide_window()
1316 status = ocfs2_local_alloc_new_window(osb, handle, ac); in ocfs2_local_alloc_slide_window()
1326 if (handle) in ocfs2_local_alloc_slide_window()
1327 ocfs2_commit_trans(osb, handle); in ocfs2_local_alloc_slide_window()