Lines Matching refs:ref_root
312 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() argument
326 ref->root_objectid = ref_root; in add_tree_block()
332 be = add_block_entry(fs_info, bytenr, fs_info->nodesize, ref_root); in add_tree_block()
342 ASSERT(ref_root); in add_tree_block()
343 re = lookup_root_entry(&be->roots, ref_root); in add_tree_block()
394 u64 ref_root = btrfs_extent_data_ref_root(leaf, dref); in add_extent_data_ref() local
402 be = add_block_entry(fs_info, bytenr, num_bytes, ref_root); in add_extent_data_ref()
411 ref->root_objectid = ref_root; in add_extent_data_ref()
421 re = lookup_root_entry(&be->roots, ref_root); in add_extent_data_ref()
675 u64 ref_root = 0; in btrfs_ref_tree_mod() local
684 ref_root = generic_ref->tree_ref.owning_root; in btrfs_ref_tree_mod()
687 ref_root = generic_ref->data_ref.owning_root; in btrfs_ref_tree_mod()
704 ref->root_objectid = ref_root; in btrfs_ref_tree_mod()
717 ra->ref.root_objectid = ref_root; in btrfs_ref_tree_mod()
735 be = add_block_entry(fs_info, bytenr, num_bytes, ref_root); in btrfs_ref_tree_mod()
780 ref_root = generic_ref->real_root; in btrfs_ref_tree_mod()
857 re = lookup_root_entry(&be->roots, ref_root); in btrfs_ref_tree_mod()