Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dext4_utils.c185 info.blocks_per_group); in ext4_create_fs_aux_info()
196 u32 last_group_size = aux_info.len_blocks % info.blocks_per_group; in ext4_create_fs_aux_info()
245 sb->s_blocks_per_group = info.blocks_per_group; in ext4_fill_in_sb()
246 sb->s_obso_frags_per_group = info.blocks_per_group; in ext4_fill_in_sb()
319 info.blocks_per_group; in ext4_fill_in_sb()
395 info.blocks_per_group; in ext4_create_resize_inode()
578 printf(" Blocks per group: %d\n", info.blocks_per_group); in read_ext()
Dext4_sb.h33 uint32_t blocks_per_group; member
Dext2simg.c73 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in build_sparse_ext()
74 u32 last_block = min(info.blocks_per_group, aux_info.len_blocks - first_block); in build_sparse_ext()
Dext4_sb.c32 info->blocks_per_group = sb->s_blocks_per_group; in ext4_parse_sb()
Dmake_ext4fs.c360 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_inodes_per_group()
375 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_bg_desc_reserve_blocks()
542 if (info.blocks_per_group <= 0) in make_ext4fs_internal()
543 info.blocks_per_group = compute_blocks_per_group(); in make_ext4fs_internal()
575 printf(" Blocks per group: %d\n", info.blocks_per_group); in make_ext4fs_internal()
Dallocate.c297 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 if (bg->first_block + info.blocks_per_group > aux_info.len_blocks) { in init_bg()
316 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.c275 num_block_groups = DIV_ROUND_UP(aux_info.len_blocks, info.blocks_per_group); in update_superblocks_and_bg_desc()
325 * info.blocks_per_group * info.block_size in update_superblocks_and_bg_desc()
330 ret = lseek64(fd, ((unsigned long long)i * info.blocks_per_group * info.block_size) + in update_superblocks_and_bg_desc()
Dmake_ext4fs_main.c99 info.blocks_per_group = parse_num(optarg); in main()
/system/vold/
Dcryptfs.c2358 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group;
2359 u32 block_count = min(info.blocks_per_group,