Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dsimg2img.c52 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()
Dsparse_format.h23 __le32 blk_sz; /* block size in bytes, must be a multiple of 4 (4096) */ member
Doutput_file.c141 .blk_sz = 0,
314 sparse_header.blk_sz = info.block_size, in open_output_file()