Searched refs:heads (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/format/
H A Dparam.h67 #define MAXBLKS(heads, spt) UINT16_MAX * heads * spt, heads, spt
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbios.c37 unsigned long *heads,
42 unsigned long *heads,
105 * geometry->heads
120 head_offset = head % geometry->heads;
121 cylinder_offset = head / geometry->heads;
152 unsigned char heads;
167 geometry->heads = 1;
179 geometry->heads = cdrp.heads;
183 * geometry->heads
150 unsigned char heads; member in struct:iso_spec_packet
255 unsigned long heads; member in struct:drive_parameters
[all...]
H A Dfat.h49 __u16 heads; /* number of heads */ member in struct:fat_bpb
H A Dcommon.c305 info->drive_heads = geom.heads;
/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
[all...]
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.c52 unsigned char heads; member in struct:hd_geometry
169 geom->heads = hdg.heads;
198 geom->heads = tmp;
200 geom->heads = 1;
202 geom->heads = 16;
204 geom->heads = 255;
207 / geom->heads
222 geom->heads = hdg.d_ntracks;
237 geom->heads
[all...]
/illumos-gate/usr/src/uts/sun/sys/dada/impl/
H A Dcommands.h64 uchar_t heads; member in struct:dcd_capacity
/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Dedd.h59 uint32_t heads; member in struct:edd_params
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_util.c300 return ((tgtp->properties.drive.heads << 16) |
709 ctlr->cpqary3_tgtp[i]->properties.drive.heads =
710 idlogdrive->heads;
783 ctlr->cpqary3_tgtp[i]->properties.drive.heads =
784 idlogdrive->heads;
H A Dcpqary3_scsi.h161 uint8_t heads; member in struct:Identify_Logical_Drive
/illumos-gate/usr/src/tools/onbld/Scm/
H A DWorkSpace.py622 current branch, if no heads are determined to be outgoing, it
630 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):
644 an ancestor of a changeset in heads.
672 ptips = map(lambda x: tipmost_shared(x, nodes), heads)
771 heads = localtip.parents()
773 heads
[all...]
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:
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_bpb.h105 uint16_t heads; member in struct:_orig_bios_param_blk
H A Dpcfs_common.c232 ((uchar_t *)&(wbpb->bpb.heads))[1] = *grabp++;
233 ((uchar_t *)&(wbpb->bpb.heads))[0] = *grabp++;
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs_pcfs.h106 uint16_t heads; member in struct:_orig_bios_param_blk
H A Dmkfs.c996 wbpb->bpb.heads = 2;
1006 wbpb->bpb.heads = 2;
1122 "3.5'' diskette with %d heads "
1131 "3.5'' diskette with %d heads "), hds);
1160 "5.25'' diskette with %d heads "
1182 "5.25'' diskette with %d heads "
1190 "5.25'' diskette with %d heads."), hds);
1247 wbpb->bpb.heads = hds;
1249 wbpb->bpb.heads =
1251 gettext("number of heads"),
[all...]
/illumos-gate/usr/src/tools/onbld/hgext/
H A Dcdm.py683 ui.write('Checking for multiple heads (or branches):\n')
685 heads = set(repo.heads())
689 # We care if there's more than one head, and those heads aren't
694 if len(heads) > 1 and heads != parents:
695 ui.write('Workspace has multiple heads (or branches):\n')
696 for head in [repo.changectx(head) for head in heads]:
920 one outgoing head, even if those heads are on the same branch. To
929 changes, applied Mq patches, or has multiple outgoing heads (o
[all...]
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c1031 uint32_t heads = epp->disk_geom.virt_heads; local
1034 if (lba >= heads * sectors * MAX_CYL) {
1043 cy = lba / sectors / heads;
1044 hd = lba / sectors % heads;
1057 if (lba >= heads * sectors * MAX_CYL) {
1062 cy = lba / sectors / heads;
1063 hd = lba / sectors % heads;
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Ddad_mode.h181 uchar_t heads; /* number of heads */ member in struct:mode_geometry
/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/boot/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c228 u_int8_t heads; member in struct:__anon122
615 dskinf.heads = dskinf.ata_params.heads;
619 (u_int32_t)dskinf.ata_params.heads,
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c97 * HEAD range [ 0 .. MAX_HEAD ], so number of heads is (MAX_HEAD + 1)
207 " NHEADS number of heads\n"
328 static diskaddr_t chs_capacity; /* Numcyl_usable * heads * sectors */
335 static int heads; /* number of heads */ variable
341 static int hba_heads; /* number of heads */
995 heads = disk_geom.dkg_nhead;
1024 hba_Numcyl = (Numcyl * heads * sectors) /
1031 " cylinders[%d] heads[%d] sectors[%d]\n"
1034 heads,
[all...]
/illumos-gate/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) argument
2217 if (heads[pnum] == NULL)
2218 heads[pnum] = mp;
2265 mblk_t *heads[2], *tails[2]; local
2271 heads[0] = heads[1] = NULL;
2323 while (yge_handle_events(dev, heads, tails, txindex))
2344 if (heads[0])
2345 mac_rx(port1->p_mh, NULL, heads[0]);
2347 if (heads[
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S73 heads: label
255 /* save number of heads */
292 divl 4(%si) /* divide by number of heads */
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpart.c550 uint16_t sum, heads, sectors; local
577 heads = be16toh(dl->nheads);
578 if (sectors * heads == 0) {
591 entry->part.start = be32toh(dl->map[i].cyl) * heads * sectors;

Completed in 134 milliseconds

12