Searched refs:flexbg_size (Results 1 – 3 of 3) sorted by relevance
41 int flexbg, flexbg_size, size; in flexbg_offset() local45 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in flexbg_offset()46 flexbg = group / flexbg_size; in flexbg_offset()60 start_blk = ext2fs_group_first_block2(fs, flexbg_size * flexbg); in flexbg_offset()61 last_grp = group | (flexbg_size - 1); in flexbg_offset()89 int rem_grps = 0, flexbg_size = 0; in ext2fs_allocate_group_table() local100 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in ext2fs_allocate_group_table()101 last_grp = group | (flexbg_size - 1); in ext2fs_allocate_group_table()123 if (flexbg_size) { in ext2fs_allocate_group_table()126 if (group % flexbg_size) in ext2fs_allocate_group_table()[all …]
2055 int flexbg_size = 1 << fs->super->s_log_groups_per_flex; in calculate_minimum_resize_size() local2100 extra_groups = flexbg_size - (groups & (flexbg_size - 1)); in calculate_minimum_resize_size()2102 extra_groups = groups % flexbg_size; in calculate_minimum_resize_size()2168 && extra_groups > flexbg_size) { in calculate_minimum_resize_size()2174 extra_groups = flexbg_size - in calculate_minimum_resize_size()2175 (groups & (flexbg_size - 1)); in calculate_minimum_resize_size()2178 extra_groups = groups % flexbg_size; in calculate_minimum_resize_size()
2602 unsigned flexbg_size; in new_table_block() local2621 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in new_table_block()2622 flexbg = group / flexbg_size; in new_table_block()2624 flexbg_size * flexbg); in new_table_block()2625 last_grp = group | (flexbg_size - 1); in new_table_block()