Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-refcount.c1318 entry &= ~QCOW_OFLAG_COPIED; in qcow2_update_snapshot_refcount()
1383 entry |= QCOW_OFLAG_COPIED; in qcow2_update_snapshot_refcount()
1413 l2_offset |= QCOW_OFLAG_COPIED; in qcow2_update_snapshot_refcount()
1706 if (l2_entry & QCOW_OFLAG_COPIED) { in check_refcounts_l2()
1710 l2_entry &= ~QCOW_OFLAG_COPIED; in check_refcounts_l2()
1989 if ((refcount == 1) != ((l1_entry & QCOW_OFLAG_COPIED) != 0)) { in check_oflag_copied()
1996 ? l1_entry | QCOW_OFLAG_COPIED in check_oflag_copied()
1997 : l1_entry & ~QCOW_OFLAG_COPIED; in check_oflag_copied()
2035 if ((refcount == 1) != ((l2_entry & QCOW_OFLAG_COPIED) != 0)) { in check_oflag_copied()
2043 l2_entry | QCOW_OFLAG_COPIED : in check_oflag_copied()
[all …]
H A Dqcow2-cluster.c360 s->l1_table[l1_index] = l2_offset | QCOW_OFLAG_COPIED; in l2_allocate()
784 if (!(s->l1_table[l1_index] & QCOW_OFLAG_COPIED)) { in get_cluster_table()
1084 set_l2_entry(s, l2_slice, l2_index + i, offset | QCOW_OFLAG_COPIED); in qcow2_alloc_cluster_link_l2()
1338 if (l2_entry & QCOW_OFLAG_COPIED) { in cluster_needs_new_alloc()
2404 set_l2_entry(s, l2_slice, j, offset | QCOW_OFLAG_COPIED); in expand_zero_clusters_in_l1()
H A Dqcow2.h75 #define QCOW_OFLAG_COPIED (1ULL << 63) macro
729 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()