Home | History | Annotate | Download | only in newfs

Lines Matching defs:inodeblks

186 	uint64_t inodeblks, cgall;
384 inodeblks = howmany(num_inodes, FFS_INOPB(&sblock));
392 inodeblks = (sblock.fs_size - sblock.fs_iblkno) /
395 if (inodeblks == 0)
396 inodeblks = 1;
398 if (inodeblks > (uint64_t)(sblock.fs_size - sblock.fs_iblkno)/sblock.fs_frag - 2)
399 inodeblks = (sblock.fs_size-sblock.fs_iblkno)/sblock.fs_frag-2;
401 if (inodeblks * FFS_INOPB(&sblock) >= 1ull << 31)
402 inodeblks = ((1ull << 31) - NBBY) / FFS_INOPB(&sblock);
408 cgall = CGSIZE_IF(&sblock, inodeblks * FFS_INOPB(&sblock), sblock.fs_size);
417 inodeblks * sblock.fs_frag);
422 if (ncg > inodeblks)
423 ncg = inodeblks;
434 inodes_per_cg = ((inodeblks - 1) / ncg + 1) * FFS_INOPB(&sblock);
441 inodes_per_cg = ((inodeblks - 1) / ncg + 1) * FFS_INOPB(&sblock);