Lines Matching refs:ngroups

456 	ext4_group_t i, grp, g, ngroups;  in find_group_orlov()  local
462 ngroups = real_ngroups; in find_group_orlov()
464 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
470 avefreei = freei / ngroups; in find_group_orlov()
474 do_div(avefreec, ngroups); in find_group_orlov()
490 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
491 for (i = 0; i < ngroups; i++) { in find_group_orlov()
492 g = (parent_group + i) % ngroups; in find_group_orlov()
534 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
550 for (i = 0; i < ngroups; i++) { in find_group_orlov()
551 grp = (parent_group + i) % ngroups; in find_group_orlov()
563 ngroups = real_ngroups; in find_group_orlov()
564 avefreei = freei / ngroups; in find_group_orlov()
567 for (i = 0; i < ngroups; i++) { in find_group_orlov()
568 grp = (parent_group + i) % ngroups; in find_group_orlov()
595 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
612 if (last > ngroups) in find_group_other()
613 last = ngroups; in find_group_other()
632 if (*group > ngroups) in find_group_other()
655 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
661 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
663 if (*group >= ngroups) in find_group_other()
664 *group -= ngroups; in find_group_other()
676 for (i = 0; i < ngroups; i++) { in find_group_other()
677 if (++*group >= ngroups) in find_group_other()
750 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
781 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
834 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
845 if (++group == ngroups) in __ext4_new_inode()
853 if (++group == ngroups) in __ext4_new_inode()
864 if (++group == ngroups) in __ext4_new_inode()
912 if (++group == ngroups) in __ext4_new_inode()
1218 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1228 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1253 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1268 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1270 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()