Lines Matching refs:ngroups
425 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
431 ngroups = real_ngroups; in find_group_orlov()
433 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
439 avefreei = freei / ngroups; in find_group_orlov()
443 do_div(avefreec, ngroups); in find_group_orlov()
459 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
460 for (i = 0; i < ngroups; i++) { in find_group_orlov()
461 g = (parent_group + i) % ngroups; in find_group_orlov()
503 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
519 for (i = 0; i < ngroups; i++) { in find_group_orlov()
520 grp = (parent_group + i) % ngroups; in find_group_orlov()
532 ngroups = real_ngroups; in find_group_orlov()
533 avefreei = freei / ngroups; in find_group_orlov()
536 for (i = 0; i < ngroups; i++) { in find_group_orlov()
537 grp = (parent_group + i) % ngroups; in find_group_orlov()
564 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
581 if (last > ngroups) in find_group_other()
582 last = ngroups; in find_group_other()
601 if (*group > ngroups) in find_group_other()
624 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
630 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
632 if (*group >= ngroups) in find_group_other()
633 *group -= ngroups; in find_group_other()
645 for (i = 0; i < ngroups; i++) { in find_group_other()
646 if (++*group >= ngroups) in find_group_other()
719 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
750 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
801 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
812 if (++group == ngroups) in __ext4_new_inode()
820 if (++group == ngroups) in __ext4_new_inode()
829 if (++group == ngroups) in __ext4_new_inode()
877 if (++group == ngroups) in __ext4_new_inode()
1183 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1193 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1216 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1231 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1233 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()