Home
last modified time | relevance | path

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

/qemu/block/
H A Dqcow2-cache.c66 } else if (c == s->l2_table_cache) { in qcow2_cache_get_name()
193 c == s->l2_table_cache, i); in qcow2_cache_entry_flush()
211 } else if (c == s->l2_table_cache) { in qcow2_cache_entry_flush()
225 } else if (c == s->l2_table_cache) { in qcow2_cache_entry_flush()
247 trace_qcow2_cache_flush(qemu_coroutine_self(), c == s->l2_table_cache); in qcow2_cache_write()
336 trace_qcow2_cache_get(qemu_coroutine_self(), c == s->l2_table_cache, in qcow2_cache_do_get()
371 c == s->l2_table_cache, i); in qcow2_cache_do_get()
379 c == s->l2_table_cache, i); in qcow2_cache_do_get()
382 if (c == s->l2_table_cache) { in qcow2_cache_do_get()
401 c == s->l2_table_cache, i); in qcow2_cache_do_get()
H A Dqcow2-cluster.c317 ret = qcow2_cache_get_empty(bs, s->l2_table_cache, in l2_allocate()
353 ret = qcow2_cache_flush(bs, s->l2_table_cache); in l2_allocate()
721 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in qcow2_get_host_offset()
741 qcow2_cache_put(s->l2_table_cache, (void **)&l2_slice); in qcow2_get_host_offset()
881 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in qcow2_alloc_compressed_cluster_offset()
1020 qcow2_cache_depends_on_flush(s->l2_table_cache); in perform_cow()
1056 qcow2_cache_set_dependency(bs, s->l2_table_cache, in qcow2_alloc_cluster_link_l2()
1105 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in qcow2_alloc_cluster_link_l2()
1574 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in handle_copied()
1752 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in handle_alloc()
[all …]
H A Dqcow2-refcount.c364 ret = qcow2_cache_flush(bs, s->l2_table_cache); in alloc_refcount_block()
833 s->l2_table_cache); in update_refcount()
899 table = qcow2_cache_is_table_offset(s->l2_table_cache, offset); in update_refcount()
901 qcow2_cache_discard(s->l2_table_cache, table); in update_refcount()
1134 qcow2_cache_set_dependency(bs, s->l2_table_cache, s->refcount_block_cache); in qcow2_alloc_bytes()
1213 ret = qcow2_cache_write(bs, s->l2_table_cache); in qcow2_write_caches()
1305 ret = qcow2_cache_get(bs, s->l2_table_cache, in qcow2_update_snapshot_refcount()
1387 qcow2_cache_set_dependency(bs, s->l2_table_cache, in qcow2_update_snapshot_refcount()
1391 qcow2_cache_entry_mark_dirty(s->l2_table_cache, in qcow2_update_snapshot_refcount()
1396 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in qcow2_update_snapshot_refcount()
[all …]
H A Dqcow2.c842 qcow2_cache_clean_unused(s->l2_table_cache); in cache_clean_timer_cb()
974 Qcow2Cache *l2_table_cache; member
1036 if (s->l2_table_cache) { in qcow2_update_options_prepare()
1223 if (s->l2_table_cache) { in qcow2_update_options_commit()
1224 qcow2_cache_destroy(s->l2_table_cache); in qcow2_update_options_commit()
1229 s->l2_table_cache = r->l2_table_cache; in qcow2_update_options_commit()
1255 if (r->l2_table_cache) { in qcow2_update_options_abort()
1256 qcow2_cache_destroy(r->l2_table_cache); in qcow2_update_options_abort()
1896 if (s->l2_table_cache) { in qcow2_do_open()
1897 qcow2_cache_destroy(s->l2_table_cache); in qcow2_do_open()
[all …]
H A Dqcow2.h346 Qcow2Cache *l2_table_cache; member