Home
last modified time | relevance | path

Searched refs:bg_desc (Results 1 – 3 of 3) sorted by relevance

/system/extras/ext4_utils/
Dext4_utils.cpp167 aux_info.bg_desc = (struct ext2_group_desc *)calloc(info.block_size, aux_info.bg_desc_blocks); in ext4_create_fs_aux_info()
168 if (!aux_info.bg_desc) in ext4_create_fs_aux_info()
183 free(aux_info.bg_desc); in ext4_free_fs_aux_info()
284 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in read_ext()
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h111 struct ext2_group_desc *bg_desc; member
/system/vold/
DEncryptInplace.cpp195 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()
310 data.tot_used_blocks -= aux_info.bg_desc[i].bg_free_blocks_count; in cryptfs_enable_inplace_ext4()