Lines Matching refs:ngroups
432 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
438 ngroups = real_ngroups; in find_group_orlov()
440 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
446 avefreei = freei / ngroups; in find_group_orlov()
450 do_div(avefreec, ngroups); in find_group_orlov()
466 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
467 for (i = 0; i < ngroups; i++) { in find_group_orlov()
468 g = (parent_group + i) % ngroups; in find_group_orlov()
510 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
526 for (i = 0; i < ngroups; i++) { in find_group_orlov()
527 grp = (parent_group + i) % ngroups; in find_group_orlov()
539 ngroups = real_ngroups; in find_group_orlov()
540 avefreei = freei / ngroups; in find_group_orlov()
543 for (i = 0; i < ngroups; i++) { in find_group_orlov()
544 grp = (parent_group + i) % ngroups; in find_group_orlov()
571 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
588 if (last > ngroups) in find_group_other()
589 last = ngroups; in find_group_other()
608 if (*group > ngroups) in find_group_other()
631 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
637 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
639 if (*group >= ngroups) in find_group_other()
640 *group -= ngroups; in find_group_other()
652 for (i = 0; i < ngroups; i++) { in find_group_other()
653 if (++*group >= ngroups) in find_group_other()
931 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
954 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
1028 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
1113 if (++group == ngroups) in __ext4_new_inode()
1436 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1446 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1471 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1486 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1488 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()