/openbmc/qemu/tests/qemu-iotests/ |
H A D | 257 | 231 bitmaps = drive.vm.query_bitmaps() 232 log({'bitmaps': bitmaps}, indent=2) 234 return bitmaps 344 bitmaps = perform_writes(drive0, 1) 346 bitmap = vm.get_bitmap(drive0.node, 'bitmap0', bitmaps=bitmaps) 362 bitmaps = perform_writes(drive0, 2, filter_node_name='backup-top') 365 bitmaps=bitmaps)) 370 bitmaps=bitmaps)) 382 bitmaps = vm.query_bitmaps() 383 log({'bitmaps': bitmaps}, indent=2) [all …]
|
H A D | 190.out | 2 == Huge file without bitmaps == 9 bitmaps size: 0 12 bitmaps size: 0 14 == Huge file with bitmaps == 28 bitmaps size: 537198592 32 "bitmaps": 545259520,
|
H A D | 236.out | 4 --- Adding preliminary bitmaps A & B --- 22 "bitmaps": { 86 "bitmaps": { 188 "bitmaps": { 235 "bitmaps": [ 258 "bitmaps": { 305 "bitmaps": [ 321 "bitmaps": { 359 --- Removing bitmaps A, B, C, and D --- 373 "bitmaps": {
|
H A D | 246.out | 6 --- Adding bitmaps Small, Medium, Large, and Transient --- 16 --- Forcing flush of bitmaps to disk --- 19 "bitmaps": { 59 "bitmaps": { 96 "bitmaps": { 141 --- Forcing flush of bitmaps to disk --- 146 "bitmaps": { 205 --- Forcing flush of bitmaps to disk --- 210 "bitmaps": { 268 "bitmaps": {
|
H A D | 178.out.qcow2 | 40 bitmaps size: 0 49 bitmaps size: 0 58 bitmaps size: 0 66 bitmaps size: 0 74 bitmaps size: 0 80 bitmaps size: 0 86 bitmaps size: 0 97 bitmaps size: 0 184 "bitmaps": 0, 195 "bitmaps": 0, [all …]
|
H A D | 254.out | 28 "bitmaps": [ 49 "bitmaps": [ 70 "bitmaps": [ 94 query-block: device = drive0, node-name = snap, dirty-bitmaps: 122 bitmaps in backing image:
|
H A D | 242.out | 39 bitmaps: 48 The same bitmaps in JSON format: 73 bitmaps: 87 The same bitmaps in JSON format: 115 bitmaps: 131 The same bitmaps in JSON format: 166 bitmaps:
|
H A D | 300 | 564 bitmaps = self.vm_b.query_bitmaps() 567 for node in bitmaps: 568 bitmaps[node] = sorted((bmap['name'] for bmap in bitmaps[node])) 570 self.assertEqual(bitmaps, 661 bitmaps = self.vm_b.query_bitmaps() 663 for node in bitmaps: 664 bitmaps[node] = sorted(((bmap['name'], bmap['persistent']) 665 for bmap in bitmaps[node])) 667 self.assertEqual(bitmaps,
|
H A D | 257.out | 20 "bitmaps": {} 53 "bitmaps": { 108 "bitmaps": { 163 "bitmaps": { 191 "bitmaps": { 239 "bitmaps": { 261 "bitmaps": {} 289 "bitmaps": {} 322 "bitmaps": { 370 "bitmaps": { [all …]
|
H A D | 260.out | 9 check that no bitmaps are in snapshot: not found 26 check that no bitmaps are in snapshot: not found 43 check that no bitmaps are in snapshot: not found
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | memstress.c | 350 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots) in memstress_get_dirty_log() argument 357 kvm_vm_get_dirty_log(vm, slot, bitmaps[i]); in memstress_get_dirty_log() 361 void memstress_clear_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], in memstress_clear_dirty_log() argument 369 kvm_vm_clear_dirty_log(vm, slot, bitmaps[i], 0, pages_per_slot); in memstress_clear_dirty_log() 375 unsigned long **bitmaps; in memstress_alloc_bitmaps() local 378 bitmaps = malloc(slots * sizeof(bitmaps[0])); in memstress_alloc_bitmaps() 379 TEST_ASSERT(bitmaps, "Failed to allocate bitmaps array."); in memstress_alloc_bitmaps() 382 bitmaps[i] = bitmap_zalloc(pages_per_slot); in memstress_alloc_bitmaps() 383 TEST_ASSERT(bitmaps[i], "Failed to allocate slot bitmap."); in memstress_alloc_bitmaps() 386 return bitmaps; in memstress_alloc_bitmaps() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | qemu-img-close-errors.out | 3 === Test with 6 bitmaps === 9 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '… 11 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '… 14 === Test with 7 bitmaps === 17 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '… 18 qemu-img: Lost persistent bitmaps during inactivation of node 'NODE_NAME': Failed to write bitmap '…
|
H A D | qemu-img-bitmaps.out | 1 QA output created by qemu-img-bitmaps 20 qemu-img: Format driver 'raw' does not support bitmaps 29 bitmaps: 45 bitmaps: 70 bitmaps: 91 bitmaps: 128 bitmaps: 148 Try --skip-broken-bitmaps, or use 'qemu-img bitmap --remove' to delete it 158 bitmaps: 171 bitmaps:
|
H A D | qemu-img-bitmaps | 84 $QEMU_IMG convert --bitmaps -O raw "$TEST_IMG.orig" "$TEST_IMG" && 92 $QEMU_IMG convert --bitmaps -O qcow2 "$TEST_IMG.orig" "$TEST_IMG" 145 $QEMU_IMG convert --bitmaps -O qcow2 "$TEST_IMG" "$TEST_IMG.copy" && 151 $QEMU_IMG convert --bitmaps --skip-broken-bitmaps \ 160 $QEMU_IMG convert --bitmaps -O qcow2 "$TEST_IMG" "$TEST_IMG.copy"
|
/openbmc/linux/net/sched/ |
H A D | sch_qfq.c | 188 unsigned long bitmaps[QFQ_MAX_STATE]; /* Group bitmaps. */ member 753 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state() 775 q->bitmaps[dst] |= q->bitmaps[src] & mask; in qfq_move_groups() 776 q->bitmaps[src] &= ~mask; in qfq_move_groups() 781 unsigned long mask = mask_from(q->bitmaps[ER], index + 1); in qfq_unblock_groups() 965 ineligible = q->bitmaps[IR] | q->bitmaps[IB]; in qfq_update_eligible() 967 if (!q->bitmaps[ER]) { in qfq_update_eligible() 1050 mask = mask_from(q->bitmaps[ER], agg->grp->index); in qfq_update_start() 1178 if (!q->bitmaps[ER]) in qfq_choose_next_agg() 1181 grp = qfq_ffs(q, q->bitmaps[ER]); in qfq_choose_next_agg() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | subpage.c | 164 real_size = struct_size(ret, bitmaps, in btrfs_alloc_subpage() 378 bitmap_test_range_all_set(subpage->bitmaps, \ 383 bitmap_test_range_all_zero(subpage->bitmaps, \ 396 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_uptodate() 411 bitmap_clear(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_uptodate() 425 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_dirty() 450 bitmap_clear(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_and_test_dirty() 476 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_writeback() 490 bitmap_clear(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_writeback() 507 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_ordered() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | dirty_log_page_splitting_test.c | 90 unsigned long **bitmaps; in run_test() local 111 bitmaps = memstress_alloc_bitmaps(SLOTS, pages_per_slot); in run_test() 139 memstress_get_dirty_log(vm, bitmaps, SLOTS); in run_test() 142 memstress_clear_dirty_log(vm, bitmaps, SLOTS, pages_per_slot); in run_test() 165 memstress_free_bitmaps(bitmaps, SLOTS); in run_test()
|
/openbmc/linux/fs/reiserfs/ |
H A D | resize.c | 106 memcpy(jbitmap[i].bitmaps, jb->bitmaps, copy_size); in reiserfs_resize() 113 node_tmp = jb->bitmaps; in reiserfs_resize() 114 jb->bitmaps = jbitmap[i].bitmaps; in reiserfs_resize()
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | memstress.h | 77 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots); 78 void memstress_clear_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], 81 void memstress_free_bitmaps(unsigned long *bitmaps[], int slots);
|
/openbmc/qemu/docs/interop/ |
H A D | bitmaps.rst | 46 QEMU uses these bitmaps when making incremental backups to know which sections 59 QEMU supports persisting these bitmaps to disk via the qcow2 image format. 61 whereas bitmaps that are not are called "transient". 63 QEMU also supports the migration of both transient bitmaps (tracking any 64 arbitrary image format) or persistent bitmaps (qcow2) via live migration. 79 .. warning:: Transient bitmaps will not be saved on QEMU exit! Persistent 80 bitmaps are available only on qcow2 images. 86 managed bitmaps have a human-readable name chosen by the user at creation 89 - A bitmap's name is unique to the node, but bitmaps attached to different 90 nodes can share the same name. Therefore, all bitmaps are addressed via [all …]
|
/openbmc/qemu/block/ |
H A D | parallels-ext.c | 195 GSList *bitmaps = NULL, *el; in parallels_parse_format_extension() local 261 bitmaps = g_slist_append(bitmaps, bitmap); in parallels_parse_format_extension() 273 for (el = bitmaps; el; el = el->next) { in parallels_parse_format_extension() 276 g_slist_free(bitmaps); in parallels_parse_format_extension()
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | blockgroup.rst | 46 of the block bitmaps to allow for future expansion of the filesystem. By 56 present, will be at the beginning of the block group. The bitmaps and 58 bitmaps to come after the inode table, or for both to be in different 68 first block group of the flex_bg are expanded to include the bitmaps 71 superblock, group descriptors, data block bitmaps for groups 0-3, inode 72 bitmaps for groups 0-3, inode tables for groups 0-3, and the remaining 117 block and inode bitmaps. 125 that the inode and block bitmaps for that group can be calculated and 132 By not writing zeroes to the bitmaps and inode table, mkfs time is
|
/openbmc/qemu/migration/ |
H A D | block-dirty-bitmap.c | 166 GSList *bitmaps; member 284 for (bmbal = bmna->bitmaps; bmbal; bmbal = bmbal->next) { in construct_alias_map() 855 s->bitmaps = g_slist_prepend(s->bitmaps, b); in dirty_bitmap_load_start() 882 s->bitmaps = g_slist_remove(s->bitmaps, b); in before_vm_start_handle_item() 893 g_slist_foreach(s->bitmaps, before_vm_start_handle_item, s); in dirty_bitmap_mig_before_vm_start() 912 for (item = s->bitmaps; item; item = g_slist_next(item)) { in cancel_incoming_locked() 928 g_slist_free_full(s->bitmaps, g_free); in cancel_incoming_locked() 929 s->bitmaps = NULL; in cancel_incoming_locked() 965 for (item = s->bitmaps; item; item = g_slist_next(item)) { in dirty_bitmap_load_complete() 971 s->bitmaps = g_slist_remove(s->bitmaps, b); in dirty_bitmap_load_complete()
|
/openbmc/qemu/nbd/ |
H A D | server.c | 118 bool *bitmaps; /* member 935 memset(meta->bitmaps, 1, meta->exp->nr_export_bitmaps); in nbd_meta_qemu_query() 953 memset(meta->bitmaps, 1, meta->exp->nr_export_bitmaps); in nbd_meta_qemu_query() 964 meta->bitmaps[i] = true; in nbd_meta_qemu_query() 1033 g_autofree G_GNUC_UNUSED bool *bitmaps = NULL; in nbd_negotiate_meta_queries() local 1055 g_free(meta->bitmaps); in nbd_negotiate_meta_queries() 1070 meta->bitmaps = g_new0(bool, meta->exp->nr_export_bitmaps); in nbd_negotiate_meta_queries() 1072 bitmaps = meta->bitmaps; in nbd_negotiate_meta_queries() 1088 memset(meta->bitmaps, 1, meta->exp->nr_export_bitmaps); in nbd_negotiate_meta_queries() 1123 if (!meta->bitmaps[i]) { in nbd_negotiate_meta_queries() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | dirty_log_perf_test.c | 143 unsigned long **bitmaps; in run_test() local 168 bitmaps = memstress_alloc_bitmaps(p->slots, pages_per_slot); in run_test() 238 memstress_get_dirty_log(vm, bitmaps, p->slots); in run_test() 247 memstress_clear_dirty_log(vm, bitmaps, p->slots, in run_test() 292 memstress_free_bitmaps(bitmaps, p->slots); in run_test()
|