Lines Matching refs:ngroups
820 ext4_group_t ngroups; in ext4_mb_init_cache() local
840 ngroups = ext4_get_groups_count(sb); in ext4_mb_init_cache()
863 if (group >= ngroups) in ext4_mb_init_cache()
900 if (group >= ngroups) in ext4_mb_init_cache()
2097 ext4_group_t ngroups, group, i; in ext4_mb_regular_allocator() local
2106 ngroups = ext4_get_groups_count(sb); in ext4_mb_regular_allocator()
2109 ngroups = sbi->s_blockfile_groups; in ext4_mb_regular_allocator()
2165 for (i = 0; i < ngroups; group++, i++) { in ext4_mb_regular_allocator()
2172 if (group >= ngroups) in ext4_mb_regular_allocator()
2366 int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) in ext4_mb_alloc_groupinfo() argument
2372 size = (ngroups + EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_alloc_groupinfo()
2480 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_mb_init_backend() local
2487 err = ext4_mb_alloc_groupinfo(sb, ngroups); in ext4_mb_init_backend()
2502 for (i = 0; i < ngroups; i++) { in ext4_mb_init_backend()
2708 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_mb_release() local
2716 for (i = 0; i < ngroups; i++) { in ext4_mb_release()
2726 num_meta_group_infos = (ngroups + in ext4_mb_release()
4051 ext4_group_t ngroups, i; in ext4_mb_show_ac() local
4079 ngroups = ext4_get_groups_count(sb); in ext4_mb_show_ac()
4080 for (i = 0; i < ngroups; i++) { in ext4_mb_show_ac()
4396 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_mb_discard_preallocations() local
4401 for (i = 0; i < ngroups && needed > 0; i++) { in ext4_mb_discard_preallocations()