Lines Matching refs:clone_roots
90 struct clone_root *clone_roots; member
1235 found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, in __iterate_backrefs()
1392 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1458 if (sctx->clone_roots[i].found_refs) { in find_extent_clone()
1460 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1461 else if (sctx->clone_roots[i].root == sctx->send_root) in find_extent_clone()
1463 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
7163 if (sctx->clone_roots[i].root->node != in ensure_commit_roots_uptodate()
7164 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
7206 root = sctx->clone_roots[i].root; in flush_delalloc_roots()
7334 sctx->clone_roots = kvcalloc(sizeof(*sctx->clone_roots), in btrfs_ioctl_send()
7337 if (!sctx->clone_roots) { in btrfs_ioctl_send()
7384 sctx->clone_roots[i].root = clone_root; in btrfs_ioctl_send()
7421 sctx->clone_roots[sctx->clone_roots_cnt++].root = in btrfs_ioctl_send()
7425 sort(sctx->clone_roots, sctx->clone_roots_cnt, in btrfs_ioctl_send()
7426 sizeof(*sctx->clone_roots), __clone_root_cmp_sort, in btrfs_ioctl_send()
7509 sctx->clone_roots[i].root); in btrfs_ioctl_send()
7510 btrfs_put_root(sctx->clone_roots[i].root); in btrfs_ioctl_send()
7515 sctx->clone_roots[i].root); in btrfs_ioctl_send()
7516 btrfs_put_root(sctx->clone_roots[i].root); in btrfs_ioctl_send()
7532 kvfree(sctx->clone_roots); in btrfs_ioctl_send()