Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dbios.c33 unsigned long *heads,
38 unsigned long *heads,
100 * geometry->heads in biosdisk()
115 head_offset = head % geometry->heads; in biosdisk()
116 cylinder_offset = head / geometry->heads; in biosdisk()
147 unsigned char heads; in get_cdinfo() member
162 geometry->heads = 1; in get_cdinfo()
174 geometry->heads = cdrp.heads; in get_cdinfo()
178 * geometry->heads in get_cdinfo()
196 geometry->heads = 1; in get_cdinfo()
[all …]
H A Dfat.h49 __u16 heads; /* number of heads */ member
H A Dcommon.c305 info->drive_heads = geom.heads; in init_bios_info()
/titanic_41/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 …]
/titanic_41/usr/src/cmd/format/
H A Dparam.h67 #define MAXBLKS(heads, spt) UINT16_MAX * heads * spt, heads, spt argument
H A Dctlr_scsi.c668 p4_heads = page4->heads; in scsi_format_time()
1274 tmp2 = page4->heads;
1277 if ((cur_dtype->dtype_options & SUP_PHEAD) && fixed->heads != 0) {
1278 flag |= (page4->heads != phead);
1279 page4->heads = phead;
1286 tmp1, page4->heads, tmp2);
/titanic_41/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 …]
/titanic_41/usr/src/tools/onbld/Scm/
H A DWorkSpace.py630 heads = self.repo.heads(start=wctx.parents()[0].node())
631 headctxs = [self.repo.changectx(n) for n in heads]
636 if len(heads) > 1:
642 def parenttip(self, heads, outgoing): argument
672 ptips = map(lambda x: tipmost_shared(x, nodes), heads)
771 heads = localtip.parents()
773 heads = [localtip]
775 parenttip = self.parenttip(heads, outnodes)
785 headnodes = [h.node() for h in heads]
H A DBackup.py704 heads = [self.ws.repo.changectx(n) for n in self.ws.repo.heads()
707 heads = []
712 heads = filter(lambda x: x not in wctx.parents(), heads) + [wctx]
715 for head in heads:
/titanic_41/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
/titanic_41/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)
/titanic_41/usr/src/tools/onbld/hgext/
H A Dcdm.py685 heads = set(repo.heads())
694 if len(heads) > 1 and heads != parents:
696 for head in [repo.changectx(head) for head in heads]:
946 heads = set(between) & set(repo.heads())
948 if len(heads) > 1:
950 for head in sorted(map(repo.changelog.rev, heads), reverse=True):
/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c335 static int heads; /* number of heads */ variable
995 heads = disk_geom.dkg_nhead; in main()
1024 hba_Numcyl = (Numcyl * heads * sectors) / in main()
1034 heads, in main()
1037 Numcyl * heads * sectors, in main()
1038 (Numcyl * heads * sectors * sectsiz) / 1048576); in main()
1062 heads = disk_geom.dkg_nhead; in main()
1079 heads, 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/uts/sun/sys/dada/impl/
H A Dcommands.h64 uchar_t heads; member
/titanic_41/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c1031 uint32_t heads = epp->disk_geom.virt_heads; 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()
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()
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c996 wbpb->bpb.heads = 2; in prepare_image_file()
1006 wbpb->bpb.heads = 2; in prepare_image_file()
1247 wbpb->bpb.heads = hds; in lookup_floppy()
1249 wbpb->bpb.heads = in lookup_floppy()
1253 hds = wbpb->bpb.heads; in lookup_floppy()
1512 wbpb->bpb.heads = (GetTPC ? dginfo.dkg_nhead : TrkPerCyl); in find_fixed_details()
1640 store_16_bits(&fillp, wbpb->bpb.heads); in swap_pack_bpbcpy()
1671 store_16_bits(&fillp, wbpb->bpb.heads); in swap_pack_bpb32cpy()
1728 ((uchar_t *)&(wbpb->bpb.heads))[1] = *grabp++; in swap_pack_grabbpb()
1729 ((uchar_t *)&(wbpb->bpb.heads))[0] = *grabp++; in swap_pack_grabbpb()
[all …]
H A Dmkfs_pcfs.h106 uint16_t heads; member
/titanic_41/usr/src/uts/common/io/yge/
H A Dyge.c2173 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 …]
/titanic_41/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()
/titanic_41/usr/src/uts/common/sys/scsi/generic/
H A Ddad_mode.h181 uchar_t heads; /* number of heads */ member
/titanic_41/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S73 heads: label
/titanic_41/usr/src/uts/common/io/
H A Demul64_bsd.c674 page4.heads = uint_to_byte0(tgt->emul64_tgt_nheads); in bsd_mode_sense_dad_mode_geometry()
681 page4.heads = 0xff; in bsd_mode_sense_dad_mode_geometry()

12