Lines Matching refs:clone_roots
90 struct clone_root *clone_roots; member
1232 found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, in __iterate_backrefs()
1383 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1436 if (sctx->clone_roots[i].found_refs) { in find_extent_clone()
1438 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1439 else if (sctx->clone_roots[i].root == sctx->send_root) in find_extent_clone()
1441 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
7137 if (sctx->clone_roots[i].root->node != in ensure_commit_roots_uptodate()
7138 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
7180 root = sctx->clone_roots[i].root; in flush_delalloc_roots()
7308 sctx->clone_roots = kvcalloc(sizeof(*sctx->clone_roots), in btrfs_ioctl_send()
7311 if (!sctx->clone_roots) { in btrfs_ioctl_send()
7358 sctx->clone_roots[i].root = clone_root; in btrfs_ioctl_send()
7395 sctx->clone_roots[sctx->clone_roots_cnt++].root = in btrfs_ioctl_send()
7399 sort(sctx->clone_roots, sctx->clone_roots_cnt, in btrfs_ioctl_send()
7400 sizeof(*sctx->clone_roots), __clone_root_cmp_sort, in btrfs_ioctl_send()
7481 sctx->clone_roots[i].root); in btrfs_ioctl_send()
7482 btrfs_put_root(sctx->clone_roots[i].root); in btrfs_ioctl_send()
7487 sctx->clone_roots[i].root); in btrfs_ioctl_send()
7488 btrfs_put_root(sctx->clone_roots[i].root); in btrfs_ioctl_send()
7504 kvfree(sctx->clone_roots); in btrfs_ioctl_send()