Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dwriter_v3.cpp113 header_.op_count_max = 0; in SetupHeaders()
137 header_.op_count_max = options_.op_count_max; in ParseOptions()
139 if (!IsEstimating() && header_.op_count_max == 0) { in ParseOptions()
148 header_.op_count_max = options_.max_blocks.value(); in ParseOptions()
294 if (header_.op_count + cached_ops_.size() + op_count > header_.op_count_max) { in CheckOpCount()
298 << ", this will exceed max op count " << header_.op_count_max; in CheckOpCount()
698 if (header_.op_count > header_.op_count_max) { in WriteOperation()
701 next_data_pos_ += (header_.op_count - header_.op_count_max) * sizeof(CowOperationV3); in WriteOperation()
702 header_.op_count_max = header_.op_count; in WriteOperation()
708 if (header_.op_count + ops.size() > header_.op_count_max) { in WriteOperation()
[all …]
Dtest_v3.cpp79 options.op_count_max = 15; in TEST_F()
96 options.op_count_max = 20; in TEST_F()
114 options.op_count_max = 20; in TEST_F()
131 options.op_count_max = 20; in TEST_F()
148 options.op_count_max = 20; in TEST_F()
179 options.op_count_max = 20; in TEST_F()
214 options.op_count_max = 10000; in TEST_F()
256 options.op_count_max = 20; in TEST_F()
303 options.op_count_max = 100; in TEST_F()
339 options.op_count_max = 100; in TEST_F()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_writer.h38 uint64_t op_count_max; member
62 uint64_t op_count_max = 0; member
Dcow_format.h113 uint64_t op_count_max; member
311 return GetOpOffset(header.op_count_max, header); in GetDataOffset()
/system/update_engine/payload_generator/
Ddelta_diff_generator.cc150 cow_info_->op_count_max = std::max(int(cow_info_->op_count_max), 25); in Run()
155 << " ops buffer size: " << cow_info_->op_count_max; in Run()
Dpayload_file.cc154 if (part.cow_info.op_count_max > 0) { in WritePayload()
155 partition->set_estimate_op_count_max(part.cow_info.op_count_max); in WritePayload()
/system/update_engine/aosp/
Dcow_converter.cc78 .op_count_max = static_cast<uint32_t>( in ProcessPartition()
/system/core/fs_mgr/libsnapshot/
Dsnapshotctl.cpp225 new_device_size = v3_header.op_count_max * v3_header.block_size; in PrepareUpdate()
Dsnapshot.cpp529 dev_sz = v3_header.op_count_max * v3_header.block_size; in MapDmUserCow()
3645 options.op_count_max = it->second.estimated_ops_buffer_size(); in InitializeUpdateSnapshots()
3759 cow_options.op_count_max = status.estimated_ops_buffer_size(); in OpenCompressedSnapshotWriter()
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_test.cpp145 options.op_count_max = 100000; in CreateV3Cow()