Searched refs:EXT4_BLOCKS_PER_GROUP (Results 1 – 6 of 6) sorted by relevance
453 count2 = EXT4_BLOCKS_PER_GROUP(sb) - (block - start); in set_flexbg_block_bitmap()749 grp * EXT4_BLOCKS_PER_GROUP(sb) + blk){ in verify_reserved_gdb()754 (ext4_fsblk_t)EXT4_BLOCKS_PER_GROUP(sb) + in verify_reserved_gdb()1037 blk = group * EXT4_BLOCKS_PER_GROUP(sb); in reserve_backup_gdb()1084 const int bpg = EXT4_BLOCKS_PER_GROUP(sb); in update_backups()1408 (EXT4_MAX_BLOCK_FILE_PHYS / EXT4_BLOCKS_PER_GROUP(sb))); in ext4_update_super()1555 blocks_per_group = EXT4_BLOCKS_PER_GROUP(sb); in ext4_setup_next_flex_gd()1786 add = EXT4_BLOCKS_PER_GROUP(sb) - last; in ext4_group_extend()1974 EXT4_BLOCKS_PER_GROUP(sb) + in ext4_resize_fs()2027 add = EXT4_BLOCKS_PER_GROUP(sb) - (offset + 1); in ext4_resize_fs()
59 offset = do_div(blocknr, EXT4_BLOCKS_PER_GROUP(sb)) >> in ext4_get_group_no_and_offset()173 blocks = EXT4_BLOCKS_PER_GROUP(sb); in num_clusters_in_group()911 if (bg_start + EXT4_BLOCKS_PER_GROUP(inode->i_sb) <= last_block) in ext4_inode_to_goal_block()913 (EXT4_BLOCKS_PER_GROUP(inode->i_sb) / 16); in ext4_inode_to_goal_block()
1971 EXT4_BLOCKS_PER_GROUP(sb), in ext4_setup_super()2151 (EXT4_BLOCKS_PER_GROUP(sb) - 1); in ext4_check_descriptors()2237 first_block += EXT4_BLOCKS_PER_GROUP(sb); in ext4_check_descriptors()3097 (grp * EXT4_BLOCKS_PER_GROUP(sb)); in count_overhead()3098 last_block = first_block + EXT4_BLOCKS_PER_GROUP(sb) - 1; in count_overhead()3126 if (s + j > EXT4_BLOCKS_PER_GROUP(sb)) { in count_overhead()3129 j = EXT4_BLOCKS_PER_GROUP(sb) - s; in count_overhead()3750 if (EXT4_BLOCKS_PER_GROUP(sb) == 0) in ext4_fill_super()3782 EXT4_BLOCKS_PER_GROUP(sb) - 1); in ext4_fill_super()3783 do_div(blocks_count, EXT4_BLOCKS_PER_GROUP(sb)); in ext4_fill_super()[all …]
3155 if (size > EXT4_BLOCKS_PER_GROUP(ac->ac_sb)) in ext4_mb_normalize_request()3156 size = EXT4_BLOCKS_PER_GROUP(ac->ac_sb); in ext4_mb_normalize_request()3223 BUG_ON(size <= 0 || size > EXT4_BLOCKS_PER_GROUP(ac->ac_sb)); in ext4_mb_normalize_request()4805 if (EXT4_C2B(sbi, bit) + count > EXT4_BLOCKS_PER_GROUP(sb)) { in ext4_free_blocks()4807 EXT4_BLOCKS_PER_GROUP(sb); in ext4_free_blocks()4979 if (bit + count > EXT4_BLOCKS_PER_GROUP(sb)) { in ext4_group_add_blocks()
330 # define EXT4_BLOCKS_PER_GROUP(s) (EXT4_SB(s)->s_blocks_per_group) macro336 # define EXT4_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) macro2094 return group_no * (ext4_fsblk_t)EXT4_BLOCKS_PER_GROUP(sb) + in ext4_group_first_block_no()
2722 credits = 7 + 2*(ex_ee_len/EXT4_BLOCKS_PER_GROUP(inode->i_sb)); in ext4_ext_rm_leaf()