/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_nodeid.c | 74 static struct available *nhead; variable in typeref:struct:available 105 nhead = np->next; 123 nhead = fp; 135 if (nhead == NULL) { 136 nhead = fp; 140 for (np = nhead; np->next != NULL; np = np->next) 181 nhead = np; 193 if (nhead == NULL) { 199 np = nhead; 242 for (np = nhead; n [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | auto_sense.c | 150 * Hence try to adjust the cylinders by reducing the "nsect/nhead". 228 uint_t *nsect, uint_t *nhead); 566 nhead = disk_geom.dkg_nhead; 573 label->dkl_nhead = nhead; 583 "DEFAULT", ncyl, acyl, nhead, nsect); 907 uint_t nhead = 0; local 990 compute_chs_values(tblocks, nblocks, &pcyl, &nhead, 995 nhead = page4->heads; 1007 if (nhead == 0 || nsect == 0) { 1011 &pcyl, &nhead, 1388 int nhead; local 2100 adjust_disk_geometry(diskaddr_t capacity, uint_t *cyl, uint_t *nhead, uint_t *nsect) argument [all...] |
H A D | menu_fdisk.c | 458 cur_parts->pinfo_map[C_PARTITION].dkl_cylno * nhead * nsect; 540 if (nhead != 0 && nsect != 0) { 541 pcyl = numsec / (nhead * nsect); 542 xstart = relsec / (nhead * nsect); 576 * if the disk has an EFI label, nhead and nsect may 580 if (nhead != 0 && nsect != 0) { 581 pcyl = lel(ip.numsect) / (nhead * nsect); 582 xstart = lel(ip.relsect) / (nhead * nsect); 588 "\tnhead = %d; nsect = %d\n", nhead, nsect); 669 nhead [all...] |
H A D | global.h | 122 uint_t nhead; /* # heads */ variable 146 #define sectors(h) ((h) == nhead - 1 ? nsect - apc : nsect) 147 #define spc() (nhead * nsect - apc)
|
H A D | menu_developer.c | 145 (void) printf("nhead = %d\n", nhead);
|
H A D | defect.c | 164 (diskaddr_t)chs2bn(ncyl + acyl - 1, nhead - 1, sec), 1, 180 if ((bt->bt_cyl >= pcyl) || (head >= nhead) || 386 (diskaddr_t)chs2bn(ncyl + acyl - 1, nhead - 1, sec), 1,
|
H A D | main.c | 411 nhead = cur_dtype->dtype_nhead; 536 ncyl = acyl = nhead = nsect = psect = 0; 650 get_phead(nhead, &cur_dtype->dtype_options);
|
H A D | menu_command.c | 300 if (!option_f && ncyl == 0 && nhead == 0 && nsect == 0 && 308 if (nhead != 0 && nsect != 0) 756 acyl, nhead, nsect); 772 acyl, nhead, nsect); 1638 nhead = label.dkl_nhead; 1686 label.dkl_nhead = nhead; 1918 head = nhead - 1; 2185 head = nhead - 1; 2324 fmt_print("nhead = %4d\n", label->dkl_nhead);
|
H A D | label.c | 206 if (capacity.sc_capacity < ncyl * nhead * nsect) { 328 label.dkl_nhead = nhead; 360 cur_dtype->dtype_asciilabel, ncyl, acyl, nhead, nsect); 392 geom.dkg_nhead = nhead; 443 head = nhead - 1; 1118 fmt_print("nhead: %d\n", label->dkl_nhead); 1130 fmt_print("nhead: %d\n", label->dkl_nhead);
|
H A D | partition.c | 312 fullsz = ncyl * nhead * nsect; 338 cur_parts->vtoc.v_part[num].p_start = (daddr_t)(i * (nhead * nsect));
|
H A D | menu_defect.c | 312 ioparam.io_bounds.upper = nhead - 1;
|
H A D | menu_partition.c | 320 (nhead * nsect));
|
H A D | modify_partition.c | 321 map[i].dkl_cylno * nhead * nsect;
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | chrqueue.c | 355 int nhead = (!is_tail || nmodulo == 0) ? GL_CQ_SIZE : nmodulo; local 360 int nbuff = nhead - (cq->nflush % GL_CQ_SIZE);
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | biosdisk.h | 90 uint32_t nhead; member in struct:int13_fn48_result
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 966 DPRINTF1("nhead %d\n", dkg.dkg_nhead); 1230 * nhead = 64, nsect = 32 1232 * nhead = 255, nsect = 63 1249 uint32_t nhead, numcyl, nsect; local 1275 nhead = 64; 1278 nhead = 255; 1282 numcyl = (uint32_t)med_info.sm_capacity / (nhead * nsect); 1283 capacity = (diskaddr_t)nhead * nsect * numcyl; 1298 asciilabel2, numcyl, acyl, nhead, nsect); 1332 uint32_t numcyl, nhead, nsec local [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 235 uint16_t nhead; /* number of heads */ member in struct:vd_geom 370 (dk_geom)->dkg_nhead = (vd_geom)->nhead; \ 413 (vd_geom)->nhead = (dk_geom)->dkg_nhead; \
|
/illumos-gate/usr/src/lib/libbc/inc/include/sun/ |
H A D | dkio.h | 225 int nhead; /* number of heads */ member in struct:fdk_char
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 229 h->bs.nhead = ltohs(h->bs.nhead); 523 h->bs.nhead, h->bs.hiddensec); 592 ADD_UINT32(h, "heads", h->bs.nhead);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_init.c | 152 diskaddr_t cylsize = geomp->nhead * geomp->nsect; 162 md->c.un_nhead = geomp->nhead;
|
H A D | meta_nameinfo.c | 86 mdgp->nhead = gp->dkg_nhead; 111 mdgp->nhead = mdev->c.un_nhead; 116 mdgp->nhead = MD_EFI_FG_HEADS; 1011 start_blk = roundup(start_blk, (geomp->nhead * geomp->nsect));
|
H A D | meta_repartition.c | 330 ((unsigned long long)mdgp->nhead) * mdgp->nsect;
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_stripe.c | 998 uint64_t nhead = 0; local 1004 (error = disk_get_nheads(comp_disk, &nhead)) || 1008 uint64_t bpc = nhead * nsect * comp_disk_bps;
|
H A D | layout_slice.c | 768 uint64_t nhead = 0; local 773 (error = disk_get_nheads(odisk, &nhead)) || 776 uint64_t bytes_per_cyl = nhead * nsect * bytes_per_sect;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 1882 * Maximum number of blocks nhead nsect 1912 unsigned short nhead; local 1924 nhead = 224; 1927 nhead = 255; 1931 cl_g->dkg_nhead = nhead; 1935 (UINT16_MAX * nhead * nsect) - 1) / 1936 (UINT16_MAX * nhead * nsect)) * nsect; 1968 unsigned short nhead; local 2000 nhead = 255; 2003 nhead [all...] |