Home
last modified time | relevance | path

Searched refs:nb_bitmaps (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/qemu-iotests/tests/
H A Dmigrate-bitmaps-postcopy-test34 nb_bitmaps = 15 variable
120 for i in range(nb_bitmaps):
141 for i in range(1, nb_bitmaps):
152 for i in range(2, nb_bitmaps, 2):
201 check_bitmaps(self.vm_b, nb_bitmaps)
207 check_bitmaps(self.vm_b, nb_bitmaps)
211 for i in range(0, nb_bitmaps, 5):
224 for i in range(0, nb_bitmaps):
/openbmc/qemu/block/
H A Dqcow2-bitmap.c542 uint32_t nb_bitmaps = 0; in bitmap_list_count() local
545 nb_bitmaps++; in bitmap_list_count()
548 return nb_bitmaps; in bitmap_list_count()
600 if (++nb_dir_entries > s->nb_bitmaps) { in bitmap_list_load()
632 if (nb_dir_entries != s->nb_bitmaps) { in bitmap_list_load()
665 if (s->nb_bitmaps == 0) { in qcow2_check_bitmaps_refcounts()
845 bitmap_list_count(bm_list) != s->nb_bitmaps) in update_ext_header_and_dir_in_place()
895 uint32_t old_nb_bitmaps = s->nb_bitmaps; in update_ext_header_and_dir()
922 s->nb_bitmaps = new_nb_bitmaps; in update_ext_header_and_dir()
942 s->nb_bitmaps = old_nb_bitmaps; in update_ext_header_and_dir()
[all …]
H A Dqcow2.c372 bitmaps_ext.nb_bitmaps = be32_to_cpu(bitmaps_ext.nb_bitmaps); in qcow2_read_extensions()
378 if (bitmaps_ext.nb_bitmaps > QCOW2_MAX_BITMAPS) { in qcow2_read_extensions()
382 bitmaps_ext.nb_bitmaps, QCOW2_MAX_BITMAPS); in qcow2_read_extensions()
386 if (bitmaps_ext.nb_bitmaps == 0) { in qcow2_read_extensions()
407 s->nb_bitmaps = bitmaps_ext.nb_bitmaps; in qcow2_read_extensions()
416 s->bitmap_directory_offset, s->nb_bitmaps); in qcow2_read_extensions()
3111 if (s->nb_bitmaps > 0) { in qcow2_update_header()
3113 .nb_bitmaps = cpu_to_be32(s->nb_bitmaps), in qcow2_update_header()
5024 if (s->qcow_version >= 3 && !s->snapshots && !s->nb_bitmaps && in qcow2_make_empty()
H A Dqcow2.h319 uint32_t nb_bitmaps; member
373 uint32_t nb_bitmaps; member
/openbmc/qemu/tests/qemu-iotests/
H A D303.out56 nb_bitmaps 2
144 "nb_bitmaps": 2,
H A Dqcow2_format.py162 for _ in range(self.nb_bitmaps)]
/openbmc/qemu/docs/interop/
H A Dqcow2.txt317 Byte 0 - 3: nb_bitmaps
328 size of all (nb_bitmaps) bitmap directory entries.