Searched refs:bg_desc_blocks (Results 1 – 6 of 6) sorted by relevance
190 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()
110 u32 bg_desc_blocks; member
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()
336 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()
376 u32 bg_desc_blocks = DIV_ROUND_UP(block_groups * sizeof(struct ext2_group_desc), in compute_bg_desc_reserve_blocks() local381 info.block_size) - bg_desc_blocks; in compute_bg_desc_reserve_blocks()
458 int r = (i - aux_info.bg_desc_blocks) % info.bg_desc_reserve_blocks; in inode_attach_resize()