Searched refs:s_offset (Results 1 – 2 of 2) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator.cpp | 83 uint64_t s_offset = 0; // offset within *s_it in OptimizeSourceCopyOperation() local 92 if (s_it->num_blocks() <= s_offset || d_it->num_blocks() <= d_offset) { in OptimizeSourceCopyOperation() 99 auto s_step = s_it->num_blocks() - s_offset; in OptimizeSourceCopyOperation() 103 bool moved = s_it->start_block() + s_offset != d_it->start_block() + d_offset; in OptimizeSourceCopyOperation() 106 AppendExtent(optimized->mutable_src_extents(), s_it->start_block() + s_offset, step); in OptimizeSourceCopyOperation() 115 s_offset += step; in OptimizeSourceCopyOperation() 117 while (s_it != src_extents.end() && s_offset >= s_it->num_blocks()) { in OptimizeSourceCopyOperation() 119 s_offset = 0; in OptimizeSourceCopyOperation()
|
/system/extras/ioshark/ |
D | compile_ioshark.c | 353 char *s_offset, *s_len; in get_prw64_offset_len() local 355 s_offset = strrchr(buf, ','); in get_prw64_offset_len() 356 if (s_offset == NULL) { in get_prw64_offset_len() 361 *s_offset = '\0'; in get_prw64_offset_len() 368 *s_offset = ','; in get_prw64_offset_len() 370 sscanf(s_offset + 2, "%ju", offset); in get_prw64_offset_len() 379 char *s_offset; in get_ftrace_offset_len() local 381 s_offset = strchr(buf, '/'); in get_ftrace_offset_len() 382 if (s_offset == NULL) { in get_ftrace_offset_len() 387 s_offset = strchr(s_offset, ' '); in get_ftrace_offset_len() [all …]
|