Lines Matching refs:blkcnt
53 lbaint_t blkcnt; in write_sparse_image() local
133 blkcnt = chunk_data_sz / info->blksz; in write_sparse_image()
143 if (blk + blkcnt > info->start + info->size) { in write_sparse_image()
152 blks = info->write(info, blk, blkcnt, data); in write_sparse_image()
154 if (blks < blkcnt) { in write_sparse_image()
162 bytes_written += blkcnt * info->blksz; in write_sparse_image()
194 if (blk + blkcnt > info->start + info->size) { in write_sparse_image()
203 for (i = 0; i < blkcnt;) { in write_sparse_image()
204 j = blkcnt - i; in write_sparse_image()
222 bytes_written += blkcnt * info->blksz; in write_sparse_image()
228 blk += info->reserve(info, blk, blkcnt); in write_sparse_image()