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.c181 + i * info.blocks_per_group); in block_device_write_sb()
207 info.blocks_per_group); in ext4_create_fs_aux_info()
218 u32 last_group_size = aux_info.len_blocks % info.blocks_per_group; in ext4_create_fs_aux_info()
288 sb->s_blocks_per_group = info.blocks_per_group; in ext4_fill_in_sb()
289 sb->s_obso_frags_per_group = info.blocks_per_group; in ext4_fill_in_sb()
362 info.blocks_per_group; in ext4_fill_in_sb()
439 info.blocks_per_group; in ext4_create_resize_inode()
622 printf(" Blocks per group: %d\n", info.blocks_per_group); in read_ext()
Dext4_sb.h35 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.c29 info->blocks_per_group = sb->s_blocks_per_group; in ext4_parse_sb()
Dallocate.c282 bg->first_block = aux_info.first_data_block + i * info.blocks_per_group; in init_bg()
291 bg->free_blocks = info.blocks_per_group; in init_bg()
305 if (bg->first_block + info.blocks_per_group > aux_info.len_blocks) { in init_bg()
306 u32 overrun = bg->first_block + info.blocks_per_group - aux_info.len_blocks; in init_bg()
307 reserve_blocks(bg, i, info.blocks_per_group - overrun, overrun); in init_bg()
309 reserve_bg_chunk(i, info.blocks_per_group - overrun, 0); in init_bg()
311 reserve_bg_chunk(i, info.blocks_per_group - 1, 0); in init_bg()
Dmake_ext4fs.c380 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_inodes_per_group()
395 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_bg_desc_reserve_blocks()
740 if (info.blocks_per_group <= 0) in make_ext4fs_internal()
741 info.blocks_per_group = compute_blocks_per_group(); in make_ext4fs_internal()
773 printf(" Blocks per group: %d\n", info.blocks_per_group); in make_ext4fs_internal()
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.c102 info.blocks_per_group = parse_num(optarg); in main()
/system/vold/
Dcryptfs.c2391 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group;
2392 u32 block_count = min(info.blocks_per_group,