| /illumos-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | bios.c | 36 unsigned long *heads, 41 unsigned long *heads, 103 * geometry->heads in biosdisk() 118 head_offset = head % geometry->heads; in biosdisk() 119 cylinder_offset = head / geometry->heads; in biosdisk() 150 unsigned char heads; in get_cdinfo() member 165 geometry->heads = 1; in get_cdinfo() 177 geometry->heads = cdrp.heads; in get_cdinfo() 181 * geometry->heads in get_cdinfo() 199 geometry->heads = 1; in get_cdinfo() [all …]
|
| H A D | fat.h | 49 __u16 heads; /* number of heads */ member
|
| H A D | common.c | 305 info->drive_heads = geom.heads; in init_bios_info()
|
| /illumos-gate/usr/src/grub/grub-0.97/util/ |
| H A D | mkbimage | 41 heads= 293 hd) heads=16; 301 heads=2; 306 heads=2; 311 heads=2; 317 heads=2; 322 heads=2; 327 heads=2; 346 sfdisk -C $cylinders -H $heads -S $sectors -D $image<<EOT 387 geometry $device $cylinders $heads $sectors [all …]
|
| /illumos-gate/usr/src/grub/grub-0.97/lib/ |
| H A D | device.c | 52 unsigned char heads; member 169 geom->heads = hdg.heads; in get_drive_geometry() 198 geom->heads = tmp; in get_drive_geometry() 200 geom->heads = 1; in get_drive_geometry() 202 geom->heads = 16; in get_drive_geometry() 204 geom->heads = 255; in get_drive_geometry() 207 / geom->heads in get_drive_geometry() 222 geom->heads = hdg.d_ntracks; in get_drive_geometry() 237 geom->heads = dkg.dkg_nhead; in get_drive_geometry() 260 geom->heads = DEFAULT_HD_HEADS; in get_drive_geometry() [all …]
|
| /illumos-gate/usr/src/cmd/format/ |
| H A D | param.h | 67 #define MAXBLKS(heads, spt) UINT16_MAX * heads * spt, heads, spt argument
|
| H A D | ctlr_scsi.c | 620 p4_heads = page4->heads; in scsi_format_time() 1212 tmp2 = page4->heads; in scsi_ms_page4() 1215 if ((cur_dtype->dtype_options & SUP_PHEAD) && fixed->heads != 0) { in scsi_ms_page4() 1216 flag |= (page4->heads != phead); in scsi_ms_page4() 1217 page4->heads = phead; in scsi_ms_page4() 1224 tmp1, page4->heads, tmp2); in scsi_ms_page4()
|
| /illumos-gate/usr/src/cmd/bhyve/common/ |
| H A D | block_if.c | 1100 uint8_t heads; in blockif_chs() local 1112 heads = 16; in blockif_chs() 1117 heads = (hcyl + 1023) / 1024; in blockif_chs() 1119 if (heads < 4) in blockif_chs() 1120 heads = 4; in blockif_chs() 1122 if (hcyl >= (heads * 1024) || heads > 16) { in blockif_chs() 1124 heads = 16; in blockif_chs() 1127 if (hcyl >= (heads * 1024)) { in blockif_chs() 1129 heads = 16; in blockif_chs() 1134 *c = hcyl / heads; in blockif_chs() [all …]
|
| H A D | pci_virtio_block.c | 133 uint8_t heads; member 588 sc->vbsc_cfg.vbc_geometry.heads = 0; in pci_vtblk_init()
|
| /illumos-gate/usr/src/uts/common/io/cpqary3/ |
| H A D | cpqary3_util.c | 300 return ((tgtp->properties.drive.heads << 16) | in cpqary3_target_geometry() 709 ctlr->cpqary3_tgtp[i]->properties.drive.heads = in cpqary3_detect_target_geometry() 710 idlogdrive->heads; in cpqary3_detect_target_geometry() 783 ctlr->cpqary3_tgtp[i]->properties.drive.heads = in cpqary3_detect_target_geometry() 784 idlogdrive->heads; in cpqary3_detect_target_geometry()
|
| H A D | cpqary3_scsi.h | 161 uint8_t heads; member
|
| H A D | cpqary3.h | 216 uint8_t heads; member
|
| /illumos-gate/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)
|
| /illumos-gate/usr/src/cmd/fdisk/ |
| H A D | fdisk.c | 327 static int heads; /* number of heads */ variable 992 heads = disk_geom.dkg_nhead; in main() 1021 hba_Numcyl = (Numcyl * heads * sectors) / in main() 1031 heads, in main() 1034 Numcyl * heads * sectors, in main() 1035 (Numcyl * heads * sectors * sectsiz) / 1048576); in main() 1059 heads = disk_geom.dkg_nhead; in main() 1076 heads, in main() 1112 chs_capacity = (diskaddr_t)Numcyl * heads * sectors; in main() 1118 Numcyl_usable = DK_MAX_2TB / (heads * sectors); in main() [all …]
|
| /illumos-gate/usr/src/lib/libfdisk/common/ |
| H A D | libfdisk.c | 1052 uint32_t heads = epp->disk_geom.virt_heads; in fdisk_set_CHS_values() local 1055 if (lba >= heads * sectors * MAX_CYL) { in fdisk_set_CHS_values() 1064 cy = lba / sectors / heads; in fdisk_set_CHS_values() 1065 hd = lba / sectors % heads; in fdisk_set_CHS_values() 1078 if (lba >= heads * sectors * MAX_CYL) { in fdisk_set_CHS_values() 1083 cy = lba / sectors / heads; in fdisk_set_CHS_values() 1084 hd = lba / sectors % heads; in fdisk_set_CHS_values()
|
| /illumos-gate/usr/src/uts/sun/sys/dada/impl/ |
| H A D | commands.h | 64 uchar_t heads; member
|
| /illumos-gate/usr/src/uts/common/io/yge/ |
| H A D | yge.c | 2173 yge_handle_events(yge_dev_t *dev, mblk_t **heads, mblk_t **tails, int *txindex) in yge_handle_events() argument 2217 if (heads[pnum] == NULL) in yge_handle_events() 2218 heads[pnum] = mp; in yge_handle_events() 2265 mblk_t *heads[2], *tails[2]; in yge_intr() local 2271 heads[0] = heads[1] = NULL; in yge_intr() 2323 while (yge_handle_events(dev, heads, tails, txindex)) in yge_intr() 2344 if (heads[0]) in yge_intr() 2345 mac_rx(port1->p_mh, NULL, heads[0]); in yge_intr() 2347 if (heads[0]) { in yge_intr() 2349 while ((mp = heads[0]) != NULL) { in yge_intr() [all …]
|
| /illumos-gate/usr/src/boot/i386/common/ |
| H A D | edd.h | 57 uint32_t heads; member
|
| /illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
| H A D | mkfs_main.c | 896 wbpb->bpb.heads = 2; in prepare_image_file() 906 wbpb->bpb.heads = 2; in prepare_image_file() 1147 wbpb->bpb.heads = hds; in lookup_floppy() 1149 wbpb->bpb.heads = in lookup_floppy() 1153 hds = wbpb->bpb.heads; in lookup_floppy() 1420 wbpb->bpb.heads = (GetTPC ? dginfo.dkg_nhead : TrkPerCyl); in find_fixed_details() 1523 store_16_bits(&fillp, wbpb->bpb.heads); in swap_pack_bpbcpy() 1554 store_16_bits(&fillp, wbpb->bpb.heads); in swap_pack_bpb32cpy() 1739 if (compare.bpb.heads != wbpb->bpb.heads) { in compare_existing_with_computed() 1764 if (dginfo.dkg_nhead != wbpb->bpb.heads) { in compare_existing_with_computed() [all …]
|
| /illumos-gate/usr/src/cmd/fs.d/pcfs/common/ |
| H A D | pcfs_bpb.h | 101 uint16_t heads; member
|
| H A D | pcfs_common.c | 260 ((uchar_t *)&(wbpb->bpb.heads))[1] = *grabp++; in swap_pack_grabbpb() 261 ((uchar_t *)&(wbpb->bpb.heads))[0] = *grabp++; in swap_pack_grabbpb()
|
| /illumos-gate/usr/src/uts/common/sys/scsi/generic/ |
| H A D | dad_mode.h | 179 uchar_t heads; /* number of heads */ member
|
| /illumos-gate/usr/src/boot/common/ |
| H A D | part.c | 570 uint16_t sum, heads, sectors; in ptable_vtoc8read() local 597 heads = be16toh(dl->nheads); in ptable_vtoc8read() 598 if (sectors * heads == 0) { in ptable_vtoc8read() 611 entry->part.start = be32toh(dl->map[i].cyl) * heads * sectors; in ptable_vtoc8read()
|
| /illumos-gate/usr/src/grub/grub-0.97/stage1/ |
| H A D | stage1.S | 73 heads: label
|
| /illumos-gate/usr/src/boot/i386/libi386/ |
| H A D | biosdisk.c | 578 bd->bd_hds = params->heads; in bd_get_diskinfo_ext() 585 params->heads * params->sectors_per_track; in bd_get_diskinfo_ext()
|