Lines Matching defs:root_id
232 if (ref1->root_id < ref2->root_id)
234 if (ref1->root_id > ref2->root_id)
267 if (newref->root_id == sc->root->root_key.objectid &&
392 struct preftree *preftree, u64 root_id,
399 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID)
406 ref->root_id = root_id;
433 struct preftrees *preftrees, u64 root_id,
442 return add_prelim_ref(fs_info, tree, root_id, key, level, 0,
511 ref->root_id != btrfs_header_owner(eb)) {
535 ref->root_id != btrfs_header_owner(eb))) {
591 * resolve an indirect backref in the form (root_id, key, level)
615 root = btrfs_get_fs_root_commit_root(ctx->fs_info, path, ref->root_id);
617 root = btrfs_get_fs_root(ctx->fs_info, ref->root_id, false);
674 ref->root_id, level, ref->count, ret,
775 if (sc && ref->root_id != sc->root->root_key.objectid) {
859 check.owner_root = ref->root_id;
1603 if (ctx->roots && ref->count && ref->root_id && ref->parent == 0) {
1605 ret = ulist_add(ctx->roots, ref->root_id, 0, GFP_NOFS);