Searched refs:s_it (Results 1 – 1 of 1) sorted by relevance
81 auto s_it = src_extents.begin(); in OptimizeSourceCopyOperation() local87 while (s_it != src_extents.end() || d_it != dst_extents.end()) { in OptimizeSourceCopyOperation()88 if (s_it == src_extents.end() || d_it == dst_extents.end()) { in OptimizeSourceCopyOperation()92 if (s_it->num_blocks() <= s_offset || d_it->num_blocks() <= d_offset) { in OptimizeSourceCopyOperation()99 auto s_step = s_it->num_blocks() - s_offset; in OptimizeSourceCopyOperation()103 bool moved = s_it->start_block() + s_offset != d_it->start_block() + d_offset; in OptimizeSourceCopyOperation()106 AppendExtent(optimized->mutable_src_extents(), s_it->start_block() + s_offset, step); in OptimizeSourceCopyOperation()117 while (s_it != src_extents.end() && s_offset >= s_it->num_blocks()) { in OptimizeSourceCopyOperation()118 ++s_it; in OptimizeSourceCopyOperation()