Lines Matching refs:end_sector
64 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local
92 end_cyl = largest->end_cyl + ((largest->end_sector & 0xc0) << 2); in scsi_partsize()
94 end_sector = largest->end_sector & 0x3f; in scsi_partsize()
96 if (end_head + 1 == 0 || end_sector == 0) in scsi_partsize()
101 end_head, end_cyl, end_sector); in scsi_partsize()
104 physical_end = end_cyl * (end_head + 1) * end_sector + in scsi_partsize()
105 end_head * end_sector + end_sector; in scsi_partsize()
112 ext_cyl = (logical_end - (end_head * end_sector + end_sector)) in scsi_partsize()
113 / (end_head + 1) / end_sector; in scsi_partsize()
114 ext_physical_end = ext_cyl * (end_head + 1) * end_sector + in scsi_partsize()
115 end_head * end_sector + end_sector; in scsi_partsize()
125 geom[1] = end_sector; in scsi_partsize()
127 ((end_head + 1) * end_sector); in scsi_partsize()