Lines Matching defs:heads
51 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table
168 * number of heads and maximizes the number of cylinders. This
169 * will support rather large disks before the number of heads
180 unsigned long heads, sectors, cylinders, temp;
185 temp = cylinders * sectors; /* Compute divisor for heads */
186 heads = capacity / temp; /* Compute value for number of heads */
188 heads++; /* Else, increment number of heads */
189 temp = cylinders * heads; /* Compute divisor for sectors */
194 temp = heads * sectors; /* Compute divisor for cylinders */
203 *hds = (unsigned int) heads;
208 * scsicam_bios_param - Determine geometry of a disk in cylinders/heads/sectors.
211 * @ip: return value: ip[0]=heads, ip[1]=sectors, ip[2]=cylinders