Searched refs:bg_desc_reserve_blocks (Results 1 – 6 of 6) sorted by relevance
432 u32 superblocks = block_len / info.bg_desc_reserve_blocks; in inode_attach_resize()437 if (block_len % info.bg_desc_reserve_blocks) in inode_attach_resize()439 info.bg_desc_reserve_blocks); in inode_attach_resize()450 u32 *ind_block_data = calloc(info.block_size, info.bg_desc_reserve_blocks); in inode_attach_resize()454 info.block_size * info.bg_desc_reserve_blocks, in inode_attach_resize()457 for (i = 0; i < info.bg_desc_reserve_blocks; i++) { in inode_attach_resize()458 int r = (i - aux_info.bg_desc_blocks) % info.bg_desc_reserve_blocks; in inode_attach_resize()460 r += info.bg_desc_reserve_blocks; in inode_attach_resize()465 u32 b = j * info.bg_desc_reserve_blocks + r; in inode_attach_resize()471 aux_info.blocks_per_ind * (info.bg_desc_reserve_blocks - 1) + in inode_attach_resize()
43 uint32_t bg_desc_reserve_blocks; member
36 info->bg_desc_reserve_blocks = sb->s_reserved_gdt_blocks; in ext4_parse_sb()
222 info.bg_desc_reserve_blocks; in ext4_create_fs_aux_info()327 sb->s_reserved_gdt_blocks = info.bg_desc_reserve_blocks; in ext4_fill_in_sb()376 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb()442 u32 reserved_block_len = info.bg_desc_reserve_blocks; in ext4_create_resize_inode()628 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in read_ext()
399 u32 bg_desc_reserve_blocks = in compute_bg_desc_reserve_blocks() local403 if (bg_desc_reserve_blocks > info.block_size / sizeof(u32)) in compute_bg_desc_reserve_blocks()404 bg_desc_reserve_blocks = info.block_size / sizeof(u32); in compute_bg_desc_reserve_blocks()406 return bg_desc_reserve_blocks; in compute_bg_desc_reserve_blocks()768 info.bg_desc_reserve_blocks = compute_bg_desc_reserve_blocks(); in make_ext4fs_internal()783 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in make_ext4fs_internal()
169 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()