Lines Matching refs:root_id
232 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
234 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
267 if (newref->root_id == sc->root->root_key.objectid && in update_share_count()
392 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument
399 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID) in add_prelim_ref()
406 ref->root_id = root_id; in add_prelim_ref()
433 struct preftrees *preftrees, u64 root_id, in add_indirect_ref() argument
442 return add_prelim_ref(fs_info, tree, root_id, key, level, 0, in add_indirect_ref()
511 ref->root_id != btrfs_header_owner(eb)) { in add_all_parents()
535 ref->root_id != btrfs_header_owner(eb))) { in add_all_parents()
615 root = btrfs_get_fs_root_commit_root(ctx->fs_info, path, ref->root_id); in resolve_indirect_ref()
617 root = btrfs_get_fs_root(ctx->fs_info, ref->root_id, false); in resolve_indirect_ref()
674 ref->root_id, level, ref->count, ret, in resolve_indirect_ref()
775 if (sc && ref->root_id != sc->root->root_key.objectid) { in resolve_indirect_refs()
859 check.owner_root = ref->root_id; in add_missing_keys()
1603 if (ctx->roots && ref->count && ref->root_id && ref->parent == 0) { in find_parent_nodes()
1605 ret = ulist_add(ctx->roots, ref->root_id, 0, GFP_NOFS); in find_parent_nodes()