Searched refs:range_start (Results 1 – 2 of 2) sorted by relevance
158 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()
154 void* range_start = mmap(next, range_size, PROT_READ, MAP_PRIVATE | MAP_FIXED, fd, in MapBlockFile() local156 if (range_start == MAP_FAILED) { in MapBlockFile()161 ranges_.emplace_back(MappedRange{ range_start, range_size }); in MapBlockFile()