Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-cluster.c412 val = l2_bitmap | QCOW_OFLAG_SUB_ALLOC_RANGE(0, sc_from); in qcow2_get_subcluster_range_type()
422 val = ((l2_bitmap >> 32) | l2_bitmap) in qcow2_get_subcluster_range_type()
592 uint64_t l1_index, l2_offset, *l2_slice, l2_entry, l2_bitmap; in qcow2_get_host_offset() local
648 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in qcow2_get_host_offset()
1166 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1181 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index + i); in calculate_l2_meta()
1214 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
1259 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
2116 uint64_t old_l2_bitmap, l2_bitmap; in zero_l2_subclusters() local
2145 if (old_l2_bitmap != l2_bitmap) { in zero_l2_subclusters()
[all …]
H A Dqcow2.h749 uint64_t l2_bitmap, in qcow2_get_subcluster_type() argument
761 if ((l2_bitmap >> 32) & l2_bitmap) { in qcow2_get_subcluster_type()
763 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
765 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
771 if (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC) { in qcow2_get_subcluster_type()
773 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
H A Dqcow2-refcount.c1615 uint64_t l2_bitmap = get_l2_bitmap(s, l2_table, l2_index); in fix_l2_entry_by_zero() local
1618 l2_bitmap |= l2_bitmap << 32; in fix_l2_entry_by_zero()
1619 l2_bitmap &= QCOW_L2_BITMAP_ALL_ZEROES; in fix_l2_entry_by_zero()
1621 set_l2_bitmap(s, l2_table, l2_index, l2_bitmap); in fix_l2_entry_by_zero()
1669 uint64_t l2_entry, l2_bitmap; in check_refcounts_l2() local
1691 l2_bitmap = get_l2_bitmap(s, l2_table, i); in check_refcounts_l2()
1721 if (l2_bitmap) { in check_refcounts_l2()
1756 if ((l2_bitmap >> 32) & l2_bitmap) { in check_refcounts_l2()
1769 contains_data = (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC); in check_refcounts_l2()
1835 assert(!l2_bitmap); in check_refcounts_l2()
[all …]