Lines Matching refs:nbgroups
877 uint32 grp,nbgroups;
880 nbgroups = GRP_NBGROUPS(fs);
882 for(grp=0;grp<nbgroups && !bk;grp++)
913 uint32 grp,nbgroups,avefreei;
915 nbgroups = GRP_NBGROUPS(fs);
922 avefreei = fs->sb.s_free_inodes_count / nbgroups;
923 for(grp=0; grp<nbgroups; grp++) {
1967 uint32 nbgroups,nbinodes_per_group,overhead_per_group,free_blocks,
1990 nbgroups = (nbblocks - first_block + BLOCKS_PER_GROUP - 1) / BLOCKS_PER_GROUP;
1991 if(nbgroups < min_nbgroups) nbgroups = min_nbgroups;
1992 nbblocks_per_group = rndup((nbblocks - first_block + nbgroups - 1)/nbgroups, 8);
1993 nbinodes_per_group = rndup((nbinodes + nbgroups - 1)/nbgroups,
1998 gdsz = rndup(nbgroups*sizeof(groupdescriptor),BLOCKSIZE)/BLOCKSIZE;
2001 if((uint32)nbblocks - 1 < overhead_per_group * nbgroups)
2003 free_blocks = nbblocks - overhead_per_group*nbgroups - 1 /*boot block*/;
2010 fs->sb.s_inodes_count = nbinodes_per_group * nbgroups;
2027 i<nbgroups;
2050 for(i = 0; i<nbgroups;i++) {