Lines Matching refs:new_bytenr

39 	u64 new_bytenr;  member
496 update_backref_node(cache, node, node->new_bytenr); in update_backref_cache()
506 if (node->bytenr == node->new_bytenr) in update_backref_cache()
508 update_backref_node(cache, node, node->new_bytenr); in update_backref_cache()
1178 BUG_ON(node->new_bytenr != reloc_root->node->start); in clone_backref_node()
1308 static int __update_reloc_root(struct btrfs_root *root, u64 new_bytenr) in __update_reloc_root() argument
1329 node->bytenr = new_bytenr; in __update_reloc_root()
1553 static int get_new_location(struct inode *reloc_inode, u64 *new_bytenr, in get_new_location() argument
1590 *new_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in get_new_location()
1613 u64 new_bytenr = 0; in replace_file_extents() local
1679 ret = get_new_location(rc->data_inode, &new_bytenr, in replace_file_extents()
1689 btrfs_set_file_extent_disk_bytenr(leaf, fi, new_bytenr); in replace_file_extents()
1693 ret = btrfs_inc_extent_ref(trans, root, new_bytenr, in replace_file_extents()
1748 u64 new_bytenr; in replace_path() local
1809 new_bytenr = btrfs_node_blockptr(eb, in replace_path()
1814 new_bytenr = 0; in replace_path()
1818 if (WARN_ON(new_bytenr > 0 && new_bytenr == old_bytenr)) { in replace_path()
1823 if (new_bytenr == 0 || old_ptr_gen > last_snapshot || in replace_path()
1896 btrfs_set_node_blockptr(parent, slot, new_bytenr); in replace_path()
1910 ret = btrfs_inc_extent_ref(trans, dest, new_bytenr, in replace_path()
1915 ret = btrfs_free_extent(trans, src, new_bytenr, blocksize, in replace_path()
2493 if (next->new_bytenr != root->node->start) { in select_reloc_root()
2494 BUG_ON(next->new_bytenr); in select_reloc_root()
2496 next->new_bytenr = root->node->start; in select_reloc_root()
2954 BUG_ON(node->new_bytenr); in relocate_tree_block()
2958 node->new_bytenr = root->node->start; in relocate_tree_block()
4520 u64 new_bytenr; in btrfs_reloc_clone_csums() local
4548 new_bytenr = ordered->start + (sums->bytenr - disk_bytenr); in btrfs_reloc_clone_csums()
4549 sums->bytenr = new_bytenr; in btrfs_reloc_clone_csums()
4592 node->new_bytenr != buf->start); in btrfs_reloc_cow_block()
4597 node->new_bytenr = cow->start; in btrfs_reloc_cow_block()