Searched refs:bg_desc_reserve_blocks (Results 1 – 8 of 8) 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()
367 u32 bg_desc_reserve_blocks = in compute_bg_desc_reserve_blocks() local371 if (bg_desc_reserve_blocks > info.block_size / sizeof(u32)) in compute_bg_desc_reserve_blocks()372 bg_desc_reserve_blocks = info.block_size / sizeof(u32); in compute_bg_desc_reserve_blocks()374 return bg_desc_reserve_blocks; in compute_bg_desc_reserve_blocks()552 info.bg_desc_reserve_blocks = compute_bg_desc_reserve_blocks(); in make_ext4fs_internal()567 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in make_ext4fs_internal()
41 uint32_t bg_desc_reserve_blocks; member
111 info.bg_desc_reserve_blocks; in ext4_create_fs_aux_info()186 sb->s_reserved_gdt_blocks = info.bg_desc_reserve_blocks; in ext4_fill_in_sb()235 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb()300 u32 reserved_block_len = info.bg_desc_reserve_blocks; in ext4_create_resize_inode()
39 info->bg_desc_reserve_blocks = sb->s_reserved_gdt_blocks; in ext4_parse_sb()
177 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()
98 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in read_ext()
247 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in read_ext()