Home
last modified time | relevance | path

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

/external/qemu/distrib/ext4_utils/src/
Dext4_utils.c101 aux_info.bg_desc_blocks = in ext4_create_fs_aux_info()
110 last_header_size += 1 + aux_info.bg_desc_blocks + in ext4_create_fs_aux_info()
124 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks); in ext4_create_fs_aux_info()
233 aux_info.bg_desc_blocks * info.block_size, in ext4_fill_in_sb()
235 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb()
299 aux_info.bg_desc_blocks; in ext4_create_resize_inode()
Dext2simg.c82 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in read_ext()
85 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) in read_ext()
Dext4fixup.c231 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in read_ext()
234 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) in read_ext()
437 ret = write(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in update_superblocks_and_bg_desc()
440 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) in update_superblocks_and_bg_desc()
Dext4_utils.h110 u32 bg_desc_blocks; member
Dallocate.c177 block += aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks + 1; in allocate_bg_inode_table()
289 header_blocks += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
300 block += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
Dmake_ext4fs.c364 u32 bg_desc_blocks = DIV_ROUND_UP(block_groups * sizeof(struct ext2_group_desc), in compute_bg_desc_reserve_blocks() local
369 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()