Home
last modified time | relevance | path

Searched refs:refcount_block_cache (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-refcount.c239 return qcow2_cache_get(bs, s->refcount_block_cache, refcount_block_offset, in load_refcount_block()
275 ret = qcow2_cache_get(bs, s->refcount_block_cache, refcount_block_offset, in qcow2_get_refcount()
284 qcow2_cache_put(s->refcount_block_cache, &refcount_block); in qcow2_get_refcount()
393 ret = qcow2_cache_get_empty(bs, s->refcount_block_cache, new_block, in alloc_refcount_block()
414 ret = qcow2_cache_flush(bs, s->refcount_block_cache); in alloc_refcount_block()
421 ret = qcow2_cache_get_empty(bs, s->refcount_block_cache, new_block, in alloc_refcount_block()
432 qcow2_cache_entry_mark_dirty(s->refcount_block_cache, *refcount_block); in alloc_refcount_block()
433 ret = qcow2_cache_flush(bs, s->refcount_block_cache); in alloc_refcount_block()
460 qcow2_cache_put(s->refcount_block_cache, refcount_block); in alloc_refcount_block()
512 qcow2_cache_put(s->refcount_block_cache, refcount_block); in alloc_refcount_block()
[all …]
H A Dqcow2-cache.c64 if (c == s->refcount_block_cache) { in qcow2_cache_get_name()
208 if (c == s->refcount_block_cache) { in qcow2_cache_entry_flush()
223 if (c == s->refcount_block_cache) { in qcow2_cache_entry_flush()
H A Dqcow2.c843 qcow2_cache_clean_unused(s->refcount_block_cache); in cache_clean_timer_cb()
975 Qcow2Cache *refcount_block_cache; member
1044 if (s->refcount_block_cache) { in qcow2_update_options_prepare()
1045 ret = qcow2_cache_flush(bs, s->refcount_block_cache); in qcow2_update_options_prepare()
1056 r->refcount_block_cache = qcow2_cache_create(bs, refcount_cache_size, in qcow2_update_options_prepare()
1058 if (r->l2_table_cache == NULL || r->refcount_block_cache == NULL) { in qcow2_update_options_prepare()
1226 if (s->refcount_block_cache) { in qcow2_update_options_commit()
1227 qcow2_cache_destroy(s->refcount_block_cache); in qcow2_update_options_commit()
1230 s->refcount_block_cache = r->refcount_block_cache; in qcow2_update_options_commit()
1258 if (r->refcount_block_cache) { in qcow2_update_options_abort()
[all …]
H A Dqcow2-cluster.c148 ret = qcow2_cache_flush(bs, s->refcount_block_cache); in qcow2_grow_l1_table()
305 ret = qcow2_cache_flush(bs, s->refcount_block_cache); in l2_allocate()
1057 s->refcount_block_cache); in qcow2_alloc_cluster_link_l2()
H A Dqcow2.h347 Qcow2Cache *refcount_block_cache; member