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

123

/freebsd-11-stable/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-11-stable/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-11-stable/usr.bin/mkimg/
H A Dvhd.c66 uint8_t heads; member in struct:vhd_geom
130 geom->heads = nheads;
139 geom->heads = 16;
145 geom->heads = (cth + 1023) / 1024;
146 if (geom->heads < 4)
147 geom->heads = 4;
148 if (cth >= (geom->heads * 1024) || geom->heads > 16) {
149 geom->heads = 16;
153 if (cth >= (geom->heads * 102
[all...]
/freebsd-11-stable/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-11-stable/sys/dev/virtio/block/
H A Dvirtio_blk.h58 uint8_t heads; member in struct:virtio_blk_config::virtio_blk_geometry
/freebsd-11-stable/usr.sbin/fdformat/
H A Dfdformat.c278 tracks_per_dot = (fdt.tracks * fdt.heads + 20) / 40;
283 fdt.tracks * fdt.heads * bytes_per_track / 1024,
288 fdt.tracks * fdt.heads * bytes_per_track / 1024,
301 for (i = 0; i < (fdt.tracks * fdt.heads) / tracks_per_dot; i++)
309 for (track = 0; track < fdt.tracks * fdt.heads; track++) {
311 format_track(fd, track / fdt.heads, fdt.sectrac,
312 track % fdt.heads, fdt.trans, fdt.f_gap,
314 track % fdt.heads? fdt.offset_side2: 0);
/freebsd-11-stable/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-11-stable/usr.sbin/fdread/
H A Dfdread.c174 mediasize = tracksize * fdt.tracks * fdt.heads;
180 fdt.tracks, fdt.heads, fdt.sectrac, secsize, _devname);
316 info.cyl = trackno / fdt.heads;
317 info.head = fdt.heads > 1? trackno % fdt.heads: 0;
H A Dfdutil.c175 * sectrac,secsize,datalen,gap,ncyls,speed,heads,f_gap,f_inter,offs2,flags[...]
183 * heads = number of heads
312 case 6: /* heads */
315 "bad numeric value for heads: %s", s1);
317 out->heads = j;
319 errx(EX_USAGE, "bad # of heads %d", j);
364 out->size = out->tracks * out->heads * out->sectrac;
388 speed, in.heads, in.f_gap, in.f_inter, in.offset_side2);
446 fdtp->size = fdtp->sectrac * fdtp->heads * fdt
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dblock_if.c755 off_t hcyl; /* cylinders times heads */
757 uint8_t heads; local
769 heads = 16;
774 heads = (hcyl + 1023) / 1024;
776 if (heads < 4)
777 heads = 4;
779 if (hcyl >= (heads * 1024) || heads > 16) {
781 heads = 16;
784 if (hcyl >= (heads * 102
[all...]
/freebsd-11-stable/stand/i386/common/
H A Dedd.h59 uint32_t heads; member in struct:edd_params
/freebsd-11-stable/sys/geom/part/
H A Dg_part_vtoc8.c441 u_int cyls, heads, sectors; local
459 g_part_geometry_heads(msize, sectors, &chs, &heads);
462 basetable->gpt_heads = heads;
466 heads = be16dec(&table->vtoc.nheads);
467 if (heads < 1)
469 if (heads != basetable->gpt_heads && !basetable->gpt_fixgeom)
470 basetable->gpt_heads = heads;
478 heads != basetable->gpt_heads))
480 "(label: %uh,%us GEOM: %uh,%us).\n", pp->name, heads,
483 table->secpercyl = heads * sector
[all...]
H A Dg_part_bsd.c392 u_int sectors, heads; local
411 g_part_geometry_heads(msize, sectors, &chs, &heads);
414 basetable->gpt_heads = heads;
417 heads = le32dec(buf + 48);
418 if (heads < 1 || heads > 255)
420 if (heads != basetable->gpt_heads && !basetable->gpt_fixgeom)
421 basetable->gpt_heads = heads;
/freebsd-11-stable/sbin/fdisk_pc98/
H A Dfdisk.c72 static int cyls, sectors, heads, cylsecs, disksecs; variable
502 printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"
503 ,cyls,heads,sectors,cylsecs);
507 printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"
564 Decimal("BIOS's idea of #heads", dos_heads, tmp);
702 heads = dos_heads = u;
704 heads = dos_heads = 8;
706 dos_cylsecs = cylsecs = heads * sectors;
707 disksecs = cyls * heads * sectors;
/freebsd-11-stable/contrib/ncurses/progs/
H A Dinfocmp.c982 ENTRY *heads[MAXCOMPARE]; local
986 memset(heads, 0, sizeof(heads));
1020 heads[filecount] = _nc_head;
1029 for (qp = heads[0]; qp; qp = qp->next) {
1030 for (rp = heads[1]; rp; rp = rp->next)
1046 for (qp = heads[0]; qp; qp = qp->next) {
1061 for (rp = heads[1]; rp; rp = rp->next) {
1077 for (qp = heads[0]; qp; qp = qp->next)
1083 for (rp = heads[
[all...]
/freebsd-11-stable/sys/dev/ppbus/
H A Dvpo.c338 ccg->heads,
342 ccg->heads = 64;
345 (ccg->heads * ccg->secs_per_track);
/freebsd-11-stable/sys/pc98/pc98/
H A Dpc98_machdep.c197 ccg->heads = *(tmp+1)&0x0f;
199 ccg->heads = *(tmp+1);
/freebsd-11-stable/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-11-stable/sys/cam/
H A Dcam.c575 ccg->heads = 255;
578 ccg->heads = 64;
581 secs_per_cylinder = ccg->heads * ccg->secs_per_track;
/freebsd-11-stable/sys/sys/
H A Dfdcio.h91 int heads; /* number of heads */ member in struct:fd_type
/freebsd-11-stable/sys/mips/cavium/
H A Docteon_ebt3000_cf.c146 uint16_t heads; member in struct:drive_param
222 if (g_handleattr_int(bp, "GEOM::fwheads", cf_priv->drive_param.heads))
462 cf_priv->drive_param.heads = SWAP_SHORT (cf_priv->drive_param.u.driveid.current_heads);
469 printf(" heads %d tracks %d sec_tracks %d sectors %d\n",
470 cf_priv->drive_param.heads, cf_priv->drive_param.tracks,
/freebsd-11-stable/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-11-stable/usr.sbin/fdcontrol/
H A Dfdcontrol.c167 printf("\tHeads/cylinder:\t%d\n", ft.heads);

Completed in 292 milliseconds

123