Searched refs:linear_blocks (Results 1 – 3 of 3) sorted by relevance
93 int linear_blocks = PrepareMerge(&source_offset, &num_ops, &replace_zero_vec); in MergeReplaceZeroOps() local94 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()210 int linear_blocks = PrepareMerge(&source_offset, &num_ops); in MergeOrderedOpsAsync() local212 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()242 if (pending_sqe == 0 || num_ops == 0 || (linear_blocks == 0 && pending_ios_to_submit)) { in MergeOrderedOpsAsync()[all …]
273 int linear_blocks = PrepareNextReadAhead(&source_offset, &num_ops, blocks_, xor_op_vec); in ReadAheadAsyncIO() local275 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()503 int linear_blocks = PrepareNextReadAhead(&source_offset, &num_ops, blocks_, xor_op_vec); in ReadAheadSyncIO() local504 if (linear_blocks == 0) { in ReadAheadSyncIO()510 size_t io_size = (linear_blocks * BLOCK_SZ); in ReadAheadSyncIO()[all …]
342 int linear_blocks; in ReadAheadIOStart() local345 linear_blocks = blocks.size(); in ReadAheadIOStart()346 if (linear_blocks == 0) { in ReadAheadIOStart()353 source_offset = source_offset - (linear_blocks - 1) * BLOCK_SZ; in ReadAheadIOStart()354 size_t io_size = (linear_blocks * BLOCK_SZ); in ReadAheadIOStart()355 num_ops -= linear_blocks; in ReadAheadIOStart()356 total_blocks_merged += linear_blocks; in ReadAheadIOStart()365 while (linear_blocks) { in ReadAheadIOStart()381 linear_blocks -= 1; in ReadAheadIOStart()