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()
261 int ngroups = sbi->s_groups_count; in find_group_orlov() local
274 avefreei = freei / ngroups; in find_group_orlov()
276 avefreeb = free_blocks / ngroups; in find_group_orlov()
286 parent_group = (unsigned)group % ngroups; in find_group_orlov()
287 for (i = 0; i < ngroups; i++) { in find_group_orlov()
288 group = (parent_group + i) % ngroups; in find_group_orlov()
315 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
327 for (i = 0; i < ngroups; i++) { in find_group_orlov()
328 group = (parent_group + i) % ngroups; in find_group_orlov()
344 for (i = 0; i < ngroups; i++) { in find_group_orlov()
345 group = (parent_group + i) % ngroups; in find_group_orlov()
371 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other() local
393 group = (group + parent->i_ino) % ngroups; in find_group_other()
399 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
401 if (group >= ngroups) in find_group_other()
402 group -= ngroups; in find_group_other()
414 for (i = 0; i < ngroups; i++) { in find_group_other()
415 if (++group >= ngroups) in find_group_other()