Home
last modified time | relevance | path

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

/fs/ext2/
Dialloc.c206 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir()
263 int ngroups = sbi->s_groups_count; in find_group_orlov()
373 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other()
466 for (i = 0; i < sbi->s_groups_count; i++) { in ext2_new_inode()
488 if (++group == sbi->s_groups_count) in ext2_new_inode()
497 if (++group == sbi->s_groups_count) in ext2_new_inode()
627 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes()
651 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes()
667 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_dirs()
Dsuper.c638 sbi->s_groups_count, in ext2_setup_super()
652 for (i = 0; i < sbi->s_groups_count; i++) { in ext2_check_descriptors()
657 if (i == sbi->s_groups_count - 1) in ext2_check_descriptors()
1019 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - in ext2_fill_super()
1022 db_count = (sbi->s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / in ext2_fill_super()
1030 sbi->s_debts = kcalloc(sbi->s_groups_count, sizeof(*sbi->s_debts), GFP_KERNEL); in ext2_fill_super()
1388 for (i = 0; i < sbi->s_groups_count; i++) in ext2_statfs()
1396 overhead += (sbi->s_groups_count * in ext2_statfs()
Dballoc.c48 if (block_group >= sbi->s_groups_count) { in ext2_get_group_desc()
52 block_group, sbi->s_groups_count); in ext2_get_group_desc()
1306 ngroups = EXT2_SB(sb)->s_groups_count; in ext2_new_blocks()
1459 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_blocks()
1480 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
/fs/ext3/
Dialloc.c197 int ngroups = sbi->s_groups_count; in find_group_orlov()
282 int ngroups = EXT3_SB(sb)->s_groups_count; in find_group_other()
385 for (i = 0; i < sbi->s_groups_count; i++) { in ext3_new_inode()
434 if (++group == sbi->s_groups_count) in ext3_new_inode()
660 for (i = 0; i < EXT3_SB(sb)->s_groups_count; i++) { in ext3_count_free_inodes()
681 for (i = 0; i < EXT3_SB(sb)->s_groups_count; i++) { in ext3_count_free_inodes()
698 for (i = 0; i < EXT3_SB(sb)->s_groups_count; i++) { in ext3_count_dirs()
Dresize.c47 if (group != sbi->s_groups_count) in verify_group_input()
50 input->group, sbi->s_groups_count); in verify_group_input()
210 if (input->group != sbi->s_groups_count) { in setup_new_group_blocks()
390 const unsigned long end = EXT3_SB(sb)->s_groups_count; in verify_reserved_gdb()
698 const unsigned long last = sbi->s_groups_count; in update_backups()
856 if (input->group != sbi->s_groups_count) { in ext3_group_add()
949 sbi->s_groups_count++; in ext3_group_add()
Dballoc.c67 if (block_group >= sbi->s_groups_count) { in ext3_get_group_desc()
71 block_group, sbi->s_groups_count); in ext3_get_group_desc()
1586 ngroups = EXT3_SB(sb)->s_groups_count; in ext3_new_blocks()
1785 unsigned long ngroups = EXT3_SB(sb)->s_groups_count; in ext3_count_free_blocks()
Dsuper.c1368 sbi->s_groups_count, in ext3_setup_super()
1392 for (i = 0; i < sbi->s_groups_count; i++) { in ext3_check_descriptors()
1397 if (i == sbi->s_groups_count - 1) in ext3_check_descriptors()
1901 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - in ext3_fill_super()
1904 db_count = DIV_ROUND_UP(sbi->s_groups_count, EXT3_DESC_PER_BLOCK(sb)); in ext3_fill_super()
2744 unsigned long ngroups = sbi->s_groups_count, i; in ext3_statfs()
Dext3.h632 unsigned long s_groups_count; /* Number of groups in the fs */ member
/fs/ext4/
Dresize.c88 if (group != sbi->s_groups_count) { in verify_group_input()
90 input->group, sbi->s_groups_count); in verify_group_input()
478 group_data[0].group != sbi->s_groups_count); in setup_new_flex_group_blocks()
1066 last = sbi->s_groups_count; in update_backups()
1072 while (group < sbi->s_groups_count) { in update_backups()
1367 sbi->s_groups_count += flex_gd->count; in ext4_update_super()
1368 sbi->s_blockfile_groups = min_t(ext4_group_t, sbi->s_groups_count, in ext4_update_super()
1453 BUG_ON(group != EXT4_SB(sb)->s_groups_count); in ext4_flex_group_add()
1828 cpu_to_le32(num_desc_blocks(sb, sbi->s_groups_count)); in ext4_convert_meta_bg()
1916 o_desc_blocks = num_desc_blocks(sb, sbi->s_groups_count); in ext4_resize_fs()
Dsuper.c1927 sbi->s_groups_count, in ext4_setup_super()
1981 err = ext4_alloc_flex_bg_array(sb, sbi->s_groups_count); in ext4_fill_flex_info()
1985 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_fill_flex_info()
2079 ext4_group_t i, grp = sbi->s_groups_count; in ext4_check_descriptors()
2086 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_check_descriptors()
2089 if (i == sbi->s_groups_count - 1 || flexbg_flag) in ext4_check_descriptors()
2095 if ((grp == sbi->s_groups_count) && in ext4_check_descriptors()
2892 ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request()
3086 ext4_group_t group, ngroups = EXT4_SB(sb)->s_groups_count; in ext4_has_uninit_itable()
3148 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_register_li_request()
[all …]
Dioctl.c560 ext4_group_t o_group = EXT4_SB(sb)->s_groups_count; in ext4_ioctl()
591 if (!err && (o_group > EXT4_SB(sb)->s_groups_count) && in ext4_ioctl()
Dext4.h1223 ext4_group_t s_groups_count; /* Number of groups in the fs */ member
2594 BUG_ON(group >= EXT4_SB(sb)->s_groups_count); in ext4_get_group_info()
2608 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count()