Home
last modified time | relevance | path

Searched refs:nhead (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dformat.dat35 : ncyl = 832 : acyl = 2 : pcyl = 834 : nhead = 6 : nsect = 34 \
50 # : ncyl = 1520 : acyl = 2 : pcyl = 1549 : nhead = 9 : nsect = 46 \
59 : ncyl = 974 : acyl = 2 : pcyl = 1019 : nhead = 6 : nsect = 35 \
65 : ncyl = 1545 : acyl = 2 : pcyl = 1549 : nhead = 9 : nsect = 46 \
71 : ncyl = 974 : acyl = 2 : pcyl = 1019 : nhead = 6 : nsect = 35 \
77 : ncyl = 1254 : acyl = 2 : pcyl = 1272 : nhead = 9 : nsect = 36 \
83 : ncyl = 1545 : acyl = 2 : pcyl = 1549 : nhead = 9 : nsect = 46 \
89 : ncyl = 1538 : acyl = 2 : pcyl = 1544 : nhead = 6 : nsect = 72 \
138 : ncyl = 95 : acyl = 0 : pcyl = 95 : nhead = 64 : nsect = 32 \
143 : nhead = 2 : nsect = 40 : rpm = 3600
[all …]
H A Dauto_sense.c574 label->dkl_nhead = nhead; in auto_label_init()
908 uint_t nhead = 0; in generic_disk_sense() local
996 nhead = page4->heads; in generic_disk_sense()
1150 p, nhead, n); in generic_disk_sense()
1185 (nhead > nsect); in generic_disk_sense()
1258 nhead, nsect, pcyl, in generic_disk_sense()
1313 label->dkl_nhead = nhead; in generic_disk_sense()
1389 int nhead; in use_existing_disk_type() local
1424 label->dkl_nhead = nhead; in use_existing_disk_type()
2105 uint_t lnhead = *nhead;
[all …]
H A Dmenu_fdisk.c542 if (nhead != 0 && nsect != 0) {
543 pcyl = numsec / (nhead * nsect);
544 xstart = relsec / (nhead * nsect);
582 if (nhead != 0 && nsect != 0) {
583 pcyl = lel(ip.numsect) / (nhead * nsect);
584 xstart = lel(ip.relsect) / (nhead * nsect);
671 nhead = cur_dtype->dtype_nhead;
772 if (nhead != 0 && nsect != 0) {
773 pcyl = numsec / (nhead * nsect);
809 if (nhead != 0 && nsect != 0) {
[all …]
H A Dglobal.h122 extern uint_t nhead; /* # heads */
146 #define sectors(h) ((h) == nhead - 1 ? nsect - apc : nsect)
147 #define spc() (nhead * nsect - apc)
H A Dmain.c80 uint_t nhead; variable
436 nhead = cur_dtype->dtype_nhead; in init_globals()
561 ncyl = acyl = nhead = nsect = psect = 0; in init_globals()
675 get_phead(nhead, &cur_dtype->dtype_options); in get_disk_characteristics()
H A Ddefect.c164 (diskaddr_t)chs2bn(ncyl + acyl - 1, nhead - 1, sec), 1, in read_list()
180 if ((bt->bt_cyl >= pcyl) || (head >= nhead) || in read_list()
386 (diskaddr_t)chs2bn(ncyl + acyl - 1, nhead - 1, sec), 1, in write_deflist()
H A Dlabel.c186 if (capacity.sc_capacity < ncyl * nhead * nsect) { in do_geometry_sanity_check()
310 label.dkl_nhead = nhead; in write_label()
342 cur_dtype->dtype_asciilabel, ncyl, acyl, nhead, nsect); in write_label()
374 geom.dkg_nhead = nhead; in write_label()
425 head = nhead - 1; in write_label()
H A Dmenu_developer.c143 (void) printf("nhead = %d\n", nhead); in dv_params()
H A Dmenu_command.c307 if (!option_f && ncyl == 0 && nhead == 0 && nsect == 0 && in c_disk()
315 if (nhead != 0 && nsect != 0) in c_disk()
764 acyl, nhead, nsect); in c_current()
780 acyl, nhead, nsect); in c_current()
1646 nhead = label.dkl_nhead; in c_label()
1694 label.dkl_nhead = nhead; in c_label()
1926 head = nhead - 1; in c_backup()
2196 head = nhead - 1; in c_verify()
H A Dpartition.c313 fullsz = ncyl * nhead * nsect; in change_partition()
339 cur_parts->vtoc.v_part[num].p_start = (daddr_t)(i * (nhead * nsect)); in change_partition()
H A Dio.c378 wild = nhead - 1; in getbn()
381 if ((head < 0) || (head >= nhead)) { in getbn()
382 err_print("`%d' is out of range [0-%u].\n", head, nhead - 1); in getbn()
H A Dmenu_partition.c308 (nhead * nsect)); in p_select()
H A Dmodify_partition.c308 map[i].dkl_cylno * nhead * nsect; in p_modify()
H A Dmenu_defect.c303 ioparam.io_bounds.upper = nhead - 1; in d_add()
H A Dstartup.c1129 nhead = dtype->dtype_nhead; in sup_setpart()
1271 pinfo->vtoc.v_part[index].p_start = val1 * (nhead * nsect); in sup_setpart()
/illumos-gate/usr/src/uts/common/os/
H A Dddi_nodeid.c72 static struct available *nhead; variable
103 nhead = np->next; in np_unlink()
121 nhead = fp; in np_insert()
133 if (nhead == NULL) { in np_add()
134 nhead = fp; in np_add()
138 for (np = nhead; np->next != NULL; np = np->next) in np_add()
179 nhead = np; in impl_ddi_init_nodeid()
191 if (nhead == NULL) { in impl_ddi_alloc_nodeid()
197 np = nhead; in impl_ddi_alloc_nodeid()
240 for (np = nhead; np != NULL; np = np->next) { in impl_ddi_free_nodeid()
[all …]
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_slice.c1249 uint32_t nhead, numcyl, nsect; in write_default_label() local
1275 nhead = 64; in write_default_label()
1278 nhead = 255; in write_default_label()
1283 capacity = (diskaddr_t)nhead * nsect * numcyl; in write_default_label()
1298 asciilabel2, numcyl, acyl, nhead, nsect); in write_default_label()
1332 uint32_t numcyl, nhead, nsect; in write_default_label() local
1382 nhead = dkg.dkg_nhead; in write_default_label()
1390 parts[0].relsect = lel(nhead * nsect); in write_default_label()
1395 parts[0].endhead = nhead - 1; in write_default_label()
1447 capacity = (diskaddr_t)(numcyl - 1) * nhead * nsect; in write_default_label()
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dchrqueue.c353 int nhead = (!is_tail || nmodulo == 0) ? GL_CQ_SIZE : nmodulo; in _glq_flush_queue() local
358 int nbuff = nhead - (cq->nflush % GL_CQ_SIZE); in _glq_flush_queue()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c227 h->bs.nhead = ltohs(h->bs.nhead); in read_bootsec()
521 h->bs.nhead, h->bs.hiddensec); in dumpfs()
590 ADD_UINT32(h, "heads", h->bs.nhead); in get_attr()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h235 uint16_t nhead; /* number of heads */ member
370 (dk_geom)->dkg_nhead = (vd_geom)->nhead; \
413 (vd_geom)->nhead = (dk_geom)->dkg_nhead; \
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dbiosdisk.h90 uint32_t nhead; member
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c1914 unsigned short nhead; local
1926 nhead = 224;
1929 nhead = 255;
1933 cl_g->dkg_nhead = nhead;
1937 (UINT16_MAX * nhead * nsect) - 1) /
1938 (UINT16_MAX * nhead * nsect)) * nsect;
1970 unsigned short nhead; local
2002 nhead = 255;
2005 nhead = cl->cl_lgeom.g_nhead;
2011 pgeomp->g_nsect = nsect * nhead;
[all …]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpc_fs.h123 ushort_t nhead; /* number of heads */ member
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c4383 int nhead; in sd_get_physical_geometry() local
4560 nhead = (int)page4p->heads; /* uchar, so no conversion needed */ in sd_get_physical_geometry()
4561 spc = nhead * nsect; in sd_get_physical_geometry()
4570 " cylinders: %d; heads: %d; rpm: %d;\n", ncyl, nhead, rpm); in sd_get_physical_geometry()
4592 pgeom_p->g_nhead = (unsigned short)nhead; in sd_get_physical_geometry()
4610 nhead, ncyl, rpm, modesense_capacity); in sd_get_physical_geometry()