Home
last modified time | relevance | path

Searched refs:bdrv_unref (Results 1 – 21 of 21) sorted by relevance

/qemu/tests/unit/
H A Dtest-bdrv-graph-mod.c148 bdrv_unref(filter); in test_update_perm_tree()
218 bdrv_unref(filter); in test_should_update_child()
219 bdrv_unref(bs); in test_should_update_child()
264 bdrv_unref(fl1); in test_parallel_exclusive_write()
265 bdrv_unref(fl2); in test_parallel_exclusive_write()
266 bdrv_unref(top); in test_parallel_exclusive_write()
406 bdrv_unref(top); in test_parallel_perm_update()
440 bdrv_unref(fl); in test_append_greedy_filter()
441 bdrv_unref(top); in test_append_greedy_filter()
H A Dtest-bdrv-drain.c199 bdrv_unref(bs); in test_setup()
420 bdrv_unref(bs); in test_nested()
466 bdrv_unref(bs_a); in test_graph_change_drain_all()
477 bdrv_unref(bs_b); in test_graph_change_drain_all()
609 bdrv_unref(bs); in test_iothread_common()
735 bdrv_unref(src); in test_blockjob_common_drain_node()
1079 bdrv_unref(bs); in do_test_delete_by_drain()
1329 bdrv_unref(a); in test_detach_indirect()
1330 bdrv_unref(b); in test_detach_indirect()
1331 bdrv_unref(c); in test_detach_indirect()
[all …]
H A Dtest-block-iothread.c494 bdrv_unref(bs); in test_sync_op()
596 bdrv_unref(bs); in test_attach_blockjob()
658 bdrv_unref(bs_b); in test_propagate_basic()
659 bdrv_unref(bs_a); in test_propagate_basic()
736 bdrv_unref(bs_c); in test_propagate_diamond()
737 bdrv_unref(bs_b); in test_propagate_diamond()
738 bdrv_unref(bs_a); in test_propagate_diamond()
808 bdrv_unref(src); in test_propagate_mirror()
809 bdrv_unref(target); in test_propagate_mirror()
841 bdrv_unref(bs); in test_attach_second_node()
[all …]
H A Dtest-blockjob-txn.c99 bdrv_unref(bs); /* referenced by job now */ in test_block_job_start()
H A Dtest-blockjob.c80 bdrv_unref(bs); in create_blk()
/qemu/migration/
H A Dchannel-block.c46 g_clear_pointer(&ioc->bs, bdrv_unref); in qio_channel_block_finalize()
152 g_clear_pointer(&bioc->bs, bdrv_unref); in qio_channel_block_close()
H A Dblock-dirty-bitmap.c475 bdrv_unref(dbms->bs); in dirty_bitmap_do_save_cleanup()
/qemu/block/
H A Dcommit.c110 bdrv_unref(s->commit_top_bs); in commit_abort()
111 bdrv_unref(top_bs); in commit_abort()
329 bdrv_unref(commit_top_bs); /* referenced by new parents or failed */ in commit_start()
591 bdrv_unref(commit_top_bs); in bdrv_commit()
H A Dcopy-on-read.c247 bdrv_unref(s->bottom_bs); in cor_close()
287 bdrv_unref(cor_filter_bs); in bdrv_cor_filter_drop()
H A Damend.c78 bdrv_unref(s->bs); in blockdev_amend_free()
H A Dmirror.c784 bdrv_unref(s->to_replace); in mirror_exit_common()
803 bdrv_unref(target_bs); in mirror_exit_common()
810 bdrv_unref(mirror_top_bs); in mirror_exit_common()
811 bdrv_unref(src); in mirror_exit_common()
1791 bdrv_unref(mirror_top_bs); in mirror_start_job()
1806 bdrv_unref(mirror_top_bs); in mirror_start_job()
2002 bdrv_unref(mirror_top_bs); in mirror_start_job()
H A Dblock-backend.c468 bdrv_unref(bs); in blk_new_open()
622 bdrv_unref(old_bs); in bdrv_next()
640 bdrv_unref(old_bs); in bdrv_next()
666 bdrv_unref(it->bs); in bdrv_next_cleanup()
888 bdrv_unref(bs); in blk_remove_bs()
2078 bdrv_unref(bs); in blk_drain()
2454 bdrv_unref(bs); in blk_set_aio_context()
2752 bdrv_unref(bs); in blk_io_limits_disable()
H A Dsnapshot.c302 bdrv_unref(fallback_bs); in bdrv_snapshot_goto()
319 bdrv_unref(fallback_bs); in bdrv_snapshot_goto()
H A Dstream.c128 bdrv_unref(unfiltered_bs_cow); in stream_prepare()
H A Dqapi-sysemu.c397 bdrv_unref(medium_bs); in qmp_blockdev_change_medium()
H A Dcopy-before-write.c582 bdrv_unref(bs); in bdrv_cbw_drop()
/qemu/
H A Dblockdev.c688 bdrv_unref(bs); in blockdev_close_all_bdrv_states()
1552 bdrv_unref(state->old_bs); /* bdrv_replace_node() ref'ed old_bs */ in external_snapshot_abort()
1566 bdrv_unref(state->new_bs); in external_snapshot_clean()
1713 bdrv_unref(target_bs); in drive_backup_action()
1728 bdrv_unref(target_bs); in drive_backup_action()
3033 bdrv_unref(target_bs); in qmp_drive_mirror()
3051 bdrv_unref(target_bs); in qmp_drive_mirror()
3452 bdrv_unref(bs); in qmp_blockdev_del()
H A Dblock.c1765 bdrv_unref(bs); in bdrv_new_open_driver_opts()
2447 bdrv_unref(new_bs); in bdrv_replace_child_abort()
3572 bdrv_unref(drain_bs); in bdrv_set_backing_hd()
3683 bdrv_unref(backing_hd); in bdrv_open_backing_file()
4196 bdrv_unref(bs); in bdrv_open_inherit()
4210 bdrv_unref(bs); in bdrv_open_inherit()
4215 bdrv_unref(bs); in bdrv_open_inherit()
5509 bdrv_unref(old_bs); in bdrv_replace_child_bs()
5593 bdrv_unref(bs); in bdrv_insert_node()
5927 bdrv_unref(top); in bdrv_drop_intermediate()
[all …]
H A Dqemu-nbd.c1131 bdrv_unref(bs); in main()
H A Dqemu-img.c1122 bdrv_unref(bs); in img_commit()
/qemu/include/block/
H A Dblock-global-state.h238 void no_coroutine_fn bdrv_unref(BlockDriverState *bs);