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