HomeSort by relevance Sort by last modified time
    Searched refs:refcount_block_cache (Results 1 - 2 of 2) sorted by null

  /external/qemu/block/
qcow2-refcount.c 48 s->refcount_block_cache, size) < 0)
64 s->refcount_block_cache = qemu_malloc(s->cluster_size);
84 qemu_free(s->refcount_block_cache);
103 ret = bdrv_pread(bs->file, refcount_block_offset, s->refcount_block_cache,
140 return be16_to_cpu(s->refcount_block_cache[block_index]);
249 memset(s->refcount_block_cache, 0, s->cluster_size);
255 s->refcount_block_cache[block_index] = cpu_to_be16(1);
266 memset(s->refcount_block_cache, 0, s->cluster_size);
272 ret = bdrv_pwrite_sync(bs->file, new_block, s->refcount_block_cache,
449 &s->refcount_block_cache[first_index], size)
    [all...]
qcow2.h 107 uint16_t *refcount_block_cache; member in struct:BDRVQcowState

Completed in 28 milliseconds