Lines Matching defs:sectors

98  * SECT range [ 1 .. MAX_SECT ], so number of sectors is (MAX_SECT)
104 #define DK_MAX_2TB UINT32_MAX /* Max # of sectors in 2TB */
179 " numsect = partition size in sectors\n"
208 " NSECTORS number of sectors per track\n"
284 static off_t io_size = 0; /* size in sectors (-s size) */
328 static diskaddr_t chs_capacity; /* Numcyl_usable * heads * sectors */
336 static int sectors; /* number of sectors per track */
337 static int acyl; /* number of alternate sectors */
342 static int hba_sectors; /* number of sectors per track */
996 sectors = disk_geom.dkg_nsect;
1024 hba_Numcyl = (Numcyl * heads * sectors) /
1031 " cylinders[%d] heads[%d] sectors[%d]\n"
1035 sectors,
1037 Numcyl * heads * sectors,
1038 (Numcyl * heads * sectors * sectsiz) / 1048576);
1041 " cylinders[%d] heads[%d] sectors[%d]\n"
1063 sectors = disk_geom.dkg_nsect;
1080 sectors,
1115 chs_capacity = (diskaddr_t)Numcyl * heads * sectors;
1121 Numcyl_usable = DK_MAX_2TB / (heads * sectors);
1122 chs_capacity = (diskaddr_t)Numcyl_usable * heads * sectors;
1128 /* Allocate memory to hold three complete sectors */
1259 Table[0].relsect = LE_32(heads * sectors);
1263 heads * sectors));
1368 sectors = hba_sectors = disk_geom.dkg_nsect;
1886 "63 free sectors required "
1968 * and sectors in partition table fields).
2237 * hba_heads and hba_sectors contain the number of heads and sectors.
3079 cyl_size = heads * sectors;
3665 if ((heads == 0) || (sectors == 0)) {
3668 (void) printf("\theads = %d, sectors = %d\n", heads, sectors);
3676 heads * sectors, sectsiz);
3813 (unsigned long)(heads * sectors);
3820 (unsigned long)(heads * sectors);
3822 (unsigned long)(heads * sectors))
4097 (void) fprintf(fp, "* %4d sectors/track\n", sectors);
4105 (void) fprintf(fp, "* %4d sectors/track\n", hba_sectors);
4659 pcyl = LE_32(clr_table->numsect) / (heads * sectors);
4664 (heads * sectors)) + ((heads - 1) * sectors) + 1;
5337 * 1. Get the starting and ending sectors/cylinder of the extended partition.