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.c190 aux_info.bg_desc_blocks = in ext4_create_fs_aux_info()
199 last_header_size += 1 + aux_info.bg_desc_blocks + in ext4_create_fs_aux_info()
213 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks); in ext4_create_fs_aux_info()
331 aux_info.bg_desc_blocks * info.block_size, in ext4_fill_in_sb()
333 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb()
397 aux_info.bg_desc_blocks; in ext4_create_resize_inode()
568 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in read_ext()
571 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) in read_ext()
Dext4_utils.h110 u32 bg_desc_blocks; member
Dallocate.c178 block += aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks + 1; in allocate_bg_inode_table()
290 header_blocks += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
301 block += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
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()
Dmake_ext4fs.c376 u32 bg_desc_blocks = DIV_ROUND_UP(block_groups * sizeof(struct ext2_group_desc), in compute_bg_desc_reserve_blocks() local
381 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()