Searched refs:cluster_cache (Results 1 – 4 of 4) sorted by relevance
/external/qemu/block/ |
D | qcow.c | 70 uint8_t *cluster_cache; member 145 s->cluster_cache = qemu_malloc(s->cluster_size); in qcow_open() 146 if (!s->cluster_cache) in qcow_open() 167 qemu_free(s->cluster_cache); in qcow_open() 335 if (bdrv_pwrite(bs->file, cluster_offset, s->cluster_cache, s->cluster_size) != in get_cluster_offset() 435 if (decompress_buffer(s->cluster_cache, s->cluster_size, in decompress_cluster() 471 memcpy(buf, s->cluster_cache + index_in_cluster * 512, 512 * n); 605 s->cluster_cache + index_in_cluster * 512, 512 * acb->n); in qcow_aio_read_cb() 738 qemu_free(s->cluster_cache); in qcow_close()
|
D | qcow2.h | 98 uint8_t *cluster_cache; member
|
D | qcow2.c | 208 s->cluster_cache = qemu_malloc(s->cluster_size); in qcow_open() 249 qemu_free(s->cluster_cache); in qcow_open() 457 memcpy(acb->buf, s->cluster_cache + index_in_cluster * 512, in qcow_aio_read_cb() 666 qemu_free(s->cluster_cache); in qcow_close()
|
D | qcow2-cluster.c | 378 memcpy(buf, s->cluster_cache + index_in_cluster * 512, 512 * n); in qcow_read() 916 if (decompress_buffer(s->cluster_cache, s->cluster_size, in qcow2_decompress_cluster()
|