Home
last modified time | relevance | path

Searched refs:heads (Results 1 – 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbios.c36 unsigned long *heads,
41 unsigned long *heads,
103 * geometry->heads in biosdisk()
150 unsigned char heads; in get_cdinfo() member
177 geometry->heads = cdrp.heads; in get_cdinfo()
238 &geometry->heads, in get_diskinfo()
307 geometry->heads = drp.heads; in get_diskinfo()
342 * geometry->heads in get_diskinfo()
355 &geometry->heads, in get_diskinfo()
363 &geometry->heads, in get_diskinfo()
[all …]
H A Dfat.h49 __u16 heads; /* number of heads */ member
H A Dcommon.c305 info->drive_heads = geom.heads; in init_bios_info()
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmkbimage41 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 Ddevice.c52 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 Dparam.h67 #define MAXBLKS(heads, spt) UINT16_MAX * heads * spt, heads, spt argument
H A Dctlr_scsi.c620 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/
H A Dblock_if.c1065 uint8_t heads; in blockif_chs() local
1077 heads = 16; in blockif_chs()
1082 heads = (hcyl + 1023) / 1024; in blockif_chs()
1084 if (heads < 4) in blockif_chs()
1085 heads = 4; in blockif_chs()
1087 if (hcyl >= (heads * 1024) || heads > 16) { in blockif_chs()
1089 heads = 16; in blockif_chs()
1092 if (hcyl >= (heads * 1024)) { in blockif_chs()
1094 heads = 16; in blockif_chs()
1099 *c = hcyl / heads; in blockif_chs()
[all …]
H A Dpci_virtio_block.c131 uint8_t heads; member
519 sc->vbsc_cfg.vbc_geometry.heads = 0; in pci_vtblk_init()
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_util.c300 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 Dcpqary3_scsi.h161 uint8_t heads; member
H A Dcpqary3.h216 uint8_t heads; member
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Dcapacity.notes.txt126 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 Dfdisk.c327 static int heads; /* number of heads */ variable
992 heads = disk_geom.dkg_nhead; in main()
1031 heads, in main()
1034 Numcyl * heads * sectors, in main()
1059 heads = disk_geom.dkg_nhead; in main()
1076 heads, in main()
1259 heads * sectors)); in main()
3088 cyl_size = heads * sectors;
3675 if ((heads == 0) || (sectors == 0)) {
3686 heads * sectors, sectsiz);
[all …]
/illumos-gate/usr/src/uts/sun/sys/dada/impl/
H A Dcommands.h64 uchar_t heads; member
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c1052 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/boot/i386/common/
H A Dedd.h57 uint32_t heads; member
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c2217 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()
2344 if (heads[0]) in yge_intr()
2347 if (heads[0]) { in yge_intr()
2349 while ((mp = heads[0]) != NULL) { in yge_intr()
2350 heads[0] = mp->b_next; in yge_intr()
2360 if (heads[1]) in yge_intr()
2363 if (heads[1]) { in yge_intr()
[all …]
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c998 wbpb->bpb.heads = 2; in prepare_image_file()
1008 wbpb->bpb.heads = 2; in prepare_image_file()
1249 wbpb->bpb.heads = hds; in lookup_floppy()
1251 wbpb->bpb.heads = in lookup_floppy()
1255 hds = wbpb->bpb.heads; in lookup_floppy()
1642 store_16_bits(&fillp, wbpb->bpb.heads); in swap_pack_bpbcpy()
1673 store_16_bits(&fillp, wbpb->bpb.heads); in swap_pack_bpb32cpy()
1730 ((uchar_t *)&(wbpb->bpb.heads))[1] = *grabp++; in swap_pack_grabbpb()
1731 ((uchar_t *)&(wbpb->bpb.heads))[0] = *grabp++; in swap_pack_grabbpb()
1953 if (compare.bpb.heads != wbpb->bpb.heads) { in compare_existing_with_computed()
[all …]
H A Dmkfs_pcfs.h106 uint16_t heads; member
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_bpb.h105 uint16_t heads; member
H A Dpcfs_common.c232 ((uchar_t *)&(wbpb->bpb.heads))[1] = *grabp++; in swap_pack_grabbpb()
233 ((uchar_t *)&(wbpb->bpb.heads))[0] = *grabp++; in swap_pack_grabbpb()
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Ddad_mode.h181 uchar_t heads; /* number of heads */ member
/illumos-gate/usr/src/boot/common/
H A Dpart.c570 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 Dstage1.S73 heads: label

12