Lines Matching refs:sectors
51 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table
53 * @capacity: size of the disk in sectors
54 * @geom: output in form of [hds, cylinders, sectors]
171 * minimizes the number of sectors that will be unused at the end
180 unsigned long heads, sectors, cylinders, temp;
183 sectors = 62L; /* Maximize sectors per track */
185 temp = cylinders * sectors; /* Compute divisor for heads */
189 temp = cylinders * heads; /* Compute divisor for sectors */
190 sectors = capacity / temp; /* Compute value for sectors per
193 sectors++; /* Else, increment number of sectors */
194 temp = heads * sectors; /* Compute divisor for cylinders */
202 *secs = (unsigned int) sectors;
208 * scsicam_bios_param - Determine geometry of a disk in cylinders/heads/sectors.
210 * @capacity: size of the disk in sectors
211 * @ip: return value: ip[0]=heads, ip[1]=sectors, ip[2]=cylinders
231 * at most 62 sectors per track - this works up to 7905 MB.