Home
last modified time | relevance | path

Searched refs:len_blocks (Results 1 – 4 of 4) sorted by relevance

/system/extras/ext4_utils/
Dext4_sb.cpp22 uint64_t len_blocks; in ext4_parse_sb() local
40 len_blocks = ((uint64_t)sb->s_blocks_count_hi << 32) + sb->s_blocks_count_lo; in ext4_parse_sb()
41 info->len = (uint64_t)info->block_size * len_blocks; in ext4_parse_sb()
Dext4_utils.cpp99 aux_info.len_blocks = info.len / info.block_size; in ext4_create_fs_aux_info()
103 DIV_ROUND_UP(aux_info.len_blocks - aux_info.first_data_block, info.blocks_per_group); in ext4_create_fs_aux_info()
113 u32 last_group_size = aux_info.len_blocks == info.blocks_per_group in ext4_create_fs_aux_info()
114 ? aux_info.len_blocks in ext4_create_fs_aux_info()
115 : aux_info.len_blocks % info.blocks_per_group; in ext4_create_fs_aux_info()
124 aux_info.len_blocks -= last_group_size; in ext4_create_fs_aux_info()
302 printf(" Blocks: %" PRIext4u64 "\n", aux_info.len_blocks); in read_ext()
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h106 u64 len_blocks; member
/system/vold/
DEncryptInplace.cpp233 uint64_t remaining = aux_info.len_blocks - FirstBlockInGroup(group); in NumBlocksInGroup()
261 InitFs("ext4", blocks_to_encrypt, aux_info.len_blocks, info.block_size); in EncryptInPlaceExt4()