Searched refs:EXT4_DESC_PER_BLOCK (Results 1 – 5 of 5) sorted by relevance
515 first_group != group + EXT4_DESC_PER_BLOCK(sb) - 1) in setup_new_flex_group_blocks()757 unsigned long gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in add_new_gdb()887 unsigned long gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in add_new_gdb_meta_bg()1068 last = (ext4_group_t)(group + EXT4_DESC_PER_BLOCK(sb) - 2); in update_backups()1165 gdb_off = group % EXT4_DESC_PER_BLOCK(sb); in ext4_add_new_descs()1166 gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_add_new_descs()1251 gdb_off = group % EXT4_DESC_PER_BLOCK(sb); in ext4_setup_new_descs()1252 gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_setup_new_descs()1439 credit += 1 + DIV_ROUND_UP(flex_gd->count, EXT4_DESC_PER_BLOCK(sb)); in ext4_flex_group_add()1473 int gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_flex_group_add()[all …]
295 offset = block_group & (EXT4_DESC_PER_BLOCK(sb) - 1); in ext4_get_group_desc()777 unsigned long metagroup = group / EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb_meta()778 ext4_group_t first = metagroup * EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb_meta()779 ext4_group_t last = first + EXT4_DESC_PER_BLOCK(sb) - 1; in ext4_bg_num_gdb_meta()811 unsigned long metagroup = group / EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb()
351 # define EXT4_DESC_PER_BLOCK(s) (EXT4_SB(s)->s_desc_per_block) macro356 # define EXT4_DESC_PER_BLOCK(s) (EXT4_BLOCK_SIZE(s) / EXT4_DESC_SIZE(s)) macro2769 indexh = group & ((EXT4_DESC_PER_BLOCK(sb)) - 1); in ext4_get_group_info()
2380 size = (ngroups + EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_alloc_groupinfo()2418 if (group % EXT4_DESC_PER_BLOCK(sb) == 0) { in ext4_mb_add_groupinfo()2433 i = group & (EXT4_DESC_PER_BLOCK(sb) - 1); in ext4_mb_add_groupinfo()2478 if (group % EXT4_DESC_PER_BLOCK(sb) == 0) { in ext4_mb_add_groupinfo()2736 EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_release()
3735 sbi->s_desc_per_block_bits = ilog2(EXT4_DESC_PER_BLOCK(sb)); in ext4_fill_super()3856 if (blocks_count > ((uint64_t)1<<32) - EXT4_DESC_PER_BLOCK(sb)) { in ext4_fill_super()3868 db_count = (sbi->s_groups_count + EXT4_DESC_PER_BLOCK(sb) - 1) / in ext4_fill_super()3869 EXT4_DESC_PER_BLOCK(sb); in ext4_fill_super()