Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dalloc_tables.c40 int flexbg, flexbg_size; in flexbg_offset() local
44 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in flexbg_offset()
45 flexbg = group / flexbg_size; in flexbg_offset()
57 if (start_blk && group % flexbg_size) { in flexbg_offset()
63 start_blk = ext2fs_group_first_block(fs, flexbg_size * flexbg); in flexbg_offset()
64 last_grp = group | (flexbg_size - 1); in flexbg_offset()
87 int j, rem_grps = 0, flexbg_size = 0; in ext2fs_allocate_group_table() local
98 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in ext2fs_allocate_group_table()
99 last_grp = group | (flexbg_size - 1); in ext2fs_allocate_group_table()
121 if (flexbg_size) { in ext2fs_allocate_group_table()
[all …]
/external/e2fsprogs/resize/
Dresize2fs.c1897 int flexbg_size = 1 << fs->super->s_log_groups_per_flex; in calculate_minimum_resize_size() local
1932 extra_groups = flexbg_size - (groups & (flexbg_size - 1)); in calculate_minimum_resize_size()
1934 extra_groups = groups % flexbg_size; in calculate_minimum_resize_size()
2001 && extra_groups > flexbg_size) { in calculate_minimum_resize_size()
2007 extra_groups = flexbg_size - in calculate_minimum_resize_size()
2008 (groups & (flexbg_size - 1)); in calculate_minimum_resize_size()
2010 extra_groups = groups % flexbg_size; in calculate_minimum_resize_size()
/external/e2fsprogs/e2fsck/
Dpass1.c2440 int i, is_flexbg, flexbg, flexbg_size; in new_table_block() local
2458 flexbg_size = 1 << fs->super->s_log_groups_per_flex; in new_table_block()
2459 flexbg = group / flexbg_size; in new_table_block()
2461 flexbg_size * flexbg); in new_table_block()
2462 last_grp = group | (flexbg_size - 1); in new_table_block()