Searched defs:nsectors (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c119 static int nsectors; /* # sectors/track */ variable
371 * nsectors - sectors per track
417 if (nsectors < 0)
477 nsectors = 128;
488 if (fssize < nsectors * ntracks) {
491 nsectors * ntracks);
577 nsectors / (MAXFRAG * NBBY));
619 nsectors, ntracks, cpg));
628 fssize, nsectors, ntracks, bsize, fsize, cpg, minfree, rpm/60,
783 * and DEF_SECTORS_EFI for ntracks and nsectors respectivel
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c233 int nsectors; local
235 nsectors = (max_sectors < secnt) ? max_sectors : secnt;
239 if (blkno < (2<<20) && nsectors <= 0xff) {
241 FORMG0COUNT(&cdb, nsectors);
246 FORMG4COUNT(&cdb, nsectors);
251 FORMG1COUNT(&cdb, nsectors);
258 ucmd.uscsi_buflen = nsectors * cur_blksz;
282 blkno += nsectors;
283 secnt -= nsectors;
284 bufaddr += nsectors * cur_blks
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c1823 sbd_calc_geometry(uint64_t s, uint16_t blksize, uint8_t *nsectors, argument
1827 *nsectors = 32;
1830 *nsectors = 254;
1833 *ncyl = s / ((uint64_t)blksize * (uint64_t)(*nsectors) *
1845 uint8_t nsectors, nheads; local
1891 sbd_calc_geometry(s, nbytes, &nsectors, &nheads, &ncyl);
1897 p[n + 11] = nsectors;
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c1379 int nsectors, nblk; local
1403 nsectors = (max_sectors < nblk) ? max_sectors : nblk;
1411 if (blk < (2 << 20) && nsectors <= 0xff && !vd->is_atapi_dev) {
1413 FORMG0COUNT(&cdb, (uchar_t)nsectors);
1417 FORMG4COUNT(&cdb, nsectors);
1422 FORMG1COUNT(&cdb, nsectors);
1428 ucmd.uscsi_buflen = nsectors * vd->backend_bsize;
1471 blk += nsectors;
1472 nblk -= nsectors;
1473 data += nsectors * v
[all...]

Completed in 89 milliseconds