Searched refs:s_groups_count (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/fs/ext2/ |
H A D | ialloc.c | 201 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir() 256 int ngroups = sbi->s_groups_count; in find_group_orlov() 362 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_other() 455 for (i = 0; i < sbi->s_groups_count; i++) { in ext2_new_inode() 458 if (++group == sbi->s_groups_count) in ext2_new_inode() 482 if (++group == sbi->s_groups_count) in ext2_new_inode() 491 if (++group == sbi->s_groups_count) in ext2_new_inode() 624 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes() 648 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_inodes() 664 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_dirs()
|
H A D | super.c | 674 sbi->s_groups_count, in ext2_setup_super() 688 for (i = 0; i < sbi->s_groups_count; i++) { in ext2_check_descriptors() 1075 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - in ext2_fill_super() 1078 if ((u64)sbi->s_groups_count * sbi->s_inodes_per_group != in ext2_fill_super() 1082 (u64)sbi->s_groups_count * sbi->s_inodes_per_group); in ext2_fill_super() 1085 db_count = (sbi->s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / in ext2_fill_super() 1096 sbi->s_debts = kcalloc(sbi->s_groups_count, sizeof(*sbi->s_debts), GFP_KERNEL); in ext2_fill_super() 1441 for (i = 0; i < sbi->s_groups_count; i++) in ext2_statfs() 1449 overhead += (sbi->s_groups_count * in ext2_statfs()
|
H A D | balloc.c | 48 if (block_group >= sbi->s_groups_count) { in ext2_get_group_desc() 51 block_group, sbi->s_groups_count); in ext2_get_group_desc() 1311 ngroups = EXT2_SB(sb)->s_groups_count; in ext2_new_blocks() 1458 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_blocks() 1479 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_blocks()
|
H A D | ext2.h | 79 unsigned long s_groups_count; /* Number of groups in the fs */ member 813 if (group_no == sbi->s_groups_count - 1) in ext2_group_last_block_no()
|
/openbmc/linux/fs/ext4/ |
H A D | resize.c | 149 if (group != sbi->s_groups_count) { in verify_group_input() 151 input->group, sbi->s_groups_count); in verify_group_input() 550 group_data[0].group != sbi->s_groups_count); in setup_new_flex_group_blocks() 1165 last = sbi->s_groups_count; in update_backups() 1171 while (group < sbi->s_groups_count) { in update_backups() 1483 sbi->s_groups_count += flex_gd->count; in ext4_update_super() 1484 sbi->s_blockfile_groups = min_t(ext4_group_t, sbi->s_groups_count, in ext4_update_super() 1585 BUG_ON(group != sbi->s_groups_count); in ext4_flex_group_add() 1965 cpu_to_le32(num_desc_blocks(sb, sbi->s_groups_count)); in ext4_convert_meta_bg() 2064 o_desc_blocks = num_desc_blocks(sb, sbi->s_groups_count); in ext4_resize_fs()
|
H A D | super.c | 3138 sbi->s_groups_count, in ext4_setup_super() 3206 err = ext4_alloc_flex_bg_array(sb, sbi->s_groups_count); in ext4_fill_flex_info() 3210 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_fill_flex_info() 3301 ext4_group_t i, grp = sbi->s_groups_count; in ext4_check_descriptors() 3308 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_check_descriptors() 3311 if (i == sbi->s_groups_count - 1 || flexbg_flag) in ext4_check_descriptors() 3317 if ((grp == sbi->s_groups_count) && in ext4_check_descriptors() 3710 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request() 4010 ext4_group_t ngroups = sbi->s_groups_count; in ext4_register_li_request() 4825 sbi->s_groups_count = blocks_count; in ext4_check_geometry() [all …]
|
H A D | fsmap.c | 418 for (agno = 0; agno < EXT4_SB(sb)->s_groups_count; agno++) { in ext4_getfsmap_find_fixed_metadata()
|
H A D | ioctl.c | 1436 ext4_group_t o_group = EXT4_SB(sb)->s_groups_count; in __ext4_ioctl() 1461 if (!err && (o_group < EXT4_SB(sb)->s_groups_count) && in __ext4_ioctl()
|
H A D | balloc.c | 330 if (unlikely(group >= EXT4_SB(sb)->s_groups_count)) in ext4_get_group_info()
|
H A D | ext4.h | 1489 ext4_group_t s_groups_count; /* Number of groups in the fs */ member 3332 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count()
|