Lines Matching refs:end_sector
62 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local
90 end_cyl = largest->end_cyl + ((largest->end_sector & 0xc0) << 2); in scsi_partsize()
92 end_sector = largest->end_sector & 0x3f; in scsi_partsize()
94 if (end_head + 1 == 0 || end_sector == 0) in scsi_partsize()
99 end_head, end_cyl, end_sector); in scsi_partsize()
102 physical_end = end_cyl * (end_head + 1) * end_sector + in scsi_partsize()
103 end_head * end_sector + end_sector; in scsi_partsize()
110 ext_cyl = (logical_end - (end_head * end_sector + end_sector)) in scsi_partsize()
111 / (end_head + 1) / end_sector; in scsi_partsize()
112 ext_physical_end = ext_cyl * (end_head + 1) * end_sector + in scsi_partsize()
113 end_head * end_sector + end_sector; in scsi_partsize()
123 geom[1] = end_sector; in scsi_partsize()
125 ((end_head + 1) * end_sector); in scsi_partsize()