Home
last modified time | relevance | path

Searched refs:l2_slice (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-cluster.c277 uint64_t *l2_slice = NULL; in l2_allocate() local
371 if (l2_slice != NULL) { in l2_allocate()
762 uint64_t *l2_slice = NULL; in get_cluster_table() local
812 *new_l2_slice = l2_slice; in get_cluster_table()
833 uint64_t *l2_slice; in qcow2_alloc_compressed_cluster_offset() local
1501 uint64_t *l2_slice; in handle_copied() local
1667 uint64_t *l2_slice; in handle_alloc() local
1906 uint64_t *l2_slice; in discard_in_l2_slice() local
2045 uint64_t *l2_slice; in zero_in_l2_slice() local
2115 uint64_t *l2_slice; in zero_l2_subclusters() local
[all …]
H A Dqcow2.h611 static inline uint64_t get_l2_entry(BDRVQcow2State *s, uint64_t *l2_slice, in get_l2_entry() argument
615 return be64_to_cpu(l2_slice[idx]); in get_l2_entry()
618 static inline uint64_t get_l2_bitmap(BDRVQcow2State *s, uint64_t *l2_slice, in get_l2_bitmap() argument
623 return be64_to_cpu(l2_slice[idx + 1]); in get_l2_bitmap()
629 static inline void set_l2_entry(BDRVQcow2State *s, uint64_t *l2_slice, in set_l2_entry() argument
633 l2_slice[idx] = cpu_to_be64(entry); in set_l2_entry()
636 static inline void set_l2_bitmap(BDRVQcow2State *s, uint64_t *l2_slice, in set_l2_bitmap() argument
641 l2_slice[idx + 1] = cpu_to_be64(bitmap); in set_l2_bitmap()
H A Dqcow2-refcount.c1248 uint64_t *l1_table, *l2_slice, l2_offset, entry, l1_size2, refcount; in qcow2_update_snapshot_refcount() local
1257 l2_slice = NULL; in qcow2_update_snapshot_refcount()
1307 (void **) &l2_slice); in qcow2_update_snapshot_refcount()
1316 entry = get_l2_entry(s, l2_slice, j); in qcow2_update_snapshot_refcount()
1390 set_l2_entry(s, l2_slice, j, entry); in qcow2_update_snapshot_refcount()
1392 l2_slice); in qcow2_update_snapshot_refcount()
1396 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in qcow2_update_snapshot_refcount()
1424 if (l2_slice) { in qcow2_update_snapshot_refcount()
1425 qcow2_cache_put(s->l2_table_cache, (void **) &l2_slice); in qcow2_update_snapshot_refcount()