Lines Matching defs:segment
2542 segment_size_ = -1; // use the entire disk as one segment
2644 logprintf(0, "Process Error: Blocks per segment must be greater than "
2675 logprintf(0, "Process Error: Segment size must be a multiple of %d"
2828 // Confine testing to a particular segment of the disk.
2829 int64 segment = (block_num / blocks_per_segment_) % num_segments;
2832 logprintf(20, "Log: Starting to write segment %lld out of "
2834 segment, num_segments, device_name_.c_str(),
2839 BlockData *block = block_table_->GetUnusedBlock(segment);
2842 // next block to process. Soon, a new segment will come and new
2849 // 1. In order to allocate 'y' blocks from a segment, the
2850 // segment must contain at least 2y blocks or else an
2852 // 2. Assume the entire disk is one segment.
2855 // 4. Therefore, the one segment must have 2 * 3/2 * cache