Searched refs:merge_op (Results 1 – 8 of 8) sorted by relevance
63 const CowMergeOperation* merge_op) { in WriteXorExtent() argument64 const auto src_block = merge_op->src_extent().start_block() + in WriteXorExtent()66 merge_op->dst_extent().start_block(); in WriteXorExtent()68 (src_block + xor_ext.num_blocks()) * BlockSize() + merge_op->src_offset(); in WriteXorExtent()76 << BlockSize() << ", " << xor_ext << ", " << merge_op in WriteXorExtent()81 if (oob_bytes > merge_op->src_offset()) { in WriteXorExtent()83 << oob_bytes << ", source offset: " << merge_op->src_offset(); in WriteXorExtent()92 src_block * BlockSize() + merge_op->src_offset())); in WriteXorExtent()104 bytes, size, xor_ext, src_block * BlockSize() + merge_op->src_offset())); in WriteXorExtent()128 const auto merge_op = merge_op_opt.value(); in WriteExtent() local[all …]
71 for (const auto& merge_op : merge_ops) { in ComputeXorMap() local72 if (merge_op.type() == CowMergeOperation::COW_XOR) { in ComputeXorMap()73 xor_map.AddExtent(merge_op.dst_extent(), &merge_op); in ComputeXorMap()281 for (const auto& merge_op : merge_sequence) { in WriteMergeSequence() local282 const auto& dst_extent = merge_op.dst_extent(); in WriteMergeSequence()283 const auto& src_extent = merge_op.src_extent(); in WriteMergeSequence()286 if (merge_op.type() == CowMergeOperation::COW_COPY && in WriteMergeSequence()287 merge_op.src_extent() == merge_op.dst_extent()) { in WriteMergeSequence()
65 auto merge_op = partition->add_merge_operations(); in AddMergeOp() local66 auto src = merge_op->mutable_src_extent(); in AddMergeOp()69 auto dst = merge_op->mutable_dst_extent(); in AddMergeOp()72 merge_op->set_type(type); in AddMergeOp()73 return merge_op; in AddMergeOp()
62 const CowMergeOperation* merge_op);
50 for (const auto& merge_op : merge_operations) { in ConvertToCowOperations() local51 if (merge_op.type() != CowMergeOperation::COW_COPY) { in ConvertToCowOperations()54 merge_extents.AddExtent(merge_op.dst_extent()); in ConvertToCowOperations()55 const auto& src_extent = merge_op.src_extent(); in ConvertToCowOperations()56 const auto& dst_extent = merge_op.dst_extent(); in ConvertToCowOperations()
44 for (const auto& merge_op : merge_ops) { in ComputeXorMap() local45 if (merge_op.type() == CowMergeOperation::COW_XOR) { in ComputeXorMap()46 xor_map.AddExtent(merge_op.dst_extent(), &merge_op); in ComputeXorMap()
221 for (const auto& merge_op : sequence) { in ValidateSplitSequence() local222 src_extent_set.SubtractExtent(merge_op.src_extent()); in ValidateSplitSequence()223 dst_extent_set.SubtractExtent(merge_op.dst_extent()); in ValidateSplitSequence()224 src_block_count += merge_op.src_extent().num_blocks(); in ValidateSplitSequence()225 dst_block_count += merge_op.dst_extent().num_blocks(); in ValidateSplitSequence()226 std::cout << merge_op.src_extent() << " -> " << merge_op.dst_extent() in ValidateSplitSequence()228 ASSERT_FALSE(ExtentRanges::ExtentsOverlap(merge_op.src_extent(), in ValidateSplitSequence()229 merge_op.dst_extent())); in ValidateSplitSequence()
184 for (const auto& merge_op : part.cow_merge_sequence) { in WritePayload() local185 *partition->add_merge_operations() = merge_op; in WritePayload()