Searched refs:flexbg_size (Results 1 – 4 of 4) sorted by relevance
42 int flexbg, flexbg_size, size; in flexbg_offset() local46 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in flexbg_offset()47 flexbg = group / flexbg_size; in flexbg_offset()62 start_blk = ext2fs_group_first_block2(fs, flexbg_size * flexbg); in flexbg_offset()63 last_grp = group | (flexbg_size - 1); in flexbg_offset()90 int rem_grps = 0, flexbg_size = 0, table_offset = 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()110 if (fs->stride && !flexbg_size) { in ext2fs_allocate_group_table()123 if (flexbg_size) { in ext2fs_allocate_group_table()[all …]
115 int flexbg_size = 1 << fs->super->s_log_groups_per_flex; in determine_fs_stride() local132 (flexbg_size > 1 && (group % flexbg_size == 0))) in determine_fs_stride()
2900 int flexbg_size = 1 << fs->super->s_log_groups_per_flex; in calculate_minimum_resize_size() local2946 dgrp_t remainder = groups & (flexbg_size - 1); in calculate_minimum_resize_size()2948 flex_groups += flexbg_size - remainder; in calculate_minimum_resize_size()3006 dgrp_t r = groups & (flexbg_size - 1); in calculate_minimum_resize_size()3008 flex_groups = groups + flexbg_size - r; in calculate_minimum_resize_size()3040 (grp & ~(flexbg_size - 1)) == 0) in calculate_minimum_resize_size()3041 grp = grp & ~(flexbg_size - 1); in calculate_minimum_resize_size()
4006 unsigned flexbg_size; in new_table_block() local4024 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in new_table_block()4025 flexbg = group / flexbg_size; in new_table_block()4027 flexbg_size * flexbg); in new_table_block()4028 last_grp = group | (flexbg_size - 1); in new_table_block()