Home
last modified time | relevance | path

Searched refs:flexbg_size (Results 1 – 3 of 3) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dalloc_tables.c41 int flexbg, flexbg_size, size; in flexbg_offset() local
45 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() local
100 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 …]
/external/e2fsprogs/resize/
Dresize2fs.c2055 int flexbg_size = 1 << fs->super->s_log_groups_per_flex; in calculate_minimum_resize_size() local
2100 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()
/external/e2fsprogs/e2fsck/
Dpass1.c2602 unsigned flexbg_size; in new_table_block() local
2621 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()