Lines Matching refs:ngroups

428 	ext4_group_t i, grp, g, ngroups;  in find_group_orlov()  local
434 ngroups = real_ngroups; in find_group_orlov()
436 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
442 avefreei = freei / ngroups; in find_group_orlov()
446 do_div(avefreec, ngroups); in find_group_orlov()
462 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
463 for (i = 0; i < ngroups; i++) { in find_group_orlov()
464 g = (parent_group + i) % ngroups; in find_group_orlov()
506 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
522 for (i = 0; i < ngroups; i++) { in find_group_orlov()
523 grp = (parent_group + i) % ngroups; in find_group_orlov()
535 ngroups = real_ngroups; in find_group_orlov()
536 avefreei = freei / ngroups; in find_group_orlov()
539 for (i = 0; i < ngroups; i++) { in find_group_orlov()
540 grp = (parent_group + i) % ngroups; in find_group_orlov()
567 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
584 if (last > ngroups) in find_group_other()
585 last = ngroups; in find_group_other()
604 if (*group > ngroups) in find_group_other()
627 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
633 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
635 if (*group >= ngroups) in find_group_other()
636 *group -= ngroups; in find_group_other()
648 for (i = 0; i < ngroups; i++) { in find_group_other()
649 if (++*group >= ngroups) in find_group_other()
751 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
827 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
886 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
965 if (++group == ngroups) in __ext4_new_inode()
1277 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1287 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1312 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1327 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1329 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()