Home
last modified time | relevance | path

Searched refs:range_start (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/update_verifier/
Dupdate_verifier.cpp158 for (const auto& [range_start, range_end] : group) { in ReadBlocks()
159 if (lseek64(fd.get(), static_cast<off64_t>(range_start) * kBlockSize, SEEK_SET) == -1) { in ReadBlocks()
160 PLOG(ERROR) << "lseek to " << range_start << " failed"; in ReadBlocks()
164 size_t remain = (range_end - range_start) * kBlockSize; in ReadBlocks()
168 PLOG(ERROR) << "Failed to read blocks " << range_start << " to " << range_end; in ReadBlocks()
173 block_count += (range_end - range_start); in ReadBlocks()
/bootable/recovery/fuse_sideload/
Dfuse_provider.cpp109 for (const auto& [range_start, range_end] : read_ranges.value()) { in ReadBlockAlignedData()
110 uint64_t bytes_start = static_cast<uint64_t>(range_start) * source_block_size_; in ReadBlockAlignedData()
111 uint64_t bytes_to_read = static_cast<uint64_t>(range_end - range_start) * source_block_size_; in ReadBlockAlignedData()
/bootable/recovery/otautil/
Drangeset.cpp203 for (const auto& [range_start, range_end] : ranges_) { in GetSubRanges()
204 CHECK_LT(range_start, range_end); in GetSubRanges()
205 size_t blocks_in_range = range_end - range_start; in GetSubRanges()
212 size_t trimmed_range_start = range_start; in GetSubRanges()
Dsysutil.cpp159 void* range_start = mmap(next, range_size, PROT_READ, MAP_PRIVATE | MAP_FIXED, fd, in MapBlockFile() local
161 if (range_start == MAP_FAILED) { in MapBlockFile()
166 ranges_.emplace_back(MappedRange{ range_start, range_size }); in MapBlockFile()