Home | History | Annotate | Download | only in src

Lines Matching refs:sector

182   int64 sector = 0;
190 "for sector data for disk %s.\n", device_name_.c_str());
198 // Align the first sector with the beginning of a write block
205 // sector in the block from.
208 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % (
210 sector *= num_sectors;
212 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % (
214 sector *= num_sectors;
215 sector += segment * segment_size_;
218 if (sector + num_sectors > (segment + 1) * segment_size_) {
224 if (sector + num_sectors > device_sectors_) {
230 // to check each sector, just the first block (a sector
234 if (addr_to_block_.find(sector) != addr_to_block_.end()) {
241 block->SetParameters(sector, write_block_size_);