Home
last modified time | relevance | path

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

/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_merge.cpp94 if (linear_blocks == 0) { in MergeReplaceZeroOps()
118 size_t io_size = linear_blocks * BLOCK_SZ; in MergeReplaceZeroOps()
130 num_ops_merged += linear_blocks; in MergeReplaceZeroOps()
212 if (linear_blocks != 0) { in MergeOrderedOpsAsync()
213 size_t io_size = (linear_blocks * BLOCK_SZ); in MergeOrderedOpsAsync()
226 num_ops -= linear_blocks; in MergeOrderedOpsAsync()
227 blocks_merged_in_group_ += linear_blocks; in MergeOrderedOpsAsync()
320 if (linear_blocks == 0) { in MergeOrderedOpsAsync()
387 if (linear_blocks == 0) { in MergeOrderedOps()
391 size_t io_size = (linear_blocks * BLOCK_SZ); in MergeOrderedOps()
[all …]
H A Dsnapuserd_readahead.cpp273 int linear_blocks = PrepareNextReadAhead(&source_offset, &num_ops, blocks_, xor_op_vec); in ReadAheadAsyncIO() local
275 if (linear_blocks != 0) { in ReadAheadAsyncIO()
276 size_t io_size = (linear_blocks * BLOCK_SZ); in ReadAheadAsyncIO()
290 num_ops -= linear_blocks; in ReadAheadAsyncIO()
291 total_blocks_merged_ += linear_blocks; in ReadAheadAsyncIO()
305 if (pending_sqe == 0 || num_ops == 0 || (linear_blocks == 0 && pending_ios_to_submit)) { in ReadAheadAsyncIO()
341 if (linear_blocks == 0) { in ReadAheadAsyncIO()
504 if (linear_blocks == 0) { in ReadAheadSyncIO()
510 size_t io_size = (linear_blocks * BLOCK_SZ); in ReadAheadSyncIO()
527 total_blocks_merged_ += linear_blocks; in ReadAheadSyncIO()
[all …]
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
H A Dsnapuserd_readahead.cpp338 int linear_blocks; in ReadAheadIOStart() local
341 linear_blocks = blocks.size(); in ReadAheadIOStart()
342 if (linear_blocks == 0) { in ReadAheadIOStart()
349 source_offset = source_offset - (linear_blocks - 1) * BLOCK_SZ; in ReadAheadIOStart()
350 size_t io_size = (linear_blocks * BLOCK_SZ); in ReadAheadIOStart()
351 num_ops -= linear_blocks; in ReadAheadIOStart()
352 total_blocks_merged += linear_blocks; in ReadAheadIOStart()
361 while (linear_blocks) { in ReadAheadIOStart()
377 linear_blocks -= 1; in ReadAheadIOStart()