Lines Matching refs:clone_roots
81 struct clone_root *clone_roots; member
1220 found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, in __iterate_backrefs()
1368 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1434 if (sctx->clone_roots[i].found_refs) { in find_extent_clone()
1436 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1437 else if (sctx->clone_roots[i].root == sctx->send_root) in find_extent_clone()
1439 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
6560 if (sctx->clone_roots[i].root->node != in ensure_commit_roots_uptodate()
6561 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
6710 sctx->clone_roots = kzalloc(alloc_size, GFP_KERNEL); in btrfs_ioctl_send()
6711 if (!sctx->clone_roots) { in btrfs_ioctl_send()
6757 sctx->clone_roots[i].root = clone_root; in btrfs_ioctl_send()
6797 sctx->clone_roots[sctx->clone_roots_cnt++].root = sctx->send_root; in btrfs_ioctl_send()
6800 sort(sctx->clone_roots, sctx->clone_roots_cnt, in btrfs_ioctl_send()
6801 sizeof(*sctx->clone_roots), __clone_root_cmp_sort, in btrfs_ioctl_send()
6866 sctx->clone_roots[i].root); in btrfs_ioctl_send()
6870 sctx->clone_roots[i].root); in btrfs_ioctl_send()
6883 kvfree(sctx->clone_roots); in btrfs_ioctl_send()