Home
last modified time | relevance | path

Searched refs:s_groups_count (Results 1 – 10 of 10) sorted by relevance

/fs/ext2/
Dialloc.c206 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir()
261 int ngroups = sbi->s_groups_count; in find_group_orlov()
371 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other()
464 for (i = 0; i < sbi->s_groups_count; i++) { in ext2_new_inode()
467 if (++group == sbi->s_groups_count) in ext2_new_inode()
491 if (++group == sbi->s_groups_count) in ext2_new_inode()
500 if (++group == sbi->s_groups_count) in ext2_new_inode()
633 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes()
657 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes()
673 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_dirs()
Dsuper.c679 sbi->s_groups_count, in ext2_setup_super()
693 for (i = 0; i < sbi->s_groups_count; i++) { in ext2_check_descriptors()
1065 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - in ext2_fill_super()
1068 if ((u64)sbi->s_groups_count * sbi->s_inodes_per_group != in ext2_fill_super()
1072 (u64)sbi->s_groups_count * sbi->s_inodes_per_group); in ext2_fill_super()
1075 db_count = (sbi->s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / in ext2_fill_super()
1086 sbi->s_debts = kcalloc(sbi->s_groups_count, sizeof(*sbi->s_debts), GFP_KERNEL); in ext2_fill_super()
1433 for (i = 0; i < sbi->s_groups_count; i++) in ext2_statfs()
1441 overhead += (sbi->s_groups_count * in ext2_statfs()
Dballoc.c50 if (block_group >= sbi->s_groups_count) { in ext2_get_group_desc()
53 block_group, sbi->s_groups_count); in ext2_get_group_desc()
1308 ngroups = EXT2_SB(sb)->s_groups_count; in ext2_new_blocks()
1462 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_blocks()
1483 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_blocks()
Dext2.h77 unsigned long s_groups_count; /* Number of groups in the fs */ member
810 if (group_no == sbi->s_groups_count - 1) in ext2_group_last_block_no()
/fs/ext4/
Dresize.c145 if (group != sbi->s_groups_count) { in verify_group_input()
147 input->group, sbi->s_groups_count); in verify_group_input()
544 group_data[0].group != sbi->s_groups_count); in setup_new_flex_group_blocks()
1132 last = sbi->s_groups_count; in update_backups()
1138 while (group < sbi->s_groups_count) { in update_backups()
1434 sbi->s_groups_count += flex_gd->count; in ext4_update_super()
1435 sbi->s_blockfile_groups = min_t(ext4_group_t, sbi->s_groups_count, in ext4_update_super()
1525 BUG_ON(group != sbi->s_groups_count); in ext4_flex_group_add()
1900 cpu_to_le32(num_desc_blocks(sb, sbi->s_groups_count)); in ext4_convert_meta_bg()
1997 o_desc_blocks = num_desc_blocks(sb, sbi->s_groups_count); in ext4_resize_fs()
Dsuper.c2710 sbi->s_groups_count, in ext4_setup_super()
2780 err = ext4_alloc_flex_bg_array(sb, sbi->s_groups_count); in ext4_fill_flex_info()
2784 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_fill_flex_info()
2875 ext4_group_t i, grp = sbi->s_groups_count; in ext4_check_descriptors()
2882 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_check_descriptors()
2885 if (i == sbi->s_groups_count - 1 || flexbg_flag) in ext4_check_descriptors()
2891 if ((grp == sbi->s_groups_count) && in ext4_check_descriptors()
3431 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request()
3667 ext4_group_t group, ngroups = EXT4_SB(sb)->s_groups_count; in ext4_has_uninit_itable()
3736 ext4_group_t ngroups = sbi->s_groups_count; in ext4_register_li_request()
[all …]
Dioctl.c1073 ext4_group_t o_group = EXT4_SB(sb)->s_groups_count; in __ext4_ioctl()
1098 if (!err && (o_group < EXT4_SB(sb)->s_groups_count) && in __ext4_ioctl()
Dfsmap.c418 for (agno = 0; agno < EXT4_SB(sb)->s_groups_count; agno++) { in ext4_getfsmap_find_fixed_metadata()
Dballoc.c328 if (unlikely(group >= EXT4_SB(sb)->s_groups_count)) in ext4_get_group_info()
Dext4.h1441 ext4_group_t s_groups_count; /* Number of groups in the fs */ member
3261 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count()