Home
last modified time | relevance | path

Searched refs:bg_desc_blocks (Results 1 – 6 of 6) sorted by relevance

/system/extras/ext4_utils/
Dext4_utils.c212 aux_info.bg_desc_blocks = in ext4_create_fs_aux_info()
221 last_header_size += 1 + aux_info.bg_desc_blocks + in ext4_create_fs_aux_info()
255 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks); in ext4_create_fs_aux_info()
374 aux_info.bg_desc_blocks * info.block_size, in ext4_fill_in_sb()
376 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb()
441 aux_info.bg_desc_blocks; in ext4_create_resize_inode()
612 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in read_ext()
615 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) in read_ext()
Dext4_utils.h112 u32 bg_desc_blocks; member
Dext4fixup.c336 ret = write(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in update_superblocks_and_bg_desc()
339 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) in update_superblocks_and_bg_desc()
Dallocate.c169 block += aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks + 1; in allocate_bg_inode_table()
275 header_blocks += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
286 block += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
Dmake_ext4fs.c396 u32 bg_desc_blocks = DIV_ROUND_UP(block_groups * sizeof(struct ext2_group_desc), in compute_bg_desc_reserve_blocks() local
401 info.block_size) - bg_desc_blocks; in compute_bg_desc_reserve_blocks()
Dindirect.c458 int r = (i - aux_info.bg_desc_blocks) % info.bg_desc_reserve_blocks; in inode_attach_resize()