Home
last modified time | relevance | path

Searched refs:bg_desc_reserve_blocks (Results 1 – 5 of 5) sorted by relevance

/system/extras/ext4_utils/
Dindirect.c428 u32 superblocks = block_len / aux_info.bg_desc_reserve_blocks; in inode_attach_resize()
433 if (block_len % aux_info.bg_desc_reserve_blocks) in inode_attach_resize()
435 aux_info.bg_desc_reserve_blocks); in inode_attach_resize()
445 u32 *ind_block_data = calloc(info.block_size, aux_info.bg_desc_reserve_blocks); in inode_attach_resize()
449 info.block_size * aux_info.bg_desc_reserve_blocks, in inode_attach_resize()
452 for (i = 0; i < aux_info.bg_desc_reserve_blocks; i++) { in inode_attach_resize()
453 int r = (i - aux_info.bg_desc_blocks) % aux_info.bg_desc_reserve_blocks; in inode_attach_resize()
455 r += aux_info.bg_desc_reserve_blocks; in inode_attach_resize()
460 u32 b = j * aux_info.bg_desc_reserve_blocks + r; in inode_attach_resize()
466 aux_info.blocks_per_ind * (aux_info.bg_desc_reserve_blocks - 1) + in inode_attach_resize()
Dext4_utils.c128 aux_info.bg_desc_reserve_blocks = in ext4_create_fs_aux_info()
132 if (aux_info.bg_desc_reserve_blocks > aux_info.blocks_per_ind) in ext4_create_fs_aux_info()
133 aux_info.bg_desc_reserve_blocks = aux_info.blocks_per_ind; in ext4_create_fs_aux_info()
141 aux_info.bg_desc_reserve_blocks; in ext4_create_fs_aux_info()
206 sb->s_reserved_gdt_blocks = aux_info.bg_desc_reserve_blocks; in ext4_fill_in_sb()
250 header_size = 1 + aux_info.bg_desc_blocks + aux_info.bg_desc_reserve_blocks; in ext4_fill_in_sb()
281 u32 reserved_block_len = aux_info.bg_desc_reserve_blocks; in ext4_create_resize_inode()
Dext4_utils.h98 u32 bg_desc_reserve_blocks; member
Dallocate.c151 block += aux_info.bg_desc_blocks + aux_info.bg_desc_reserve_blocks + 1; in allocate_bg_inode_table()
261 header_blocks += 1 + aux_info.bg_desc_blocks + aux_info.bg_desc_reserve_blocks; in init_bg()
272 block += 1 + aux_info.bg_desc_blocks + aux_info.bg_desc_reserve_blocks; in init_bg()
Dmake_ext4fs.c293 printf(" Reserved block group size: %d\n", aux_info.bg_desc_reserve_blocks); in make_ext4fs()