Searched refs:bg_desc (Results 1 – 4 of 4) sorted by relevance
260 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks); in ext4_create_fs_aux_info()261 if (!aux_info.bg_desc) in ext4_create_fs_aux_info()276 free(aux_info.bg_desc); in ext4_free_fs_aux_info()382 sparse_file_add_data(ext4_sparse_file, aux_info.bg_desc, in ext4_fill_in_sb()388 aux_info.bg_desc[i].bg_block_bitmap = group_start_block + header_size; in ext4_fill_in_sb()389 aux_info.bg_desc[i].bg_inode_bitmap = group_start_block + header_size + 1; in ext4_fill_in_sb()390 aux_info.bg_desc[i].bg_inode_table = group_start_block + header_size + 2; in ext4_fill_in_sb()392 aux_info.bg_desc[i].bg_free_blocks_count = sb->s_blocks_per_group; in ext4_fill_in_sb()393 aux_info.bg_desc[i].bg_free_inodes_count = sb->s_inodes_per_group; in ext4_fill_in_sb()394 aux_info.bg_desc[i].bg_used_dirs_count = 0; in ext4_fill_in_sb()[all …]
180 inode_offset = ((unsigned long long)aux_info.bg_desc[bg_num].bg_inode_table * info.block_size) + in read_inode()247 inode_bitmap_block_num = aux_info.bg_desc[bg_num].bg_inode_bitmap; in check_inode_bitmap()290 … aux_info.bg_desc[i].bg_free_inodes_count += (new_inodes_per_group - sb.s_inodes_per_group); in update_superblocks_and_bg_desc()341 ret = write(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in update_superblocks_and_bg_desc()
212 * aux_info.bg_desc[i].bg_block_bitmap; in encrypt_groups()225 int used = (aux_info.bg_desc[i].bg_flags & EXT4_BG_BLOCK_UNINIT) ? in encrypt_groups()334 data.tot_used_blocks -= aux_info.bg_desc[i].bg_free_blocks_count; in cryptfs_enable_inplace_ext4()
107 struct ext2_group_desc *bg_desc; member