Home | History | Annotate | Download | only in block

Lines Matching refs:out_buf

215    algorithm for < 4 GB images. NOTE: out_buf == in_buf is
218 uint8_t *out_buf, const uint8_t *in_buf,
231 AES_cbc_encrypt(in_buf, out_buf, 512, key,
235 out_buf += 512;
395 static int decompress_buffer(uint8_t *out_buf, int out_buf_size,
405 strm->next_out = out_buf;
412 out_len = strm->next_out - out_buf;
861 uint8_t *out_buf;
867 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128);
868 if (!out_buf)
877 qemu_free(out_buf);
884 strm.next_out = out_buf;
888 qemu_free(out_buf);
892 out_len = strm.next_out - out_buf;
903 if (bdrv_pwrite(bs->file, cluster_offset, out_buf, out_len) != out_len) {
904 qemu_free(out_buf);
909 qemu_free(out_buf);