Searched refs:EXT4_DESC_PER_BLOCK (Results 1 – 6 of 6) sorted by relevance
546 first_group != group + EXT4_DESC_PER_BLOCK(sb) - 1) in setup_new_flex_group_blocks()793 unsigned long gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in add_new_gdb()925 unsigned long gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in add_new_gdb_meta_bg()1117 last = (ext4_group_t)(group + EXT4_DESC_PER_BLOCK(sb) - 2); in update_backups()1214 gdb_off = group % EXT4_DESC_PER_BLOCK(sb); in ext4_add_new_descs()1215 gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_add_new_descs()1301 gdb_off = group % EXT4_DESC_PER_BLOCK(sb); in ext4_setup_new_descs()1302 gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_setup_new_descs()1492 credit += 1 + DIV_ROUND_UP(flex_gd->count, EXT4_DESC_PER_BLOCK(sb)); in ext4_flex_group_add()1526 int gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_flex_group_add()[all …]
283 offset = block_group & (EXT4_DESC_PER_BLOCK(sb) - 1); in ext4_get_group_desc()809 unsigned long metagroup = group / EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb_meta()810 ext4_group_t first = metagroup * EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb_meta()811 ext4_group_t last = first + EXT4_DESC_PER_BLOCK(sb) - 1; in ext4_bg_num_gdb_meta()843 unsigned long metagroup = group / EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb()
322 unsigned long metagroup = agno / EXT4_DESC_PER_BLOCK(sb); in ext4_getfsmap_find_sb()
381 # define EXT4_DESC_PER_BLOCK(s) (EXT4_SB(s)->s_desc_per_block) macro386 # define EXT4_DESC_PER_BLOCK(s) (EXT4_BLOCK_SIZE(s) / EXT4_DESC_SIZE(s)) macro3198 indexh = group & ((EXT4_DESC_PER_BLOCK(sb)) - 1); in ext4_get_group_info()
2595 size = (ngroups + EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_alloc_groupinfo()2637 if (group % EXT4_DESC_PER_BLOCK(sb) == 0) { in ext4_mb_add_groupinfo()2652 i = group & (EXT4_DESC_PER_BLOCK(sb) - 1); in ext4_mb_add_groupinfo()2685 if (group % EXT4_DESC_PER_BLOCK(sb) == 0) { in ext4_mb_add_groupinfo()2977 EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_release()
4529 sbi->s_desc_per_block_bits = ilog2(EXT4_DESC_PER_BLOCK(sb)); in ext4_fill_super()4647 if (blocks_count > ((uint64_t)1<<32) - EXT4_DESC_PER_BLOCK(sb)) { in ext4_fill_super()4667 db_count = (sbi->s_groups_count + EXT4_DESC_PER_BLOCK(sb) - 1) / in ext4_fill_super()4668 EXT4_DESC_PER_BLOCK(sb); in ext4_fill_super()