Lines Matching refs:clone_roots
96 struct clone_root *clone_roots; member
1205 found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, in __iterate_backrefs()
1358 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1426 if (sctx->clone_roots[i].found_refs) { in find_extent_clone()
1428 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1429 else if (sctx->clone_roots[i].root == sctx->send_root) in find_extent_clone()
1431 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
5893 if (sctx->clone_roots[i].root->node != in ensure_commit_roots_uptodate()
5894 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
6040 sctx->clone_roots = vzalloc(sizeof(struct clone_root) * in btrfs_ioctl_send()
6042 if (!sctx->clone_roots) { in btrfs_ioctl_send()
6088 sctx->clone_roots[i].root = clone_root; in btrfs_ioctl_send()
6128 sctx->clone_roots[sctx->clone_roots_cnt++].root = sctx->send_root; in btrfs_ioctl_send()
6131 sort(sctx->clone_roots, sctx->clone_roots_cnt, in btrfs_ioctl_send()
6132 sizeof(*sctx->clone_roots), __clone_root_cmp_sort, in btrfs_ioctl_send()
6197 sctx->clone_roots[i].root); in btrfs_ioctl_send()
6201 sctx->clone_roots[i].root); in btrfs_ioctl_send()
6215 vfree(sctx->clone_roots); in btrfs_ioctl_send()