Lines Matching refs:root_key
2269 if (data_ref->root != root->root_key.objectid || in check_delayed_ref()
2347 root->root_key.objectid || in check_committed_ref()
2436 key.offset, root->root_key.objectid, in __btrfs_mod_ref()
2450 root->root_key.objectid, for_reloc); in __btrfs_mod_ref()
4550 bool for_treelog = (root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID); in btrfs_reserve_extent()
4801 BUG_ON(root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID); in btrfs_alloc_reserved_file_extent()
4805 btrfs_init_data_ref(&generic_ref, root->root_key.objectid, owner, in btrfs_alloc_reserved_file_extent()
4922 if (root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID) { in btrfs_init_new_buffer()
5017 root->root_key.objectid, false); in btrfs_alloc_tree_block()
5097 generation <= root->root_key.offset) in reada_walk_down()
5117 generation <= root->root_key.offset) in reada_walk_down()
5156 btrfs_header_owner(eb) != root->root_key.objectid) in walk_down_proc()
5230 root->root_key.objectid, level, 0); in check_ref_exists()
5278 generation <= root->root_key.offset) { in do_walk_down()
5290 root->root_key.objectid, level - 1); in do_walk_down()
5318 generation <= root->root_key.offset) in do_walk_down()
5346 next = read_tree_block(fs_info, bytenr, root->root_key.objectid, in do_walk_down()
5378 ASSERT(root->root_key.objectid == in do_walk_down()
5380 if (root->root_key.objectid != in do_walk_down()
5412 if (root->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID && in do_walk_down()
5434 btrfs_init_tree_ref(&ref, level - 1, root->root_key.objectid, in do_walk_down()
5525 if (is_fstree(root->root_key.objectid)) { in walk_up_proc()
5546 else if (root->root_key.objectid != btrfs_header_owner(eb)) in walk_up_proc()
5551 else if (root->root_key.objectid != in walk_up_proc()
5565 btrfs_header_owner(eb), root->root_key.objectid); in walk_up_proc()
5651 const bool is_reloc_root = (root->root_key.objectid == in btrfs_drop_snapshot()
5666 btrfs_debug(fs_info, "Drop subvolume %llu", root->root_key.objectid); in btrfs_drop_snapshot()
5804 &root->root_key, in btrfs_drop_snapshot()
5842 ret = btrfs_del_root(trans, &root->root_key); in btrfs_drop_snapshot()
5850 ret = btrfs_find_root(tree_root, &root->root_key, path, in btrfs_drop_snapshot()
5863 root->root_key.objectid); in btrfs_drop_snapshot()
5927 BUG_ON(root->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID); in btrfs_drop_subtree()