Lines Matching refs:ngroups
435 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
441 ngroups = real_ngroups; in find_group_orlov()
443 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
449 avefreei = freei / ngroups; in find_group_orlov()
452 do_div(avefreec, ngroups); in find_group_orlov()
465 parent_group = hinfo.hash % ngroups; in find_group_orlov()
467 parent_group = get_random_u32_below(ngroups); in find_group_orlov()
468 for (i = 0; i < ngroups; i++) { in find_group_orlov()
469 g = (parent_group + i) % ngroups; in find_group_orlov()
511 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()
529 for (i = 0; i < ngroups; i++) { in find_group_orlov()
530 grp = (parent_group + i) % ngroups; in find_group_orlov()
542 ngroups = real_ngroups; in find_group_orlov()
543 avefreei = freei / ngroups; in find_group_orlov()
546 for (i = 0; i < ngroups; i++) { in find_group_orlov()
547 grp = (parent_group + i) % ngroups; in find_group_orlov()
574 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
591 if (last > ngroups) in find_group_other()
592 last = ngroups; in find_group_other()
611 if (*group > ngroups) in find_group_other()
634 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
640 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
642 if (*group >= ngroups) in find_group_other()
643 *group -= ngroups; in find_group_other()
655 for (i = 0; i < ngroups; i++) { in find_group_other()
656 if (++*group >= ngroups) in find_group_other()
934 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
957 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
1031 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
1115 if (++group == ngroups) in __ext4_new_inode()
1440 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1450 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1475 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1490 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1492 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()