Lines Matching refs:transid
174 fs_info->last_reloc_trans = trans->transid; in switch_commit_roots()
372 cur_trans->transid = fs_info->generation; in join_transaction()
394 root->last_trans < trans->transid) || force) { in record_root_in_trans()
410 if (root->last_trans == trans->transid && !force) { in record_root_in_trans()
418 root->last_trans = trans->transid; in record_root_in_trans()
480 if (root->last_trans == trans->transid && in btrfs_record_root_in_trans()
672 h->transid = cur_trans->transid; in start_transaction()
690 h->transid, num_bytes, 1); in start_transaction()
828 u64 transid = commit->transid; in wait_for_commit() local
859 if (!commit || commit->transid > transid) { in wait_for_commit()
869 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid) in btrfs_wait_for_commit() argument
874 if (transid) { in btrfs_wait_for_commit()
875 if (transid <= fs_info->last_trans_committed) in btrfs_wait_for_commit()
881 if (t->transid == transid) { in btrfs_wait_for_commit()
887 if (t->transid > transid) { in btrfs_wait_for_commit()
899 if (transid > fs_info->last_trans_committed) in btrfs_wait_for_commit()
968 trans->transid, trans->bytes_reserved, 0); in btrfs_trans_release_metadata()
1658 trans->transid, in create_pending_snapshot()
1706 btrfs_set_root_last_snapshot(&root->root_item, trans->transid); in create_pending_snapshot()
1718 trans->transid); in create_pending_snapshot()
1732 btrfs_set_root_otransid(new_root_item, trans->transid); in create_pending_snapshot()
1758 key.offset = trans->transid; in create_pending_snapshot()
2482 fs_info->last_trans_committed = cur_trans->transid; in btrfs_commit_transaction()