Home
last modified time | relevance | path

Searched refs:d_offset (Results 1 – 1 of 1) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp84 uint64_t d_offset = 0; // offset within *d_it in OptimizeSourceCopyOperation() local
92 if (s_it->num_blocks() <= s_offset || d_it->num_blocks() <= d_offset) { in OptimizeSourceCopyOperation()
100 auto d_step = d_it->num_blocks() - d_offset; in OptimizeSourceCopyOperation()
103 bool moved = s_it->start_block() + s_offset != d_it->start_block() + d_offset; in OptimizeSourceCopyOperation()
107 AppendExtent(optimized->mutable_dst_extents(), d_it->start_block() + d_offset, step); in OptimizeSourceCopyOperation()
116 d_offset += step; in OptimizeSourceCopyOperation()
121 while (d_it != dst_extents.end() && d_offset >= d_it->num_blocks()) { in OptimizeSourceCopyOperation()
123 d_offset = 0; in OptimizeSourceCopyOperation()