Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 6 of 6) sorted by relevance

/system/extras/ext4_utils/
Dext2simg.c73 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in build_sparse_ext() local
74 u32 last_block = min(info.blocks_per_group, aux_info.len_blocks - first_block); in build_sparse_ext()
91 u32 start_block = first_block + start_contiguous_block; in build_sparse_ext()
106 u32 start_block = first_block + start_contiguous_block; in build_sparse_ext()
Dallocate.c166 u32 block = bg->first_block + 2; in allocate_bg_inode_table()
248 free_blocks(bg, last_reg->block + last_reg->len - bg->first_block - 1, len); in reduce_allocation()
253 free_blocks(bg, last_reg->block + last_reg->len - bg->first_block - 1, last_reg->len); in reduce_allocation()
282 bg->first_block = aux_info.first_data_block + i * info.blocks_per_group; in init_bg()
284 u32 block = bg->first_block; in init_bg()
305 if (bg->first_block + info.blocks_per_group > aux_info.len_blocks) { in init_bg()
306 u32 overrun = bg->first_block + info.blocks_per_group - aux_info.len_blocks; in init_bg()
407 reg->block = found_block + bgs[found_bg].first_block; in ext4_allocate_best_fit_partial()
810 if (reserve_blocks(&bgs[reg->bg], reg->bg, reg->block - bgs[reg->bg].first_block, reg->len) < 0) { in reserve_blocks_for_allocation()
Dallocate.h47 u32 first_block; member
Dmake_ext4fs.c538 if (block >= aux_info.bgs[i].first_block) in get_block_group()
627 int bg_first_block = bgs[block_group].first_block; in extract_base_fs_allocations()
640 reserve_bg_chunk(block_group, start_block - bgs[block_group].first_block, block_file_size); in extract_base_fs_allocations()
/system/update_engine/sample_images/
Dgenerate_images.sh72 sudo truncate --size=16384 "${mntdir}"/sparse-16k-first_block
73 echo "first block" | sudo dd of="${mntdir}"/sparse-16k-first_block status=none
/system/vold/
Dcryptfs.c2391 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; local
2393 aux_info.len_blocks - first_block);
2404 offset = (u64)info.block_size * first_block;