/illumos-gate/usr/src/cmd/format/ |
H A D | format.dat | 35 : ncyl = 832 : acyl = 2 : pcyl = 834 : nhead = 6 : nsect = 34 \ 41 # : ncyl = 1703 : acyl = 2 : pcyl = 1931 : nhead = 15 : nsect = 80 \ 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 \ 95 : ncyl = 1151 : acyl = 2 : pcyl = 2500 : nhead = 9 : nsect = 80 \ [all …]
|
H A D | auto_sense.c | 223 uint_t *nsect, uint_t *nhead); 567 nhead = disk_geom.dkg_nhead; in auto_label_init() 574 label->dkl_nhead = nhead; in auto_label_init() 584 "DEFAULT", ncyl, acyl, nhead, nsect); in auto_label_init() 908 uint_t nhead = 0; in generic_disk_sense() local 991 compute_chs_values(tblocks, nblocks, &pcyl, &nhead, in generic_disk_sense() 996 nhead = page4->heads; in generic_disk_sense() 1008 if (nhead == 0 || nsect == 0) { in generic_disk_sense() 1012 &pcyl, &nhead, &nsect)) { in generic_disk_sense() 1029 compute_chs_values(tblocks, nblocks, &pcyl, &nhead, &nsect); in generic_disk_sense() [all …]
|
H A D | menu_fdisk.c | 460 cur_parts->pinfo_map[C_PARTITION].dkl_cylno * nhead * nsect; in update_cur_parts() 542 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); 590 "\tnhead = %d; nsect = %d\n", nhead, nsect); 671 nhead = cur_dtype->dtype_nhead; 772 if (nhead != 0 && nsect != 0) { [all …]
|
H A D | global.h | 122 extern uint_t nhead; /* # heads */ 146 #define sectors(h) ((h) == nhead - 1 ? nsect - apc : nsect) 147 #define spc() (nhead * nsect - apc)
|
H A D | main.c | 80 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 D | defect.c | 164 (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 D | label.c | 186 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 D | menu_command.c | 307 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 D | menu_developer.c | 143 (void) printf("nhead = %d\n", nhead); in dv_params()
|
H A D | partition.c | 313 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 D | io.c | 378 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 D | menu_partition.c | 308 (nhead * nsect)); in p_select()
|
H A D | menu_defect.c | 303 ioparam.io_bounds.upper = nhead - 1; in d_add()
|
H A D | modify_partition.c | 308 map[i].dkl_cylno * nhead * nsect; in p_modify()
|
H A D | startup.c | 1129 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 D | ddi_nodeid.c | 72 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 D | rmf_slice.c | 1249 uint32_t nhead, numcyl, nsect; in write_default_label() local 1275 nhead = 64; in write_default_label() 1278 nhead = 255; in write_default_label() 1282 numcyl = (uint32_t)med_info.sm_capacity / (nhead * nsect); 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() 1391 parts[0].numsect = lel(((diskaddr_t)numcyl * nhead * nsect)); in write_default_label() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | chrqueue.c | 353 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 D | fstyp.c | 241 h->bs.nhead = ltohs(h->bs.nhead); in read_bootsec() 544 h->bs.nhead, h->bs.hiddensec); in dumpfs() 613 ADD_UINT32(h, "heads", h->bs.nhead); in get_attr()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 235 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 D | biosdisk.h | 90 uint32_t nhead; member
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 1914 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 D | pc_fs.h | 123 ushort_t nhead; /* number of heads */ member
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 4383 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()
|