Lines Matching refs:transid

108 static void wait_log_commit(struct btrfs_root *root, int transid);
576 trans->transid); in do_overwrite_item()
3030 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit() argument
3033 int index = transid % 2; in wait_log_commit()
3044 if (!(root->log_transid_committed < transid && in wait_log_commit()
3482 if (inode->logged_trans == trans->transid) in inode_logged()
3498 inode->last_trans == trans->transid && in inode_logged()
3794 if ((btrfs_dir_transid(src, di) == trans->transid || in process_dir_items_leaf()
3885 ret = btrfs_search_forward(root, &min_key, path, trans->transid); in log_dir_items()
3980 if (btrfs_header_generation(path->nodes[0]) != trans->transid) { in log_dir_items()
4051 if (inode->logged_trans != trans->transid) { in log_directory_changes()
4215 btrfs_set_token_inode_transid(&token, item, trans->transid); in fill_inode_item()
4240 if (!inode_item_dropped && inode->logged_trans == trans->transid) { in log_inode_item()
4283 if (inode->last_reflink_trans < trans->transid) in log_csums()
4392 if (btrfs_file_extent_generation(src, extent) < trans->transid) in copy_items()
4623 btrfs_set_token_file_extent_generation(&token, fi, trans->transid); in log_one_extent()
4823 if (em->generation < trans->transid) in btrfs_log_changed_extents()
5351 if (BTRFS_I(inode)->logged_trans == trans->transid) { in log_conflicting_inodes()
5446 ret = btrfs_search_forward(root, min_key, path, trans->transid); in copy_inode_items_to_log()
5465 inode->generation == trans->transid && in copy_inode_items_to_log()
5652 inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode()
5759 if (!xattrs_logged && inode->logged_trans < trans->transid) { in btrfs_log_inode()
5790 inode->logged_trans = trans->transid; in btrfs_log_inode()
5849 if (S_ISDIR(inode->vfs_inode.i_mode) && inode->last_trans < trans->transid) in need_log_inode()
5861 if (inode->logged_trans == trans->transid && in need_log_inode()
5963 ret = btrfs_search_forward(log, &min_key, path, trans->transid); in log_new_dir_dentries()
5989 if (btrfs_dir_transid(leaf, di) < trans->transid && in log_new_dir_dentries()
6202 if (BTRFS_I(inode)->generation >= trans->transid && in log_new_ancestors()
6257 if (inode->generation >= trans->transid && in log_new_ancestors_fast()
6391 if ((btrfs_inode_in_log(inode, trans->transid) && in btrfs_log_inode_parent()
6413 inode->generation < trans->transid && in btrfs_log_inode_parent()
6414 inode->last_unlink_trans < trans->transid) { in btrfs_log_inode_parent()
6463 if (inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode_parent()
6712 inode->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
6719 if (dir->logged_trans == trans->transid) in btrfs_record_unlink_dir()
6726 if (inode->logged_trans == trans->transid) in btrfs_record_unlink_dir()
6744 dir->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
6764 dir->last_unlink_trans = trans->transid; in btrfs_record_snapshot_destroy()
6783 inode->last_unlink_trans = trans->transid; in btrfs_log_new_name()