Lines Matching refs:clone
2772 struct extent_buffer *clone = path->nodes[0];
2786 ASSERT(test_bit(EXTENT_BUFFER_UNMAPPED, &clone->bflags));
2787 atomic_inc(&clone->refs);
2813 clone->start = path->nodes[0]->start;
2814 /* See the comment at fiemap_search_slot() about why we clone. */
2815 copy_extent_buffer_full(clone, path->nodes[0]);
2819 path->nodes[0] = clone;
2823 free_extent_buffer(clone);
2838 struct extent_buffer *clone;
2868 * We clone the leaf and use it during fiemap. This is because while
2871 * other tasks for too long, we use a clone of the leaf. We have locked
2878 * We also need the private clone because holding a read lock on an
2883 clone = btrfs_clone_extent_buffer(path->nodes[0]);
2884 if (!clone)
2889 path->nodes[0] = clone;