Lines Matching refs:t
4915 struct btrfs_transaction *t; in btrfs_cleanup_transaction() local
4921 t = list_first_entry(&fs_info->trans_list, in btrfs_cleanup_transaction()
4923 if (t->state >= TRANS_STATE_COMMIT_PREP) { in btrfs_cleanup_transaction()
4924 refcount_inc(&t->use_count); in btrfs_cleanup_transaction()
4926 btrfs_wait_for_commit(fs_info, t->transid); in btrfs_cleanup_transaction()
4927 btrfs_put_transaction(t); in btrfs_cleanup_transaction()
4931 if (t == fs_info->running_transaction) { in btrfs_cleanup_transaction()
4932 t->state = TRANS_STATE_COMMIT_DOING; in btrfs_cleanup_transaction()
4938 wait_event(t->writer_wait, in btrfs_cleanup_transaction()
4939 atomic_read(&t->num_writers) == 0); in btrfs_cleanup_transaction()
4943 btrfs_cleanup_one_transaction(t, fs_info); in btrfs_cleanup_transaction()
4946 if (t == fs_info->running_transaction) in btrfs_cleanup_transaction()
4948 list_del_init(&t->list); in btrfs_cleanup_transaction()
4951 btrfs_put_transaction(t); in btrfs_cleanup_transaction()