Lines Matching refs:ngroups
206 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir() local
207 int avefreei = ext2_count_free_inodes(sb) / ngroups; in find_group_dir()
211 for (group = 0; group < ngroups; group++) { in find_group_dir()
263 int ngroups = sbi->s_groups_count; in find_group_orlov() local
276 avefreei = freei / ngroups; in find_group_orlov()
278 avefreeb = free_blocks / ngroups; in find_group_orlov()
288 parent_group = (unsigned)group % ngroups; in find_group_orlov()
289 for (i = 0; i < ngroups; i++) { in find_group_orlov()
290 group = (parent_group + i) % ngroups; in find_group_orlov()
317 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
329 for (i = 0; i < ngroups; i++) { in find_group_orlov()
330 group = (parent_group + i) % ngroups; in find_group_orlov()
346 for (i = 0; i < ngroups; i++) { in find_group_orlov()
347 group = (parent_group + i) % ngroups; in find_group_orlov()
373 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other() local
395 group = (group + parent->i_ino) % ngroups; in find_group_other()
401 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
403 if (group >= ngroups) in find_group_other()
404 group -= ngroups; in find_group_other()
416 for (i = 0; i < ngroups; i++) { in find_group_other()
417 if (++group >= ngroups) in find_group_other()