Lines Matching refs:ngroups
197 int ngroups = sbi->s_groups_count; in find_group_orlov() local
208 avefreei = freei / ngroups; in find_group_orlov()
210 avefreeb = freeb / ngroups; in find_group_orlov()
219 parent_group = (unsigned)group % ngroups; in find_group_orlov()
220 for (i = 0; i < ngroups; i++) { in find_group_orlov()
221 group = (parent_group + i) % ngroups; in find_group_orlov()
239 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
243 for (i = 0; i < ngroups; i++) { in find_group_orlov()
244 group = (parent_group + i) % ngroups; in find_group_orlov()
258 for (i = 0; i < ngroups; i++) { in find_group_orlov()
259 group = (parent_group + i) % ngroups; in find_group_orlov()
282 int ngroups = EXT3_SB(sb)->s_groups_count; in find_group_other() local
304 group = (group + parent->i_ino) % ngroups; in find_group_other()
310 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
312 if (group >= ngroups) in find_group_other()
313 group -= ngroups; in find_group_other()
325 for (i = 0; i < ngroups; i++) { in find_group_other()
326 if (++group >= ngroups) in find_group_other()