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

123

/freebsd-10.0-release/sys/sparc64/sparc64/
H A Dcam_machdep.c44 * The VTOC8 disk label only uses 16-bit fields for cylinders, heads
48 * heads and sectors. This allows disks up to the 2TB limit of the
51 * would exceed the 8-bit ccg->heads and ccg->secs_per_track.
60 ccg->heads = 255;
63 ccg->heads = 255;
66 ccg->heads = 64;
69 secs_per_cylinder = ccg->heads * ccg->secs_per_track;
/freebsd-10.0-release/contrib/gcc/
H A Dc-incpath.c59 /* Include chains heads and tails. */
60 static struct cpp_dir *heads[4]; variable in typeref:struct:cpp_dir
274 if (heads[SYSTEM])
275 tails[SYSTEM]->next = heads[AFTER];
277 heads[SYSTEM] = heads[AFTER];
278 heads[SYSTEM] = remove_duplicates (pfile, heads[SYSTEM], 0, 0, verbose);
282 heads[BRACKET] = remove_duplicates (pfile, heads[BRACKE
[all...]
H A Dpredict.c1191 apply_return_prediction (int *heads)
1238 predict_paths_leading_to (PHI_ARG_EDGE (phi, i)->src, heads, pred,
1251 int *heads;
1253 heads = XNEWVEC (int, last_basic_block);
1254 memset (heads, ENTRY_BLOCK, sizeof (int) * last_basic_block);
1255 heads[ENTRY_BLOCK_PTR->next_bb->index] = last_basic_block;
1257 apply_return_prediction (heads);
1278 predict_paths_leading_to (bb, heads, PRED_NORETURN,
1287 free (heads);
1478 predict_paths_leading_to (basic_block bb, int *heads, enu
1188 apply_return_prediction(int *heads) argument
1248 int *heads; local
1473 predict_paths_leading_to(basic_block bb, int *heads, enum br_predictor pred, enum prediction taken) argument
[all...]
/freebsd-10.0-release/sys/dev/aic7xxx/
H A Daic_osm_lib.c139 ccg->heads = 255;
142 ccg->heads = 64;
145 secs_per_cylinder = ccg->heads * ccg->secs_per_track;
/freebsd-10.0-release/sys/dev/virtio/block/
H A Dvirtio_blk.h58 uint8_t heads; member in struct:virtio_blk_config::virtio_blk_geometry
/freebsd-10.0-release/usr.sbin/fdformat/
H A Dfdformat.c276 tracks_per_dot = (fdt.tracks * fdt.heads + 20) / 40;
281 fdt.tracks * fdt.heads * bytes_per_track / 1024,
286 fdt.tracks * fdt.heads * bytes_per_track / 1024,
299 for (i = 0; i < (fdt.tracks * fdt.heads) / tracks_per_dot; i++)
307 for (track = 0; track < fdt.tracks * fdt.heads; track++) {
309 format_track(fd, track / fdt.heads, fdt.sectrac,
310 track % fdt.heads, fdt.trans, fdt.f_gap,
312 track % fdt.heads? fdt.offset_side2: 0);
/freebsd-10.0-release/usr.sbin/fdwrite/
H A Dfdwrite.c146 printf("Format: %d cylinders, %d heads, %d sectors, %d bytes = %dkb\n",
147 fdt.tracks,fdt.heads,fdt.sectrac,(1<<fdt.secsize) * 128,
148 fdt.tracks*bpt*fdt.heads/1024);
161 for (track = 0; track < fdt.tracks * fdt.heads; track++) {
162 if(verbose) printf("\r%3d ",fdt.tracks * fdt.heads-track);
164 format_track(fd, track / fdt.heads, fdt.sectrac, track % fdt.heads,
/freebsd-10.0-release/usr.sbin/fdread/
H A Dfdread.c172 mediasize = tracksize * fdt.tracks * fdt.heads;
178 fdt.tracks, fdt.heads, fdt.sectrac, secsize, _devname);
310 info.cyl = trackno / fdt.heads;
311 info.head = fdt.heads > 1? trackno % fdt.heads: 0;
H A Dfdutil.c187 * sectrac,secsize,datalen,gap,ncyls,speed,heads,f_gap,f_inter,offs2,flags[...]
195 * heads = number of heads
324 case 6: /* heads */
327 "bad numeric value for heads: %s", s1);
329 out->heads = j;
331 errx(EX_USAGE, "bad # of heads %d", j);
376 out->size = out->tracks * out->heads * out->sectrac;
400 speed, in.heads, in.f_gap, in.f_inter, in.offset_side2);
458 fdtp->size = fdtp->sectrac * fdtp->heads * fdt
[all...]
/freebsd-10.0-release/sys/boot/i386/common/
H A Dedd.h59 uint32_t heads; member in struct:edd_params
/freebsd-10.0-release/sys/geom/part/
H A Dg_part_vtoc8.c386 u_int cyls, heads, sectors; local
404 g_part_geometry_heads(msize, sectors, &chs, &heads);
407 basetable->gpt_heads = heads;
411 heads = be16dec(&table->vtoc.nheads);
412 if (heads < 1)
414 if (heads != basetable->gpt_heads && !basetable->gpt_fixgeom)
415 basetable->gpt_heads = heads;
423 heads != basetable->gpt_heads))
425 "(label: %uh,%us GEOM: %uh,%us).\n", pp->name, heads,
428 table->secpercyl = heads * sector
[all...]
H A Dg_part_bsd.c367 u_int sectors, heads; local
386 g_part_geometry_heads(msize, sectors, &chs, &heads);
389 basetable->gpt_heads = heads;
392 heads = le32dec(buf + 48);
393 if (heads < 1 || heads > 255)
395 if (heads != basetable->gpt_heads && !basetable->gpt_fixgeom)
396 basetable->gpt_heads = heads;
/freebsd-10.0-release/sbin/fdisk_pc98/
H A Dfdisk.c74 static int cyls, sectors, heads, cylsecs, disksecs; variable
504 printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"
505 ,cyls,heads,sectors,cylsecs);
509 printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"
566 Decimal("BIOS's idea of #heads", dos_heads, tmp);
704 heads = dos_heads = u;
706 heads = dos_heads = 8;
708 dos_cylsecs = cylsecs = heads * sectors;
709 disksecs = cyls * heads * sectors;
/freebsd-10.0-release/contrib/ncurses/progs/
H A Dinfocmp.c793 ENTRY *heads[MAXCOMPARE]; local
797 memset(heads, 0, sizeof(heads));
827 heads[filecount] = _nc_head;
836 for (qp = heads[0]; qp; qp = qp->next) {
837 for (rp = heads[1]; rp; rp = rp->next)
853 for (qp = heads[0]; qp; qp = qp->next) {
868 for (rp = heads[1]; rp; rp = rp->next) {
884 for (qp = heads[0]; qp; qp = qp->next)
890 for (rp = heads[
[all...]
/freebsd-10.0-release/sys/cam/
H A Dcam.c471 ccg->heads = 255;
474 ccg->heads = 64;
477 secs_per_cylinder = ccg->heads * ccg->secs_per_track;
/freebsd-10.0-release/sys/dev/ppbus/
H A Dvpo.c332 ccg->heads,
336 ccg->heads = 64;
339 (ccg->heads * ccg->secs_per_track);
/freebsd-10.0-release/sys/dev/ida/
H A Dida_disk.c191 drv->heads = dinfo.dp.nheads;
210 drv->disk->d_fwheads = drv->heads;
H A Didavar.h182 int heads; member in struct:idad_softc
/freebsd-10.0-release/sys/pc98/pc98/
H A Dpc98_machdep.c198 ccg->heads = *(tmp+1)&0x0f;
200 ccg->heads = *(tmp+1);
/freebsd-10.0-release/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c228 u_int8_t heads; member in struct:__anon5959
615 dskinf.heads = dskinf.ata_params.heads;
619 (u_int32_t)dskinf.ata_params.heads,
/freebsd-10.0-release/sys/dev/aac/
H A Daac_cam.c285 ccg->heads = 255;
288 ccg->heads = 128;
291 ccg->heads = 64;
294 secs_per_cylinder = ccg->heads * ccg->secs_per_track;
/freebsd-10.0-release/sys/mips/cavium/
H A Docteon_ebt3000_cf.c146 uint16_t heads; member in struct:drive_param
221 if (g_handleattr_int(bp, "GEOM::fwheads", cf_priv->drive_param.heads))
461 cf_priv->drive_param.heads = SWAP_SHORT (cf_priv->drive_param.u.driveid.current_heads);
468 printf(" heads %d tracks %d sec_tracks %d sectors %d\n",
469 cf_priv->drive_param.heads, cf_priv->drive_param.tracks,
/freebsd-10.0-release/usr.sbin/fdcontrol/
H A Dfdcontrol.c165 printf("\tHeads/cylinder:\t%d\n", ft.heads);
/freebsd-10.0-release/sys/dev/fdc/
H A Dfdc.c302 ft->size, ft->trans, ft->heads, ft->f_gap, ft->f_inter,
310 ft->size = ft->sectrac * ft->heads * ft->tracks;
889 i = fd->ft->sectrac * fd->ft->heads;
922 /* let the heads settle */
943 /* let the heads settle */
1278 (finfo->cyl * fd->ft->heads + finfo->head) *
1284 (idfield->cyl * fd->ft->heads + idfield->head) *
1347 for (; fdtp->heads; fdtp++) {
1357 id.head = fd->ft->heads - 1;
1359 if (id.cyl != 2 || id.head != fdtp->heads
[all...]
/freebsd-10.0-release/sbin/fdisk/
H A Dfdisk.c78 static int cyls, sectors, heads, cylsecs, disksecs; variable
624 printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"
625 ,cyls,heads,sectors,cylsecs);
629 printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"
688 Decimal("BIOS's idea of #heads", dos_heads, tmp, 0);
862 heads = dos_heads = u;
864 heads = dos_heads = 255;
866 dos_cylsecs = cylsecs = heads * sectors;
867 disksecs = cyls * heads * sectors;
1108 warnx("ERROR line %d: number of heads no
[all...]

Completed in 276 milliseconds

123