Home | History | Annotate | Download | only in src

Lines Matching defs:sector

196   int64 sector = 0;
201 "for sector data for disk %s.\n", device_name_.c_str());
206 // Align the first sector with the beginning of a write block
211 // sector in the block from.
213 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % (
215 sector *= num_sectors;
217 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % (
219 sector *= num_sectors;
220 sector += segment * segment_size_;
222 if (sector + num_sectors > (segment + 1) * segment_size_) {
228 if (sector + num_sectors > device_sectors_) {
234 // to check each sector, just the first block (a sector
237 if (addr_to_block_.find(sector) != addr_to_block_.end()) {
244 block->set_address(sector);