Lines Matching refs:root_id
229 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
231 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
264 if (newref->root_id == btrfs_root_id(sc->root) && in update_share_count()
389 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument
396 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID) in add_prelim_ref()
403 ref->root_id = root_id; in add_prelim_ref()
430 struct preftrees *preftrees, u64 root_id, in add_indirect_ref() argument
439 return add_prelim_ref(fs_info, tree, root_id, key, level, 0, in add_indirect_ref()
508 ref->root_id != btrfs_header_owner(eb)) { in add_all_parents()
532 ref->root_id != btrfs_header_owner(eb))) { in add_all_parents()
612 root = btrfs_get_fs_root_commit_root(ctx->fs_info, path, ref->root_id); in resolve_indirect_ref()
614 root = btrfs_get_fs_root(ctx->fs_info, ref->root_id, false); in resolve_indirect_ref()
671 ref->root_id, level, ref->count, ret, in resolve_indirect_ref()
772 if (sc && ref->root_id != btrfs_root_id(sc->root)) { in resolve_indirect_refs()
856 check.owner_root = ref->root_id; in add_missing_keys()
1597 if (ctx->roots && ref->count && ref->root_id && ref->parent == 0) { in find_parent_nodes()
1599 ret = ulist_add(ctx->roots, ref->root_id, 0, GFP_NOFS); in find_parent_nodes()