Lines Matching refs:clone_roots
96 struct clone_root *clone_roots; member
1201 found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, in __iterate_backrefs()
1354 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1409 if (sctx->clone_roots[i].found_refs) { in find_extent_clone()
1411 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1412 else if (sctx->clone_roots[i].root == sctx->send_root) in find_extent_clone()
1414 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
5644 if (sctx->clone_roots[i].root->node != in ensure_commit_roots_uptodate()
5645 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
5791 sctx->clone_roots = vzalloc(sizeof(struct clone_root) * in btrfs_ioctl_send()
5793 if (!sctx->clone_roots) { in btrfs_ioctl_send()
5839 sctx->clone_roots[i].root = clone_root; in btrfs_ioctl_send()
5879 sctx->clone_roots[sctx->clone_roots_cnt++].root = sctx->send_root; in btrfs_ioctl_send()
5882 sort(sctx->clone_roots, sctx->clone_roots_cnt, in btrfs_ioctl_send()
5883 sizeof(*sctx->clone_roots), __clone_root_cmp_sort, in btrfs_ioctl_send()
5948 sctx->clone_roots[i].root); in btrfs_ioctl_send()
5952 sctx->clone_roots[i].root); in btrfs_ioctl_send()
5966 vfree(sctx->clone_roots); in btrfs_ioctl_send()