Lines Matching defs:shared
117 * from the shared data ref, we only have the leaf but we need
157 * Checks for a shared extent during backref search.
362 * backref type | shared | indirect | shared | indirect
375 * backref type | shared | indirect | shared | indirect
503 * matches shared data backref
530 * matches shared data backref, OR
1301 * If the node at this level is shared, than all nodes below are also
1302 * shared. Currently some of the nodes below may be marked as not shared
1305 * them as shared.
1358 * If we found an extent buffer is shared, set the cache result for all
1381 * shared extent is detected.
1503 * is not directly shared (no multiple reference items for it),
1507 * The extent may however be indirectly shared through shared subtrees
1517 * it means the data extent is not directly shared (does not have
1520 * extent item pointing to the data extent) is shared, that is, if any
1527 * it can not be shared through subtrees, so we can skip
1540 * If we are only determining if a data extent is shared or not
1834 * Check if a data extent is shared or not.
1846 * shared but do not need a ref count.
1851 * Return: 0 if extent is not shared, 1 if it is shared, < 0 on error.
1865 struct share_check shared = {
1902 * We may have previously determined that the current leaf is shared.
1903 * If it is, then we have a data extent that is shared due to a shared
1905 * backrefs. If the leaf is not shared, then we must do backref walking
1906 * to determine if the data extent is shared through reflinks.
1928 ret = find_parent_nodes(&walk_ctx, &shared);
1931 /* If shared must return 1, otherwise return 0. */
1945 * tree paths in case the first one is not shared, so we can not
1950 * directly shared (without multiple reference items), then
1958 * some of the leaves may be referenced through shared
1967 * current bytenr) may be shared or not. One example is
1968 * during relocation as we may get a shared tree block ref
1969 * (direct ref) and a non-shared tree block ref (indirect
1994 shared.share_count = 0;
1995 shared.have_delayed_delete_refs = false;
2025 if (ret >= 0 && shared.self_ref_count > 1) {
2028 ctx->prev_extents_cache[slot].bytenr = shared.data_bytenr;
3317 * If we know the block isn't shared we can avoid