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()
470 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
471 for (i = 0; i < ngroups; i++) { in find_group_orlov()
472 g = (parent_group + i) % ngroups; in find_group_orlov()
514 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()
530 for (i = 0; i < ngroups; i++) { in find_group_orlov()
531 grp = (parent_group + i) % ngroups; in find_group_orlov()
543 ngroups = real_ngroups; in find_group_orlov()
544 avefreei = freei / ngroups; in find_group_orlov()
547 for (i = 0; i < ngroups; i++) { in find_group_orlov()
548 grp = (parent_group + i) % ngroups; in find_group_orlov()
575 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
592 if (last > ngroups) in find_group_other()
593 last = ngroups; in find_group_other()
612 if (*group > ngroups) in find_group_other()
635 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
641 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
643 if (*group >= ngroups) in find_group_other()
644 *group -= ngroups; in find_group_other()
656 for (i = 0; i < ngroups; i++) { in find_group_other()
657 if (++*group >= ngroups) in find_group_other()
935 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
958 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
1032 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
1117 if (++group == ngroups) in __ext4_new_inode()
1441 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1451 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1476 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1491 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1493 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()