Lines Matching refs:ngroups
205 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir() local
206 int avefreei = ext2_count_free_inodes(sb) / ngroups; in find_group_dir()
210 for (group = 0; group < ngroups; group++) { in find_group_dir()
260 int ngroups = sbi->s_groups_count; in find_group_orlov() local
273 avefreei = freei / ngroups; in find_group_orlov()
275 avefreeb = free_blocks / ngroups; in find_group_orlov()
285 parent_group = (unsigned)group % ngroups; in find_group_orlov()
286 for (i = 0; i < ngroups; i++) { in find_group_orlov()
287 group = (parent_group + i) % ngroups; in find_group_orlov()
314 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
326 for (i = 0; i < ngroups; i++) { in find_group_orlov()
327 group = (parent_group + i) % ngroups; in find_group_orlov()
343 for (i = 0; i < ngroups; i++) { in find_group_orlov()
344 group = (parent_group + i) % ngroups; in find_group_orlov()
370 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other() local
392 group = (group + parent->i_ino) % ngroups; in find_group_other()
398 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
400 if (group >= ngroups) in find_group_other()
401 group -= ngroups; in find_group_other()
413 for (i = 0; i < ngroups; i++) { in find_group_other()
414 if (++group >= ngroups) in find_group_other()