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()
469 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
470 for (i = 0; i < ngroups; i++) { in find_group_orlov()
471 g = (parent_group + i) % ngroups; in find_group_orlov()
513 max_dirs = ndirs / ngroups + inodes_per_group / 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()
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()
1118 if (++group == ngroups) in __ext4_new_inode()
1444 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_free_inodes() local
1454 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1479 for (i = 0; i < ngroups; i++) { in ext4_count_free_inodes()
1494 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_count_dirs() local
1496 for (i = 0; i < ngroups; i++) { in ext4_count_dirs()