Searched refs:blk_sz (Results 1 – 3 of 3) sorted by relevance
/system/extras/ext4_utils/ |
D | simg2img.c | 52 int process_raw_chunk(FILE *in, FILE *out, u32 blocks, u32 blk_sz, u32 *crc32) in process_raw_chunk() argument 54 u64 len = (u64)blocks * blk_sz; in process_raw_chunk() 75 int process_skip_chunk(FILE *out, u32 blocks, u32 blk_sz, u32 *crc32) in process_skip_chunk() argument 80 u64 len = (u64)blocks * blk_sz; in process_skip_chunk() 97 skip_chunk = (skip_chunk > blk_sz) ? blk_sz : skip_chunk; in process_skip_chunk() 156 if ( (zerobuf = malloc(sparse_header.blk_sz)) == 0) { in main() 177 (chunk_header.chunk_sz * sparse_header.blk_sz)) ) { in main() 182 chunk_header.chunk_sz, sparse_header.blk_sz, &crc32); in main() 190 chunk_header.chunk_sz, sparse_header.blk_sz, &crc32); in main() 204 if (ftruncate(fileno(out), (u64)total_blocks * sparse_header.blk_sz)) { in main()
|
D | sparse_format.h | 23 __le32 blk_sz; /* block size in bytes, must be a multiple of 4 (4096) */ member
|
D | output_file.c | 141 .blk_sz = 0, 314 sparse_header.blk_sz = info.block_size, in open_output_file()
|