Lines Matching defs:root_id
229 if (ref1->root_id < ref2->root_id)
231 if (ref1->root_id > ref2->root_id)
279 if (newref->root_id == btrfs_root_id(sc->root) &&
388 struct preftree *preftree, u64 root_id,
395 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID)
402 ref->root_id = root_id;
429 struct preftrees *preftrees, u64 root_id,
438 return add_prelim_ref(fs_info, tree, root_id, key, level, 0,
507 ref->root_id != btrfs_header_owner(eb)) {
531 ref->root_id != btrfs_header_owner(eb))) {
587 * resolve an indirect backref in the form (root_id, key, level)
611 root = btrfs_get_fs_root_commit_root(ctx->fs_info, path, ref->root_id);
613 root = btrfs_get_fs_root(ctx->fs_info, ref->root_id, false);
670 ref->root_id, level, ref->count, ret,
770 if (sc && ref->root_id != btrfs_root_id(sc->root)) {
854 check.owner_root = ref->root_id;
1598 if (ctx->roots && ref->count && ref->root_id && ref->parent == 0) {
1600 ret = ulist_add(ctx->roots, ref->root_id, 0, GFP_NOFS);