/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | bios.c | 34 unsigned long *sectors); 39 unsigned long *sectors); 101 * geometry->sectors); in biosdisk() 113 sector_offset = sector % geometry->sectors + 1; in biosdisk() 114 head = sector / geometry->sectors; in biosdisk() 146 unsigned char sectors; in get_cdinfo() member 163 geometry->sectors = 15; in get_cdinfo() 173 + (((unsigned int) (cdrp.sectors & 0xC0)) << 2)); in get_cdinfo() 175 geometry->sectors = cdrp.sectors & 0x3F; in get_cdinfo() 179 * geometry->sectors); in get_cdinfo() [all …]
|
H A D | common.c | 306 info->drive_sectors = geom.sectors; in init_bios_info()
|
H A D | disk_io.c | 193 if ((buf_geom.sectors << sector_size_bits) > BUFFERLEN) in rawread() 196 sectors_per_vtrack = buf_geom.sectors; in rawread() 371 if (sector - sector % buf_geom.sectors == buf_track) in rawwrite()
|
H A D | builtins.c | 1849 disks[current_drive].sectors = num_sector; in geometry_func() 1875 geom.cylinders, geom.heads, geom.sectors, in geometry_func() 3280 sector = lba % buf_geom.sectors + 1; in partnew_func() 3281 head = (lba / buf_geom.sectors) % buf_geom.heads; in partnew_func() 3282 cylinder = lba / (buf_geom.sectors * buf_geom.heads); in partnew_func()
|
H A D | shared.h | 702 unsigned long sectors; member
|
H A D | boot.c | 965 + (geom.sectors & 0xff)); in bsd_boot()
|
/titanic_41/usr/src/grub/grub-0.97/util/ |
H A D | mkbimage | 42 sectors= 294 sectors=63; 302 sectors=15; 307 sectors=18; 312 sectors=20; 318 sectors=21; 323 sectors=21; 328 sectors=36; 346 sfdisk -C $cylinders -H $heads -S $sectors -D $image<<EOT 351 offset="$(($sectors * $block_size))" [all …]
|
/titanic_41/usr/src/grub/grub-0.97/lib/ |
H A D | device.c | 53 unsigned char sectors; member 170 geom->sectors = hdg.sectors; in get_drive_geometry() 194 geom->sectors = tmp; in get_drive_geometry() 196 geom->sectors = 63; in get_drive_geometry() 208 / geom->sectors); in get_drive_geometry() 223 geom->sectors = hdg.d_nsectors; in get_drive_geometry() 238 geom->sectors = dkg.dkg_nsect; in get_drive_geometry() 261 geom->sectors = DEFAULT_HD_SECTORS; in get_drive_geometry() 267 geom->sectors = DEFAULT_FD_SECTORS; in get_drive_geometry() 275 geom->heads * geom->sectors; in get_drive_geometry()
|
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | capacity.notes.txt | 126 a different heads and sectors and repeat this step. 136 2c) Issue a Init Drv Params and set your favorite heads and sectors. 139 num-cyl = [60:61] / (favorite heads) * (favorite sectors) 141 The drive capacity is (num-cyl)*(favorite heads)*(favorite sectors). 148 heads and sectors. Compute the number of cylinders: 150 num-cyl = ([1]*[3]*[6]) / (num heads) * (num sectors) 152 The drive capacity is (num-cyl)*(num-head)*(num-sectors).
|
/titanic_41/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_util.c | 301 tgtp->properties.drive.sectors); in cpqary3_target_geometry() 711 ctlr->cpqary3_tgtp[i]->properties.drive.sectors = in cpqary3_detect_target_geometry() 712 idlogdrive->sectors; in cpqary3_detect_target_geometry() 785 ctlr->cpqary3_tgtp[i]->properties.drive.sectors = in cpqary3_detect_target_geometry() 786 idlogdrive->sectors; in cpqary3_detect_target_geometry()
|
H A D | cpqary3_scsi.h | 163 uint8_t sectors; member
|
H A D | cpqary3.h | 217 uint8_t sectors; member
|
/titanic_41/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 336 static int sectors; /* number of sectors per track */ variable 996 sectors = disk_geom.dkg_nsect; in main() 1024 hba_Numcyl = (Numcyl * heads * sectors) / in main() 1035 sectors, in main() 1037 Numcyl * heads * sectors, in main() 1038 (Numcyl * heads * sectors * sectsiz) / 1048576); in main() 1063 sectors = disk_geom.dkg_nsect; in main() 1080 sectors, in main() 1115 chs_capacity = (diskaddr_t)Numcyl * heads * sectors; in main() 1121 Numcyl_usable = DK_MAX_2TB / (heads * sectors); in main() [all …]
|
/titanic_41/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 1030 uint32_t sectors = epp->disk_geom.virt_sec; in fdisk_set_CHS_values() local 1034 if (lba >= heads * sectors * MAX_CYL) { in fdisk_set_CHS_values() 1043 cy = lba / sectors / heads; in fdisk_set_CHS_values() 1044 hd = lba / sectors % heads; in fdisk_set_CHS_values() 1045 sc = lba % sectors + 1; in fdisk_set_CHS_values() 1057 if (lba >= heads * sectors * MAX_CYL) { in fdisk_set_CHS_values() 1062 cy = lba / sectors / heads; in fdisk_set_CHS_values() 1063 hd = lba / sectors % heads; in fdisk_set_CHS_values() 1064 sc = lba % sectors + 1; in fdisk_set_CHS_values()
|
/titanic_41/usr/src/uts/sun/sys/dada/impl/ |
H A D | commands.h | 65 uchar_t sectors; member
|
/titanic_41/usr/src/grub/grub-0.97/docs/ |
H A D | internals.texi | 132 sectors to be read in the next block list is zero. 202 The current partition starting address, in sectors. 205 The current partition length, in sectors. 221 The current position in the file, in sectors. 242 Only read sectors from within a partition. Sector 0 is the first sector 309 and in the sectors right after a MBR, because Stage 1.5 is enough small 310 and the sectors right after a MBR is normally an unused region. The size 311 of this region is the number of sectors per head minus 1.
|
H A D | grub.info-4 | 50 in the sectors right after a MBR, because Stage 1.5 is enough small and 51 the sectors right after a MBR is normally an unused region. The size of 52 this region is the number of sectors per head minus 1.
|
H A D | grub.info-3 | 635 34 : No spare sectors on the disk 638 sectors after the MBR, but the first partition starts right after 1213 sectors to be read in the next block list is zero. 1280 The current partition starting address, in sectors. 1283 The current partition length, in sectors. 1297 The current position in the file, in sectors. 1316 Only read sectors from within a partition. Sector 0 is the first
|
H A D | grub.info | 2636 Embed the Stage 1.5 STAGE1_5 in the sectors after the MBR if 2639 Print the number of sectors which STAGE1_5 occupies, if successful. 2686 cylinders, the number of heads, the number of sectors and the 2687 number of total sectors are set to CYLINDER, HEAD, SECTOR and 3344 34 : No spare sectors on the disk 3347 sectors after the MBR, but the first partition starts right after 3922 sectors to be read in the next block list is zero. 3989 The current partition starting address, in sectors. 3992 The current partition length, in sectors. 4006 The current position in the file, in sectors. [all …]
|
/titanic_41/usr/src/grub/grub-0.97/stage1/ |
H A D | stage1.S | 71 sectors: label 250 movw $ABS(sectors), %si
|
/titanic_41/usr/src/cmd/format/ |
H A D | global.h | 146 #define sectors(h) ((h) == nhead - 1 ? nsect - apc : nsect) macro
|
H A D | defect.c | 181 ((bt->bt_trksec & 0xff) >= sectors(head))) { in read_list()
|
H A D | io.c | 423 wild = sectors(head) - 1; 426 if ((sect < 0) || (sect >= sectors(head))) {
|
/titanic_41/usr/src/uts/common/xen/io/ |
H A D | xdb.c | 241 int sectors; in xdb_get_buf() local 408 sectors = 0; in xdb_get_buf() 428 sectors += (xreq->xr_segs[i].ls - xreq->xr_segs[i].fs + 1); in xdb_get_buf() 436 bp->b_bcount = sectors * DEV_BSIZE; in xdb_get_buf() 1339 uint64_t sectors; in xdb_start_connect() local 1424 sectors = vdp->xs_sectors; in xdb_start_connect() 1430 XBP_SECTORS, "%"PRIu64, sectors)) || in xdb_start_connect()
|
/titanic_41/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 519 int sectors = len >> SPA_MINBLOCKSHIFT; in vn_rdwr() local 520 split = (sectors > 0 ? rand() % sectors : 0) << in vn_rdwr()
|