| /illumos-gate/usr/src/lib/libfdisk/common/ |
| H A D | libfdisk.c | 1324 fdisk_init_ext_part(ext_part_t *epp, uint32_t rsect, uint32_t nsect) argument 1330 epp->ext_end_sec = rsect + nsect - 1;
|
| /illumos-gate/usr/src/cmd/rmformat/ |
| H A D | rmf_slice.c | 967 DPRINTF1("nsect %d\n", dkg.dkg_nsect); 1230 * nhead = 64, nsect = 32 1232 * nhead = 255, nsect = 63 1249 uint32_t nhead, numcyl, nsect; local 1276 nsect = 32; 1279 nsect = 63; 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, nsect; local [all...] |
| /illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
| H A D | layout_slice.c | 769 uint64_t nsect = 0; local 774 (error = disk_get_nsectors(odisk, &nsect)); 776 uint64_t bytes_per_cyl = nhead * nsect * bytes_per_sect;
|
| H A D | layout_stripe.c | 999 uint64_t nsect = 0; local 1005 (error = disk_get_nsectors(comp_disk, &nsect)); 1008 uint64_t bpc = nhead * nsect * comp_disk_bps;
|
| /illumos-gate/usr/src/cmd/format/ |
| H A D | global.h | 124 uint_t nsect; /* # data sects/track */ variable 146 #define sectors(h) ((h) == nhead - 1 ? nsect - apc : nsect) 147 #define spc() (nhead * nsect - apc) 148 #define chs2bn(c, h, s) (((diskaddr_t)(c) * spc() + (h) * nsect + (s))) 150 #define bn2h(bn) (uint_t)(((diskaddr_t)(bn) % spc()) / nsect) 151 #define bn2s(bn) (uint_t)(((diskaddr_t)(bn) % spc()) % nsect)
|
| 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); 567 nsect = disk_geom.dkg_nsect; 574 label->dkl_nsect = nsect; 583 "DEFAULT", ncyl, acyl, nhead, nsect); 908 uint_t nsect = 0; local 991 &nsect); 996 nsect = page3->sect_track; 1007 if (nhead == 0 || nsect == 0) { 1011 &pcyl, &nhead, &nsect)) { 1389 int nsect; local 2100 adjust_disk_geometry(diskaddr_t capacity, uint_t *cyl, uint_t *nhead, uint_t *nsect) argument [all...] |
| /illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
| H A D | mkfs.c | 55 * [nsect ntrack bsize fsize cpg minfree rps nbpi opt apc rotdelay 62 * nsect - The number of sectors per track 505 long nsect = DFLNSECT; /* sectors per track */ variable 677 if (match("nsect=")) { 678 nsect = number(DFLNSECT, "nsect", 0); 862 * nsect 994 nsect = number(DFLNSECT, "nsect", 0); 1013 if (nsect_flag == RC_DEFAULT) nsect [all...] |
| /illumos-gate/usr/src/uts/common/io/scsi/targets/ |
| H A D | sd.c | 4955 int nsect; local 5057 nsect = BE_16(page3p->sect_track); 5063 " mode page: %d; nsect: %d; sector size: %d;\n", 5064 page3p->mode_page.code, nsect, sector_size); 5123 spc = nhead * nsect; 5153 pgeom_p->g_nsect = (unsigned short)nsect; 5168 " nsect: %d; sector size: %d; interlv: %d\n", 5169 nsect, sector_size, intrlv); 5176 " ncyl: %ld; acyl: %d; nhead: %d; nsect: %d\n", 5271 * Set ncyl to zero if the hba returned a zero nhead or nsect valu [all...] |
| /illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
| H A D | mode.h | 241 uchar_t nsect; /* logical sectors/track */ member in struct:emulex_format_params
|
| /illumos-gate/usr/src/uts/sun4v/sys/ |
| H A D | vdsk_common.h | 236 uint16_t nsect; /* number of data sectors per track */ member in struct:vd_geom 371 (dk_geom)->dkg_nsect = (vd_geom)->nsect; \ 414 (vd_geom)->nsect = (dk_geom)->dkg_nsect; \
|
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | cmlb.c | 1882 * Maximum number of blocks nhead nsect 1913 unsigned short nsect; local 1925 nsect = 56; 1928 nsect = 63; 1933 /* make dkg_nsect be smallest multiple of nsect */ 1935 (UINT16_MAX * nhead * nsect) - 1) / 1936 (UINT16_MAX * nhead * nsect)) * nsect; 1939 cl_g->dkg_nsect = (UINT16_MAX / nsect) * nsect; 1969 unsigned short nsect; local [all...] |