Lines Matching defs:nbpi

55  *	[nsect ntrack bsize fsize cpg	minfree	rps nbpi opt apc rotdelay
69 * nbpi - number of data bytes per allocated inode
517 long nbpi = NBPI; /* number of bytes per inode */
703 } else if (match("nbpi=")) {
704 nbpi = number(NBPI, "nbpi", 0);
866 * nbpi
955 nbpi = number(NBPI, "nbpi", 0);
1301 * nbpi is variable, but 2MB seems a reasonable upper limit,
1305 * configured for multi-terabyte access, nbpi must be at least 1MB.
1307 if (mtb == 'y' && nbpi < MTB_NBPI) {
1310 "nbpi: must be at least 1048576 for multi-terabyte,"
1311 " nbpi reset to default 1048576\n"));
1312 nbpi = MTB_NBPI;
1316 range_check(&nbpi, "nbpi", MTB_NBPI, 2 * MB, MTB_NBPI,
1319 range_check(&nbpi, "nbpi", DEV_BSIZE, 2 * MB, NBPI, nbpi_flag);
1349 maxcpg = compute_maxcpg(bsize, fragsize, nbpi, nrpos,
1573 if (nbpi < sblock.fs_fsize) {
1575 "warning: wasteful data byte allocation / inode (nbpi):\n"));
1578 nbpi, sblock.fs_fsize);
1721 inospercg = (uint64_t)roundup((nbytes64 / nbpi), INOPB(&sblock));
1744 inospercg = (uint64_t)roundup((nbytes64 / nbpi),
1757 nbpi, mincpg);
1814 sblock.fs_ipg = roundup((uint32_t)(nbytes64 / nbpi), INOPB(&sblock));
1823 sblock.fs_ipg = roundup((uint32_t)(nbytes64 / nbpi),
1835 sblock.fs_ipg = roundup((uint32_t)(nbytes64 / nbpi),
3469 "nbpi " /* param 9 */
3480 " -o :ufs options: :cgsize=%d,free=%d,rps=%d,nbpi=%d,opt=%c\n"
3486 nbpi, opt, apc, (rotdelay == -1) ? 0 : rotdelay,
3496 int64_t nbpi;
3532 * Compute a reasonable nbpi value.
3535 * The nbpi equation is taken from main where the
3538 * The problem is that a range of nbpi values map to
3555 * The top end of the range of values for nbpi may not be
3559 nbpi = (int64_t)(nbytes64 / (sblock.fs_ipg));
3566 (void) fprintf(stdout, "rps=%d,nbpi=%lld,opt=%c,apc=%d,gap=%d,",
3567 sblock.fs_rps, nbpi, (sblock.fs_optim == FS_OPTSPACE) ? 's' : 't',
5512 * nbpi - number of bytes of disk space per inode
5524 * The setting of nbpi determines one possible value for the maximum
5527 * nbpi is fixed, so the total number of inodes is fixed too). The
5541 * maximum value of cylinders-per-group (determined by nbpi)
5546 * = (inodes-per-cg * nbpi)/(spc * DEV_BSIZE)
5601 compute_maxcpg(long bsize, long fragsize, long nbpi, long nrpos, long spc)
5615 (((int64_t)(MAXIpG_B(bsize, inode_divisor))) * nbpi) /