Searched refs:s_groups_count (Results 1 – 10 of 10) sorted by relevance
| /Linux-v6.6/fs/ext2/ |
| 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()
|
| 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()
|
| 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() 1304 ngroups = EXT2_SB(sb)->s_groups_count; in ext2_new_blocks() 1451 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_blocks() 1472 for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { in ext2_count_free_blocks()
|
| 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()
|
| /Linux-v6.6/fs/ext4/ |
| 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() 542 group_data[0].group != sbi->s_groups_count); in setup_new_flex_group_blocks() 1162 last = sbi->s_groups_count; in update_backups() 1168 while (group < sbi->s_groups_count) { in update_backups() 1478 sbi->s_groups_count += flex_gd->count; in ext4_update_super() 1479 sbi->s_blockfile_groups = min_t(ext4_group_t, sbi->s_groups_count, in ext4_update_super() 1580 BUG_ON(group != sbi->s_groups_count); in ext4_flex_group_add() 1958 cpu_to_le32(num_desc_blocks(sb, sbi->s_groups_count)); in ext4_convert_meta_bg() 2058 o_desc_blocks = num_desc_blocks(sb, sbi->s_groups_count); in ext4_resize_fs()
|
| D | super.c | 3057 if (sbi->s_groups_count >= MB_DEFAULT_LINEAR_SCAN_THRESHOLD && in _ext4_show_options() 3060 } else if (sbi->s_groups_count < MB_DEFAULT_LINEAR_SCAN_THRESHOLD && in _ext4_show_options() 3136 sbi->s_groups_count, in ext4_setup_super() 3204 err = ext4_alloc_flex_bg_array(sb, sbi->s_groups_count); in ext4_fill_flex_info() 3208 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_fill_flex_info() 3299 ext4_group_t i, grp = sbi->s_groups_count; in ext4_check_descriptors() 3306 for (i = 0; i < sbi->s_groups_count; i++) { in ext4_check_descriptors() 3309 if (i == sbi->s_groups_count - 1 || flexbg_flag) in ext4_check_descriptors() 3315 if ((grp == sbi->s_groups_count) && in ext4_check_descriptors() 3708 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request() [all …]
|
| D | fsmap.c | 418 for (agno = 0; agno < EXT4_SB(sb)->s_groups_count; agno++) { in ext4_getfsmap_find_fixed_metadata()
|
| 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()
|
| D | balloc.c | 330 if (unlikely(group >= EXT4_SB(sb)->s_groups_count)) in ext4_get_group_info()
|
| D | ext4.h | 1489 ext4_group_t s_groups_count; /* Number of groups in the fs */ member 3331 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count()
|