Lines Matching refs:roots
172 * the same root or different roots) that we could find. The sharedness
1377 * When roots are found, they're added to the roots list
1408 ASSERT(ctx->roots == NULL);
1585 * the list of found roots is updated.
1603 if (ctx->roots && ref->count && ref->root_id && ref->parent == 0) {
1605 ret = ulist_add(ctx->roots, ref->root_id, 0, GFP_NOFS);
1726 * Walk all backrefs for a given extent to find all roots that reference this
1736 * Found roots are added to @ctx->roots, which is allocated by this function if
1758 if (!ctx->roots) {
1759 ctx->roots = ulist_alloc(GFP_NOFS);
1760 if (!ctx->roots) {
1777 ulist_free(ctx->roots);
1778 ctx->roots = NULL;
2423 ASSERT(ctx->roots == NULL);
2482 if (!ctx->roots) {
2483 ctx->roots = ulist_alloc(GFP_NOFS);
2484 if (!ctx->roots) {
2496 ctx->cache_store(leaf_bytenr, ctx->roots, ctx->user_ctx);
2499 while (!ret && (root_node = ulist_next(ctx->roots, &root_uiter))) {
2508 ulist_reinit(ctx->roots);
2521 ulist_free(ctx->roots);
2522 ctx->roots = NULL;