Home
last modified time | relevance | path

Searched refs:blocks_per_group (Results 1 – 7 of 7) sorted by relevance

/system/extras/ext4_utils/
Dext4_utils.c98 info.blocks_per_group); in ext4_create_fs_aux_info()
109 u32 last_group_size = aux_info.len_blocks % info.blocks_per_group; in ext4_create_fs_aux_info()
158 sb->s_blocks_per_group = info.blocks_per_group; in ext4_fill_in_sb()
159 sb->s_obso_frags_per_group = info.blocks_per_group; in ext4_fill_in_sb()
223 info.blocks_per_group; in ext4_fill_in_sb()
275 info.blocks_per_group = sb->s_blocks_per_group; in ext4_parse_sb()
312 info.blocks_per_group; in ext4_create_resize_inode()
Dext2simg.c91 printf(" Blocks per group: %d\n", info.blocks_per_group); in read_ext()
133 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in build_sparse_ext()
134 u32 last_block = min(info.blocks_per_group, aux_info.len_blocks - first_block); in build_sparse_ext()
Dmake_ext4fs.c330 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_inodes_per_group()
345 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_bg_desc_reserve_blocks()
503 if (info.blocks_per_group <= 0) in make_ext4fs_internal()
504 info.blocks_per_group = compute_blocks_per_group(); in make_ext4fs_internal()
536 printf(" Blocks per group: %d\n", info.blocks_per_group); in make_ext4fs_internal()
Dallocate.c141 reg->bg * info.blocks_per_group + reg->block,
142 reg->bg * info.blocks_per_group + reg->block + reg->len - 1,
297 bg->first_block = aux_info.first_data_block + i * info.blocks_per_group; in init_bg()
306 bg->free_blocks = info.blocks_per_group; in init_bg()
315 u32 overrun = bg->first_block + info.blocks_per_group - aux_info.len_blocks; in init_bg()
317 reserve_blocks(bg, info.blocks_per_group - overrun, overrun); in init_bg()
Dext4fixup.c240 printf(" Blocks per group: %d\n", info.blocks_per_group); in read_ext()
381 num_block_groups = DIV_ROUND_UP(aux_info.len_blocks, info.blocks_per_group); in update_superblocks_and_bg_desc()
428 … write_sb(fd, (unsigned long long)i * info.blocks_per_group * info.block_size + sb_offset, &sb); in update_superblocks_and_bg_desc()
430 ret = lseek64(fd, ((unsigned long long)i * info.blocks_per_group * info.block_size) + in update_superblocks_and_bg_desc()
Dmake_ext4fs_main.c91 info.blocks_per_group = parse_num(optarg); in main()
Dext4_utils.h121 u32 blocks_per_group; member