Searched refs:s_groups_count (Results 1 – 13 of 13) sorted by relevance
/fs/ext2/ |
D | ialloc.c | 206 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()
|
D | super.c | 638 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()
|
D | balloc.c | 48 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()
|
D | ext2.h | 77 unsigned long s_groups_count; /* Number of groups in the fs */ member
|
/fs/ext3/ |
D | ialloc.c | 197 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()
|
D | resize.c | 47 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()
|
D | balloc.c | 67 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()
|
D | super.c | 1368 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()
|
D | ext3.h | 632 unsigned long s_groups_count; /* Number of groups in the fs */ member
|
/fs/ext4/ |
D | resize.c | 88 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()
|
D | super.c | 1927 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 …]
|
D | ioctl.c | 560 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()
|
D | ext4.h | 1223 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()
|