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()
41 uint32_t bg_desc_reserve_blocks; member
379 u32 bg_desc_reserve_blocks = in compute_bg_desc_reserve_blocks() local383 if (bg_desc_reserve_blocks > info.block_size / sizeof(u32)) in compute_bg_desc_reserve_blocks()384 bg_desc_reserve_blocks = info.block_size / sizeof(u32); in compute_bg_desc_reserve_blocks()386 return bg_desc_reserve_blocks; in compute_bg_desc_reserve_blocks()570 info.bg_desc_reserve_blocks = compute_bg_desc_reserve_blocks(); in make_ext4fs_internal()585 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in make_ext4fs_internal()
39 info->bg_desc_reserve_blocks = sb->s_reserved_gdt_blocks; in ext4_parse_sb()
200 info.bg_desc_reserve_blocks; in ext4_create_fs_aux_info()284 sb->s_reserved_gdt_blocks = info.bg_desc_reserve_blocks; in ext4_fill_in_sb()333 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb()398 u32 reserved_block_len = info.bg_desc_reserve_blocks; in ext4_create_resize_inode()584 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in read_ext()
178 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()