Lines Matching refs:info
156 if (skip_len % info.block_size) { in emit_skip_chunk()
158 skip_len, info.block_size); in emit_skip_chunk()
165 chunk_header.chunk_sz = skip_len / info.block_size; in emit_skip_chunk()
176 chunk = (skip_len > info.block_size) ? info.block_size : skip_len; in emit_skip_chunk()
209 if (off % info.block_size) { in write_chunk_raw()
211 off, info.block_size); in write_chunk_raw()
221 rnd_up_len = (len + (info.block_size - 1)) & (~(info.block_size -1)); in write_chunk_raw()
227 chunk_header.chunk_sz = rnd_up_len / info.block_size; in write_chunk_raw()
279 zero_buf = malloc(info.block_size); in open_output_file()
284 memset(zero_buf, '\0', info.block_size); in open_output_file()
314 sparse_header.blk_sz = info.block_size, in open_output_file()
315 sparse_header.total_blks = info.len / info.block_size, in open_output_file()
328 if (len > info.len) { in pad_output_file()
330 len - info.len); in pad_output_file()
366 if (off + len > info.len) { in write_data_block()
368 off + len - info.len); in write_data_block()
391 if (off + len >= info.len) { in write_data_file()
393 off + len - info.len); in write_data_file()