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()
279 if (newref->root_id == btrfs_root_id(sc->root) && in update_share_count()
388 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument
395 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID) in add_prelim_ref()
402 ref->root_id = root_id; in add_prelim_ref()
429 struct preftrees *preftrees, u64 root_id, in add_indirect_ref() argument
438 return add_prelim_ref(fs_info, tree, root_id, key, level, 0, in add_indirect_ref()
507 ref->root_id != btrfs_header_owner(eb)) { in add_all_parents()
531 ref->root_id != btrfs_header_owner(eb))) { in add_all_parents()
611 root = btrfs_get_fs_root_commit_root(ctx->fs_info, path, ref->root_id); in resolve_indirect_ref()
613 root = btrfs_get_fs_root(ctx->fs_info, ref->root_id, false); in resolve_indirect_ref()
670 ref->root_id, level, ref->count, ret, in resolve_indirect_ref()
771 if (sc && ref->root_id != btrfs_root_id(sc->root)) { in resolve_indirect_refs()
855 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()