Lines Matching refs:cur_trans
4262 static void btrfs_free_pending_ordered(struct btrfs_transaction *cur_trans, in btrfs_free_pending_ordered() argument
4268 while (!list_empty(&cur_trans->pending_ordered)) { in btrfs_free_pending_ordered()
4269 ordered = list_first_entry(&cur_trans->pending_ordered, in btrfs_free_pending_ordered()
4281 void btrfs_cleanup_one_transaction(struct btrfs_transaction *cur_trans, in btrfs_cleanup_one_transaction() argument
4284 btrfs_destroy_delayed_refs(cur_trans, root); in btrfs_cleanup_one_transaction()
4286 cur_trans->state = TRANS_STATE_COMMIT_START; in btrfs_cleanup_one_transaction()
4289 cur_trans->state = TRANS_STATE_UNBLOCKED; in btrfs_cleanup_one_transaction()
4292 btrfs_free_pending_ordered(cur_trans, root->fs_info); in btrfs_cleanup_one_transaction()
4296 btrfs_destroy_marked_extents(root, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction()
4301 cur_trans->state =TRANS_STATE_COMPLETED; in btrfs_cleanup_one_transaction()
4302 wake_up(&cur_trans->commit_wait); in btrfs_cleanup_one_transaction()