Lines Matching refs:clone_roots
81 struct clone_root *clone_roots; member
1232 found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, in __iterate_backrefs()
1365 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1431 if (sctx->clone_roots[i].found_refs) { in find_extent_clone()
1433 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
1434 else if (sctx->clone_roots[i].root == sctx->send_root) in find_extent_clone()
1436 cur_clone_root = sctx->clone_roots + i; in find_extent_clone()
6949 if (sctx->clone_roots[i].root->node != in ensure_commit_roots_uptodate()
6950 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
6992 root = sctx->clone_roots[i].root; in flush_delalloc_roots()
7143 sctx->clone_roots = kzalloc(alloc_size, GFP_KERNEL); in btrfs_ioctl_send()
7144 if (!sctx->clone_roots) { in btrfs_ioctl_send()
7197 sctx->clone_roots[i].root = clone_root; in btrfs_ioctl_send()
7244 sctx->clone_roots[sctx->clone_roots_cnt++].root = sctx->send_root; in btrfs_ioctl_send()
7247 sort(sctx->clone_roots, sctx->clone_roots_cnt, in btrfs_ioctl_send()
7248 sizeof(*sctx->clone_roots), __clone_root_cmp_sort, in btrfs_ioctl_send()
7331 sctx->clone_roots[i].root); in btrfs_ioctl_send()
7335 sctx->clone_roots[i].root); in btrfs_ioctl_send()
7348 kvfree(sctx->clone_roots); in btrfs_ioctl_send()