Searched refs:source_offset (Results 1 – 5 of 5) sorted by relevance
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
H A D | snapuserd_readahead.cpp | 176 uint64_t source_offset = 0; in CheckOverlap() local 178 (source_offset > 0 && source_blocks_.count(source_block + 1))) { in CheckOverlap() 183 if (source_offset > 0) { in CheckOverlap() 193 CHECK_NE(source_offset, nullptr); in PrepareReadAhead() 199 *source_offset = cow_op->source; in PrepareReadAhead() 201 *source_offset *= BLOCK_SZ; in PrepareReadAhead() 337 uint64_t source_offset; in ReadAheadIOStart() local 340 PrepareReadAhead(&source_offset, &num_ops, blocks); in ReadAheadIOStart() 349 source_offset = source_offset - (linear_blocks - 1) * BLOCK_SZ; in ReadAheadIOStart() 383 source_offset)) { in ReadAheadIOStart() [all …]
|
H A D | snapuserd.h | 115 void PrepareReadAhead(uint64_t* source_offset, int* pending_ops, std::vector<uint64_t>& blocks);
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_merge.cpp | 26 int Worker::PrepareMerge(uint64_t* source_offset, int* pending_ops, in PrepareMerge() argument 39 *source_offset = cow_op->new_block * BLOCK_SZ; in PrepareMerge() 55 if (next_offset != (*source_offset + nr_consecutive * BLOCK_SZ)) { in PrepareMerge() 91 uint64_t source_offset; in MergeReplaceZeroOps() local 122 io_size, source_offset)); in MergeReplaceZeroOps() 126 << " at offset: " << source_offset << " io_size: " << io_size; in MergeReplaceZeroOps() 208 uint64_t source_offset; in MergeOrderedOpsAsync() local 210 int linear_blocks = PrepareMerge(&source_offset, &num_ops); in MergeOrderedOpsAsync() 384 uint64_t source_offset; in MergeOrderedOps() local 386 int linear_blocks = PrepareMerge(&source_offset, &num_ops); in MergeOrderedOps() [all …]
|
H A D | snapuserd_readahead.cpp | 36 uint64_t source_offset = 0; in CheckOverlap() local 39 source_offset = cow_op->source % BLOCK_SZ; in CheckOverlap() 42 (source_offset > 0 && source_blocks_.count(source_block + 1))) { in CheckOverlap() 47 if (source_offset > 0) { in CheckOverlap() 67 *source_offset = cow_op->source; in PrepareNextReadAhead() 70 *source_offset *= BLOCK_SZ; in PrepareNextReadAhead() 96 if (next_offset != (*source_offset + nr_consecutive * BLOCK_SZ)) { in PrepareNextReadAhead() 270 uint64_t source_offset; in ReadAheadAsyncIO() local 287 source_offset); in ReadAheadAsyncIO() 501 uint64_t source_offset; in ReadAheadSyncIO() local [all …]
|
H A D | snapuserd_core.h | 119 int PrepareNextReadAhead(uint64_t* source_offset, int* pending_ops, 260 int PrepareMerge(uint64_t* source_offset, int* pending_ops,
|