Lines Matching refs:ngroups

819 	ext4_group_t ngroups;  in ext4_mb_init_cache()  local
839 ngroups = ext4_get_groups_count(sb); in ext4_mb_init_cache()
862 if (group >= ngroups) in ext4_mb_init_cache()
894 if (group >= ngroups) in ext4_mb_init_cache()
2081 ext4_group_t ngroups, group, i; in ext4_mb_regular_allocator() local
2090 ngroups = ext4_get_groups_count(sb); in ext4_mb_regular_allocator()
2093 ngroups = sbi->s_blockfile_groups; in ext4_mb_regular_allocator()
2149 for (i = 0; i < ngroups; group++, i++) { in ext4_mb_regular_allocator()
2155 if (group >= ngroups) in ext4_mb_regular_allocator()
2343 int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) in ext4_mb_alloc_groupinfo() argument
2349 size = (ngroups + EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_alloc_groupinfo()
2457 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_mb_init_backend() local
2464 err = ext4_mb_alloc_groupinfo(sb, ngroups); in ext4_mb_init_backend()
2479 for (i = 0; i < ngroups; i++) { in ext4_mb_init_backend()
2689 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_mb_release() local
2700 for (i = 0; i < ngroups; i++) { in ext4_mb_release()
2710 num_meta_group_infos = (ngroups + in ext4_mb_release()
4030 ext4_group_t ngroups, i; in ext4_mb_show_ac() local
4058 ngroups = ext4_get_groups_count(sb); in ext4_mb_show_ac()
4059 for (i = 0; i < ngroups; i++) { in ext4_mb_show_ac()
4375 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in ext4_mb_discard_preallocations() local
4380 for (i = 0; i < ngroups && needed > 0; i++) { in ext4_mb_discard_preallocations()