Searched refs:l2_table_cache (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cache.c | 66 } 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 D | qcow2-cluster.c | 218 return qcow2_cache_get(bs, s->l2_table_cache, l2_offset + start_of_slice, in l2_load() 317 ret = qcow2_cache_get_empty(bs, s->l2_table_cache, in l2_allocate() 334 ret = qcow2_cache_get(bs, s->l2_table_cache, old_l2_slice_offset, in l2_allocate() 342 qcow2_cache_put(s->l2_table_cache, (void **) &old_slice); in l2_allocate() 349 qcow2_cache_entry_mark_dirty(s->l2_table_cache, l2_slice); in l2_allocate() 350 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in l2_allocate() 353 ret = qcow2_cache_flush(bs, s->l2_table_cache); in l2_allocate() 372 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); 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() [all …]
|
H A D | qcow2-refcount.c | 364 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 D | qcow2.c | 842 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() 1037 ret = qcow2_cache_flush(bs, s->l2_table_cache); in qcow2_update_options_prepare() 1054 r->l2_table_cache = qcow2_cache_create(bs, l2_cache_size, in qcow2_update_options_prepare() 1058 if (r->l2_table_cache == NULL || r->refcount_block_cache == NULL) { 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() [all …]
|
H A D | qcow2.h | 346 Qcow2Cache *l2_table_cache; member
|