Searched refs:aux_info (Results 1 – 3 of 3) sorted by relevance
41 struct fs_aux_info aux_info; variable110 aux_info.first_data_block = (info.block_size > 1024) ? 0 : 1; in ext4_create_fs_aux_info()111 aux_info.len_blocks = info.len / info.block_size; in ext4_create_fs_aux_info()112 aux_info.inode_table_blocks = DIV_ROUND_UP(info.inodes_per_group * info.inode_size, in ext4_create_fs_aux_info()114 aux_info.groups = DIV_ROUND_UP(aux_info.len_blocks - aux_info.first_data_block, in ext4_create_fs_aux_info()116 aux_info.blocks_per_ind = info.block_size / sizeof(u32); in ext4_create_fs_aux_info()117 aux_info.blocks_per_dind = aux_info.blocks_per_ind * aux_info.blocks_per_ind; in ext4_create_fs_aux_info()118 aux_info.blocks_per_tind = aux_info.blocks_per_dind * aux_info.blocks_per_dind; in ext4_create_fs_aux_info()120 aux_info.bg_desc_blocks = in ext4_create_fs_aux_info()121 DIV_ROUND_UP(aux_info.groups * sizeof(struct ext2_group_desc), in ext4_create_fs_aux_info()[all …]
189 for (i = 0; i < aux_info.groups; ++i) { in encrypt_groups()192 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in encrypt_groups()193 u32 block_count = std::min(info.blocks_per_group, (u32)(aux_info.len_blocks - first_block)); in encrypt_groups()195 off64_t offset = (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap; in encrypt_groups()208 int used = (aux_info.bg_desc[i].bg_flags & EXT4_BG_BLOCK_UNINIT) in encrypt_groups()309 for (i = 0; i < aux_info.groups; ++i) { in cryptfs_enable_inplace_ext4()310 data.tot_used_blocks -= aux_info.bg_desc[i].bg_free_blocks_count; in cryptfs_enable_inplace_ext4()
126 extern struct fs_aux_info aux_info;