Home
last modified time | relevance | path

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

/dports/emulators/qemu60/qemu-6.0.0/block/
H A Dqcow2-cluster.c392 uint64_t l2_bitmap, in qcow2_get_subcluster_range_type() argument
409 val = l2_bitmap | QCOW_OFLAG_SUB_ALLOC_RANGE(0, sc_from); in qcow2_get_subcluster_range_type()
419 val = ((l2_bitmap >> 32) | l2_bitmap) in qcow2_get_subcluster_range_type()
634 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in qcow2_get_host_offset()
1150 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1165 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index + i); in calculate_l2_meta()
1198 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
1243 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
2036 uint64_t old_l2_bitmap, l2_bitmap; in zero_l2_subclusters() local
2065 if (old_l2_bitmap != l2_bitmap) { in zero_l2_subclusters()
[all …]
H A Dqcow2.h745 uint64_t l2_bitmap, in qcow2_get_subcluster_type() argument
757 if ((l2_bitmap >> 32) & l2_bitmap) { in qcow2_get_subcluster_type()
759 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
761 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
767 if (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC) { in qcow2_get_subcluster_type()
769 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
H A Dqcow2-refcount.c1677 uint64_t l2_bitmap = get_l2_bitmap(s, l2_table, i); in check_refcounts_l2() local
1678 contains_data = (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC); in check_refcounts_l2()
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Dqcow2-cluster.c392 uint64_t l2_bitmap, in qcow2_get_subcluster_range_type() argument
409 val = l2_bitmap | QCOW_OFLAG_SUB_ALLOC_RANGE(0, sc_from); in qcow2_get_subcluster_range_type()
419 val = ((l2_bitmap >> 32) | l2_bitmap) in qcow2_get_subcluster_range_type()
634 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in qcow2_get_host_offset()
1150 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1165 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index + i); in calculate_l2_meta()
1198 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
1243 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
2036 uint64_t old_l2_bitmap, l2_bitmap; in zero_l2_subclusters() local
2065 if (old_l2_bitmap != l2_bitmap) { in zero_l2_subclusters()
[all …]
H A Dqcow2.h745 uint64_t l2_bitmap, in qcow2_get_subcluster_type() argument
757 if ((l2_bitmap >> 32) & l2_bitmap) { in qcow2_get_subcluster_type()
759 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
761 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
767 if (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC) { in qcow2_get_subcluster_type()
769 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
H A Dqcow2-refcount.c1677 uint64_t l2_bitmap = get_l2_bitmap(s, l2_table, i); in check_refcounts_l2() local
1678 contains_data = (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC); in check_refcounts_l2()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/
H A Dqcow2-cluster.c392 uint64_t l2_bitmap, in qcow2_get_subcluster_range_type() argument
409 val = l2_bitmap | QCOW_OFLAG_SUB_ALLOC_RANGE(0, sc_from); in qcow2_get_subcluster_range_type()
419 val = ((l2_bitmap >> 32) | l2_bitmap) in qcow2_get_subcluster_range_type()
633 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in qcow2_get_host_offset()
1149 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1164 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index + i); in calculate_l2_meta()
1197 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
1242 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
2053 uint64_t old_l2_bitmap, l2_bitmap; in zero_l2_subclusters() local
2082 if (old_l2_bitmap != l2_bitmap) { in zero_l2_subclusters()
[all …]
H A Dqcow2.h746 uint64_t l2_bitmap, in qcow2_get_subcluster_type() argument
758 if ((l2_bitmap >> 32) & l2_bitmap) { in qcow2_get_subcluster_type()
760 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
762 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
768 if (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC) { in qcow2_get_subcluster_type()
770 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
H A Dqcow2-refcount.c1611 uint64_t l2_bitmap = get_l2_bitmap(s, l2_table, l2_index); in fix_l2_entry_by_zero() local
1614 l2_bitmap |= l2_bitmap << 32; in fix_l2_entry_by_zero()
1615 l2_bitmap &= QCOW_L2_BITMAP_ALL_ZEROES; in fix_l2_entry_by_zero()
1617 set_l2_bitmap(s, l2_table, l2_index, l2_bitmap); in fix_l2_entry_by_zero()
1664 uint64_t l2_entry, l2_bitmap; in check_refcounts_l2() local
1686 l2_bitmap = get_l2_bitmap(s, l2_table, i); in check_refcounts_l2()
1716 if (l2_bitmap) { in check_refcounts_l2()
1751 if ((l2_bitmap >> 32) & l2_bitmap) { in check_refcounts_l2()
1764 contains_data = (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC); in check_refcounts_l2()
1830 assert(!l2_bitmap); in check_refcounts_l2()
[all …]
/dports/emulators/qemu/qemu-6.2.0/block/
H A Dqcow2-cluster.c392 uint64_t l2_bitmap, in qcow2_get_subcluster_range_type() argument
409 val = l2_bitmap | QCOW_OFLAG_SUB_ALLOC_RANGE(0, sc_from); in qcow2_get_subcluster_range_type()
419 val = ((l2_bitmap >> 32) | l2_bitmap) in qcow2_get_subcluster_range_type()
646 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in qcow2_get_host_offset()
1162 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1177 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index + i); in calculate_l2_meta()
1210 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
1255 l2_bitmap = get_l2_bitmap(s, l2_slice, l2_index); in calculate_l2_meta()
2066 uint64_t old_l2_bitmap, l2_bitmap; in zero_l2_subclusters() local
2095 if (old_l2_bitmap != l2_bitmap) { in zero_l2_subclusters()
[all …]
H A Dqcow2.h746 uint64_t l2_bitmap, in qcow2_get_subcluster_type() argument
758 if ((l2_bitmap >> 32) & l2_bitmap) { in qcow2_get_subcluster_type()
760 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
762 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
768 if (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC) { in qcow2_get_subcluster_type()
770 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
H A Dqcow2-refcount.c1611 uint64_t l2_bitmap = get_l2_bitmap(s, l2_table, l2_index); in fix_l2_entry_by_zero() local
1614 l2_bitmap |= l2_bitmap << 32; in fix_l2_entry_by_zero()
1615 l2_bitmap &= QCOW_L2_BITMAP_ALL_ZEROES; in fix_l2_entry_by_zero()
1617 set_l2_bitmap(s, l2_table, l2_index, l2_bitmap); in fix_l2_entry_by_zero()
1664 uint64_t l2_entry, l2_bitmap; in check_refcounts_l2() local
1686 l2_bitmap = get_l2_bitmap(s, l2_table, i); in check_refcounts_l2()
1716 if (l2_bitmap) { in check_refcounts_l2()
1751 if ((l2_bitmap >> 32) & l2_bitmap) { in check_refcounts_l2()
1764 contains_data = (l2_bitmap & QCOW_L2_BITMAP_ALL_ALLOC); in check_refcounts_l2()
1830 assert(!l2_bitmap); in check_refcounts_l2()
[all …]