Lines Matching refs:sectors
50 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table
52 * @capacity: size of the disk in sectors
53 * @geom: output in form of [hds, cylinders, sectors]
170 * minimizes the number of sectors that will be unused at the end
179 unsigned long heads, sectors, cylinders, temp;
182 sectors = 62L; /* Maximize sectors per track */
184 temp = cylinders * sectors; /* Compute divisor for heads */
188 temp = cylinders * heads; /* Compute divisor for sectors */
189 sectors = capacity / temp; /* Compute value for sectors per
192 sectors++; /* Else, increment number of sectors */
193 temp = heads * sectors; /* Compute divisor for cylinders */
201 *secs = (unsigned int) sectors;
207 * scsicam_bios_param - Determine geometry of a disk in cylinders/heads/sectors.
209 * @capacity: size of the disk in sectors
210 * @ip: return value: ip[0]=heads, ip[1]=sectors, ip[2]=cylinders
230 * at most 62 sectors per track - this works up to 7905 MB.