Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapuserd_readahead.cpp185 int num_ops = *pending_ops; in PrepareReadAhead() local
188 if (!IterDone() && num_ops) { in PrepareReadAhead()
193 num_ops -= 1; in PrepareReadAhead()
204 while (!IterDone() && num_ops) { in PrepareReadAhead()
210 num_ops -= 1; in PrepareReadAhead()
226 int num_ops = 0; in ReconstructDataFromCow() local
241 num_ops += 1; in ReconstructDataFromCow()
253 num_ops -= 1; in ReconstructDataFromCow()
260 if (!(num_ops == 0)) { in ReconstructDataFromCow()
262 << " Pending ops: " << num_ops; in ReconstructDataFromCow()
[all …]
Dsnapuserd.cpp371 size_t num_ops = 0; in ReadMetadata() local
416 num_ops += 1; in ReadMetadata()
420 SNAP_LOG(DEBUG) << num_ops << ":" in ReadMetadata()
423 if (num_ops == exceptions_per_area_) { in ReadMetadata()
428 num_ops = 0; in ReadMetadata()
448 size_t pending_copy_ops = exceptions_per_area_ - num_ops; in ReadMetadata()
452 << " Number of replace/zero ops completed in this area: " << num_ops in ReadMetadata()
539 num_ops += 1; in ReadMetadata()
545 SNAP_LOG(DEBUG) << num_ops << ":" in ReadMetadata()
549 if (num_ops == exceptions_per_area_) { in ReadMetadata()
[all …]
Dcow_writer.cpp241 footer_.op.num_ops = 0; in OpenForAppend()
402 auto continue_num_ops = footer_.op.num_ops; in Finalize()
461 footer_.op.num_ops = continue_num_ops; in Finalize()
501 footer_.op.num_ops++; in AddOperation()
Dsnapuserd_worker.cpp329 int num_ops = DIV_ROUND_UP(size, BLOCK_SZ); in ReadData() local
331 while (num_ops) { in ReadData()
342 num_ops -= 1; in ReadData()
347 if (it == chunk_vec.end() && num_ops) { in ReadData()
349 << " COW ops completed; pending read-request: " << num_ops; in ReadData()
Dinspect_cow.cpp112 std::cout << "Number of Ops: " << footer.op.num_ops << "\n"; in Inspect()
Dcow_reader.cpp240 if (ops_buffer->size() != footer_->op.num_ops) { in ParseOps()
241 LOG(ERROR) << "num ops does not match, expected " << footer_->op.num_ops << ", found " in ParseOps()
Dsnapshot.cpp1182 size_t num_ops = 0; in CheckMergeConsistency() local
1198 num_ops++; in CheckMergeConsistency()
1226 if (header->num_merge_ops != num_ops) { in CheckMergeConsistency()
1227 LOG(ERROR) << "COW consistency check failed, expected " << num_ops << " to be merged, " in CheckMergeConsistency()
Dcow_api_test.cpp92 ASSERT_EQ(footer.op.num_ops, 4); in TEST_F()
/system/nfc/src/nfc/tags/
Drw_main.cc84 rw_cb.stats.num_ops++; in rw_main_update_tx_stats()
153 rw_cb.stats.num_ops, rw_cb.stats.num_retries, rw_cb.stats.num_fail, in rw_main_log_stats()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_format.h99 uint64_t num_ops; member
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc494 size_t num_ops = aops->size(); in DeltaMovedAndZeroBlocks() local
523 LOG(INFO) << "Produced " << (aops->size() - num_ops) << " operations for " in DeltaMovedAndZeroBlocks()
527 num_ops = aops->size(); in DeltaMovedAndZeroBlocks()
563 LOG(INFO) << "Produced " << (aops->size() - num_ops) << " operations for " in DeltaMovedAndZeroBlocks()
/system/nfc/src/nfc/include/
Drw_int.h622 uint32_t num_ops; /* Number of operations since activation */ member