Lines Matching refs:ngroups

424 	ext4_group_t i, grp, g, ngroups;  in find_group_orlov()  local
430 ngroups = real_ngroups; in find_group_orlov()
432 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
438 avefreei = freei / ngroups; in find_group_orlov()
442 do_div(avefreec, ngroups); in find_group_orlov()
458 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
459 for (i = 0; i < ngroups; i++) { in find_group_orlov()
460 g = (parent_group + i) % ngroups; in find_group_orlov()
502 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
518 for (i = 0; i < ngroups; i++) { in find_group_orlov()
519 grp = (parent_group + i) % ngroups; in find_group_orlov()
531 ngroups = real_ngroups; in find_group_orlov()
532 avefreei = freei / ngroups; in find_group_orlov()
535 for (i = 0; i < ngroups; i++) { in find_group_orlov()
536 grp = (parent_group + i) % ngroups; in find_group_orlov()
563 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); in find_group_other() local
580 if (last > ngroups) in find_group_other()
581 last = ngroups; in find_group_other()
600 if (*group > ngroups) in find_group_other()
623 *group = (*group + parent->i_ino) % ngroups; in find_group_other()
629 for (i = 1; i < ngroups; i <<= 1) { in find_group_other()
631 if (*group >= ngroups) in find_group_other()
632 *group -= ngroups; in find_group_other()
644 for (i = 0; i < ngroups; i++) { in find_group_other()
645 if (++*group >= ngroups) in find_group_other()
718 ext4_group_t ngroups, group = 0; in __ext4_new_inode() local
735 ngroups = ext4_get_groups_count(sb); in __ext4_new_inode()
786 for (i = 0; i < ngroups; i++, ino = 0) { in __ext4_new_inode()
797 if (++group == ngroups) in __ext4_new_inode()
805 if (++group == ngroups) in __ext4_new_inode()
814 if (++group == ngroups) in __ext4_new_inode()
862 if (++group == ngroups) in __ext4_new_inode()
1187 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1197 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1220 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1235 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1237 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()