Lines Matching refs:ngroups
434 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
440 ngroups = real_ngroups; in find_group_orlov()
442 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
448 avefreei = freei / ngroups; in find_group_orlov()
451 do_div(avefreec, ngroups); in find_group_orlov()
464 parent_group = hinfo.hash % ngroups; in find_group_orlov()
466 parent_group = get_random_u32_below(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*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()
1114 if (++group == ngroups) in __ext4_new_inode()
1439 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1449 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1474 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1489 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1491 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()