Lines Matching refs:ngroups
436 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
442 ngroups = real_ngroups; in find_group_orlov()
444 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
450 avefreei = freei / ngroups; in find_group_orlov()
453 do_div(avefreec, ngroups); in find_group_orlov()
466 parent_group = hinfo.hash % ngroups; in find_group_orlov()
468 parent_group = get_random_u32_below(ngroups); in find_group_orlov()
469 for (i = 0; i < ngroups; i++) { in find_group_orlov()
470 g = (parent_group + i) % ngroups; in find_group_orlov()
512 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()
528 for (i = 0; i < ngroups; i++) { in find_group_orlov()
529 grp = (parent_group + i) % ngroups; in find_group_orlov()
541 ngroups = real_ngroups; in find_group_orlov()
542 avefreei = freei / ngroups; in find_group_orlov()
545 for (i = 0; i < ngroups; i++) { in find_group_orlov()
546 grp = (parent_group + i) % ngroups; in find_group_orlov()
573 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
590 if (last > ngroups) in find_group_other()
591 last = ngroups; in find_group_other()
610 if (*group > ngroups) in find_group_other()
633 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
639 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
641 if (*group >= ngroups) in find_group_other()
642 *group -= ngroups; in find_group_other()
654 for (i = 0; i < ngroups; i++) { in find_group_other()
655 if (++*group >= ngroups) in find_group_other()
933 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
956 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
1030 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
1116 if (++group == ngroups) in __ext4_new_inode()
1445 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1455 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1480 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1495 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1497 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()