Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcow_reader.cpp419 auto merge_op_blocks = std::make_unique<std::vector<uint32_t>>(); in PrepMergeOps() local
432 merge_op_blocks->resize(merge_op_blocks->size() + seq_len); in PrepMergeOps()
433 if (!GetRawBytes(current_op.source, &merge_op_blocks->data()[num_seqs], in PrepMergeOps()
439 seq_ops_set.insert(merge_op_blocks->data()[j]); in PrepMergeOps()
449 merge_op_blocks->emplace_back(current_op.new_block); in PrepMergeOps()
455 for (auto block : *merge_op_blocks) { in PrepMergeOps()
462 if (merge_op_blocks->size() > header_.num_merge_ops) { in PrepMergeOps()
463 num_ordered_ops_to_merge_ = merge_op_blocks->size() - header_.num_merge_ops; in PrepMergeOps()
479 merge_op_blocks->insert(merge_op_blocks->end(), other_ops.begin(), other_ops.end()); in PrepMergeOps()
481 num_total_data_ops_ = merge_op_blocks->size(); in PrepMergeOps()
[all …]
Dinspect_cow.cpp175 std::vector<uint32_t> merge_op_blocks; in Inspect() local
177 merge_op_blocks.resize(seq_len); in Inspect()
178 if (!reader.GetRawBytes(op.source, merge_op_blocks.data(), op.data_length, &read)) { in Inspect()
185 std::cout << std::setfill('0') << std::setw(6) << merge_op_blocks[i] << ", "; in Inspect()