Searched refs:refcount_block_cache (Results 1 – 2 of 2) sorted by relevance
/external/qemu/block/ |
D | qcow2-refcount.c | 48 s->refcount_block_cache, size) < 0) in write_refcount_block() 64 s->refcount_block_cache = qemu_malloc(s->cluster_size); in qcow2_refcount_init() 84 qemu_free(s->refcount_block_cache); in qcow2_refcount_close() 103 ret = bdrv_pread(bs->file, refcount_block_offset, s->refcount_block_cache, in load_refcount_block() 140 return be16_to_cpu(s->refcount_block_cache[block_index]); in get_refcount() 249 memset(s->refcount_block_cache, 0, s->cluster_size); in alloc_refcount_block() 255 s->refcount_block_cache[block_index] = cpu_to_be16(1); in alloc_refcount_block() 266 memset(s->refcount_block_cache, 0, s->cluster_size); in alloc_refcount_block() 272 ret = bdrv_pwrite_sync(bs->file, new_block, s->refcount_block_cache, in alloc_refcount_block() 449 &s->refcount_block_cache[first_index], size); in write_refcount_block_entries() [all …]
|
D | qcow2.h | 107 uint16_t *refcount_block_cache; member
|