Lines Matching refs:BlockDriverState

72 static QTAILQ_HEAD(, BlockDriverState) graph_bdrv_states =
76 static QTAILQ_HEAD(, BlockDriverState) all_bdrv_states =
83 static BlockDriverState *bdrv_open_inherit(const char *filename,
86 BlockDriverState *parent,
91 static bool bdrv_recurse_has_child(BlockDriverState *bs,
92 BlockDriverState *child);
95 bdrv_replace_child_noperm(BdrvChild *child, BlockDriverState *new_bs);
106 static bool bdrv_backing_overridden(BlockDriverState *bs);
108 static bool bdrv_change_aio_context(BlockDriverState *bs, AioContext *ctx,
135 size_t bdrv_opt_mem_align(BlockDriverState *bs) in bdrv_opt_mem_align()
146 size_t bdrv_min_mem_align(BlockDriverState *bs) in bdrv_min_mem_align()
276 bool bdrv_is_read_only(BlockDriverState *bs) in bdrv_is_read_only()
283 bdrv_can_set_read_only(BlockDriverState *bs, bool read_only, in bdrv_can_set_read_only()
317 int bdrv_apply_auto_read_only(BlockDriverState *bs, const char *errmsg, in bdrv_apply_auto_read_only()
376 bdrv_make_absolute_filename(BlockDriverState *relative_to, in bdrv_make_absolute_filename()
397 char *bdrv_get_full_backing_filename(BlockDriverState *bs, Error **errp) in bdrv_get_full_backing_filename()
410 BlockDriverState *bdrv_new(void) in bdrv_new()
412 BlockDriverState *bs; in bdrv_new()
417 bs = g_new0(BlockDriverState, 1); in bdrv_new()
743 int coroutine_fn bdrv_co_delete_file(BlockDriverState *bs, Error **errp) in bdrv_co_delete_file()
771 void coroutine_fn bdrv_co_delete_file_noerr(BlockDriverState *bs) in bdrv_co_delete_file_noerr()
800 int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) in bdrv_probe_blocksizes()
803 BlockDriverState *filtered = bdrv_filter_bs(bs); in bdrv_probe_blocksizes()
821 int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo) in bdrv_probe_geometry()
824 BlockDriverState *filtered; in bdrv_probe_geometry()
1052 int coroutine_fn bdrv_co_refresh_total_sectors(BlockDriverState *bs, in bdrv_co_refresh_total_sectors()
1089 static void bdrv_join_options(BlockDriverState *bs, QDict *options, in bdrv_join_options()
1199 BlockDriverState *parent = c->opaque; in bdrv_child_get_parent_desc()
1205 BlockDriverState *bs = child->opaque; in bdrv_child_cb_drained_begin()
1211 BlockDriverState *bs = child->opaque; in bdrv_child_cb_drained_poll()
1217 BlockDriverState *bs = child->opaque; in bdrv_child_cb_drained_end()
1223 BlockDriverState *bs = child->opaque; in bdrv_child_cb_inactivate()
1233 BlockDriverState *bs = child->opaque; in bdrv_child_cb_change_aio_ctx()
1263 BlockDriverState *parent = c->opaque; in bdrv_backing_attach()
1264 BlockDriverState *backing_hd = c->bs; in bdrv_backing_attach()
1303 BlockDriverState *parent = c->opaque; in bdrv_backing_detach()
1312 static int bdrv_backing_update_filename(BdrvChild *c, BlockDriverState *base, in bdrv_backing_update_filename()
1317 BlockDriverState *parent = c->opaque; in bdrv_backing_update_filename()
1441 BlockDriverState *bs = child->opaque; in bdrv_child_cb_attach()
1483 BlockDriverState *bs = child->opaque; in bdrv_child_cb_detach()
1499 static int bdrv_child_cb_update_filename(BdrvChild *c, BlockDriverState *base, in bdrv_child_cb_update_filename()
1514 BlockDriverState *bs = c->opaque; in child_of_bds_get_parent_aio_context()
1541 static int bdrv_open_flags(BlockDriverState *bs, int flags) in bdrv_open_flags()
1597 static void bdrv_assign_node_name(BlockDriverState *bs, in bdrv_assign_node_name()
1642 bdrv_open_driver(BlockDriverState *bs, BlockDriver *drv, const char *node_name, in bdrv_open_driver()
1741 BlockDriverState *bdrv_new_open_driver_opts(BlockDriver *drv, in bdrv_new_open_driver_opts()
1746 BlockDriverState *bs; in bdrv_new_open_driver_opts()
1773 BlockDriverState *bdrv_new_open_driver(BlockDriver *drv, const char *node_name, in bdrv_new_open_driver()
1856 static int bdrv_open_common(BlockDriverState *bs, BlockBackend *file, in bdrv_open_common()
2159 static int bdrv_reopen_get_flags(BlockReopenQueue *q, BlockDriverState *bs) in bdrv_reopen_get_flags()
2176 static bool bdrv_is_writable_after_reopen(BlockDriverState *bs, in bdrv_is_writable_after_reopen()
2189 bool bdrv_is_writable(BlockDriverState *bs) in bdrv_is_writable()
2236 bdrv_parent_perms_conflict(BlockDriverState *bs, Error **errp) in bdrv_parent_perms_conflict()
2262 bdrv_child_perm(BlockDriverState *bs, BlockDriverState *child_bs, in bdrv_child_perm()
2291 bdrv_topological_dfs(GSList *list, GHashTable *found, BlockDriverState *bs) in bdrv_topological_dfs()
2356 BlockDriverState *bs = opaque; in bdrv_drv_set_perm_commit()
2369 BlockDriverState *bs = opaque; in bdrv_drv_set_perm_abort()
2387 bdrv_drv_set_perm(BlockDriverState *bs, uint64_t perm, uint64_t shared_perm, in bdrv_drv_set_perm()
2411 BlockDriverState *old_bs;
2425 BlockDriverState *new_bs = s->child->bs; in bdrv_replace_child_abort()
2470 bdrv_replace_child_tran(BdrvChild *child, BlockDriverState *new_bs, in bdrv_replace_child_tran()
2500 bdrv_node_refresh_perm(BlockDriverState *bs, BlockReopenQueue *q, in bdrv_node_refresh_perm()
2583 BlockDriverState *bs; in bdrv_do_refresh_perms()
2624 void bdrv_get_cumulative_perm(BlockDriverState *bs, uint64_t *perm, in bdrv_get_cumulative_perm()
2678 bdrv_refresh_perms(BlockDriverState *bs, Transaction *tran, Error **errp) in bdrv_refresh_perms()
2732 int bdrv_child_refresh_perms(BlockDriverState *bs, BdrvChild *c, Error **errp) in bdrv_child_refresh_perms()
2751 static void bdrv_filter_default_perms(BlockDriverState *bs, BdrvChild *c, in bdrv_filter_default_perms()
2762 static void bdrv_default_perms_for_cow(BlockDriverState *bs, BdrvChild *c, in bdrv_default_perms_for_cow()
2798 static void bdrv_default_perms_for_storage(BlockDriverState *bs, BdrvChild *c, in bdrv_default_perms_for_storage()
2878 void bdrv_default_perms(BlockDriverState *bs, BdrvChild *c, in bdrv_default_perms()
2925 bdrv_replace_child_noperm(BdrvChild *child, BlockDriverState *new_bs) in bdrv_replace_child_noperm()
2927 BlockDriverState *old_bs = child->bs; in bdrv_replace_child_noperm()
3014 BlockDriverState *bs = s->child->bs; in bdrv_attach_child_common_abort()
3066 bdrv_attach_child_common(BlockDriverState *child_bs, in bdrv_attach_child_common()
3169 bdrv_attach_child_noperm(BlockDriverState *parent_bs, in bdrv_attach_child_noperm()
3170 BlockDriverState *child_bs, in bdrv_attach_child_noperm()
3204 BdrvChild *bdrv_root_attach_child(BlockDriverState *child_bs, in bdrv_root_attach_child()
3243 BdrvChild *bdrv_attach_child(BlockDriverState *parent_bs, in bdrv_attach_child()
3244 BlockDriverState *child_bs, in bdrv_attach_child()
3279 BlockDriverState *child_bs = child->bs; in bdrv_root_unref_child()
3305 BlockDriverState *bs;
3306 BlockDriverState *old_inherits_from;
3322 static void bdrv_set_inherits_from(BlockDriverState *bs, in bdrv_set_inherits_from()
3323 BlockDriverState *new_inherits_from, in bdrv_set_inherits_from()
3346 bdrv_unset_inherits_from(BlockDriverState *root, BdrvChild *child, in bdrv_unset_inherits_from()
3372 void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child) in bdrv_unref_child()
3385 bdrv_parent_cb_change_media(BlockDriverState *bs, bool load) in bdrv_parent_cb_change_media()
3398 static bool bdrv_inherits_from_recursive(BlockDriverState *child, in bdrv_inherits_from_recursive()
3399 BlockDriverState *parent) in bdrv_inherits_from_recursive()
3413 static BdrvChildRole bdrv_backing_role(BlockDriverState *bs) in bdrv_backing_role()
3438 bdrv_set_file_or_backing_noperm(BlockDriverState *parent_bs, in bdrv_set_file_or_backing_noperm()
3439 BlockDriverState *child_bs, in bdrv_set_file_or_backing_noperm()
3531 int bdrv_set_backing_hd_drained(BlockDriverState *bs, in bdrv_set_backing_hd_drained()
3532 BlockDriverState *backing_hd, in bdrv_set_backing_hd_drained()
3555 int bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd, in bdrv_set_backing_hd()
3558 BlockDriverState *drain_bs; in bdrv_set_backing_hd()
3587 int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, in bdrv_open_backing_file()
3596 BlockDriverState *backing_hd; in bdrv_open_backing_file()
3697 static BlockDriverState *
3699 BlockDriverState *parent, const BdrvChildClass *child_class, in bdrv_open_child_bs()
3702 BlockDriverState *bs = NULL; in bdrv_open_child_bs()
3759 BlockDriverState *parent, in bdrv_open_child()
3764 BlockDriverState *bs; in bdrv_open_child()
3790 BlockDriverState *parent, Error **errp) in bdrv_open_file_child()
3812 BlockDriverState *bdrv_open_blockdev_ref(BlockdevRef *ref, Error **errp) in bdrv_open_blockdev_ref()
3814 BlockDriverState *bs = NULL; in bdrv_open_blockdev_ref()
3852 static BlockDriverState *bdrv_append_temp_snapshot(BlockDriverState *bs, in bdrv_append_temp_snapshot()
3861 BlockDriverState *bs_snapshot = NULL; in bdrv_append_temp_snapshot()
3931 static BlockDriverState * no_coroutine_fn
3933 int flags, BlockDriverState *parent, in bdrv_open_inherit()
3939 BlockDriverState *bs; in bdrv_open_inherit()
4075 BlockDriverState *file_bs; in bdrv_open_inherit()
4185 BlockDriverState *snapshot_bs; in bdrv_open_inherit()
4222 BlockDriverState *bdrv_open(const char *filename, const char *reference, in bdrv_open()
4254 static int bdrv_reset_options_allowed(BlockDriverState *bs, in bdrv_reset_options_allowed()
4282 bdrv_recurse_has_child(BlockDriverState *bs, BlockDriverState *child) in bdrv_recurse_has_child()
4324 bdrv_reopen_queue_child(BlockReopenQueue *bs_queue, BlockDriverState *bs, in bdrv_reopen_queue_child()
4482 BlockDriverState *bs, in bdrv_reopen_queue()
4598 BlockDriverState *bs = bs_entry->state.bs; in bdrv_reopen_multiple()
4625 int bdrv_reopen(BlockDriverState *bs, QDict *opts, bool keep_old_opts, in bdrv_reopen()
4637 int bdrv_reopen_set_read_only(BlockDriverState *bs, bool read_only, in bdrv_reopen_set_read_only()
4676 BlockDriverState *bs = reopen_state->bs; in bdrv_reopen_parse_file_or_backing()
4677 BlockDriverState *new_child_bs; in bdrv_reopen_parse_file_or_backing()
4678 BlockDriverState *old_child_bs; in bdrv_reopen_parse_file_or_backing()
5037 BlockDriverState *bs; in bdrv_reopen_commit()
5097 static void bdrv_close(BlockDriverState *bs) in bdrv_close()
5177 static bool GRAPH_RDLOCK should_update_child(BdrvChild *c, BlockDriverState *to) in should_update_child()
5232 BlockDriverState *v = g_queue_pop_head(queue); in should_update_child()
5296 bdrv_replace_node_noperm(BlockDriverState *from, in bdrv_replace_node_noperm()
5297 BlockDriverState *to, in bdrv_replace_node_noperm()
5343 bdrv_replace_node_common(BlockDriverState *from, BlockDriverState *to, in bdrv_replace_node_common()
5348 BlockDriverState *to_cow_parent = NULL; in bdrv_replace_node_common()
5399 int bdrv_replace_node(BlockDriverState *from, BlockDriverState *to, in bdrv_replace_node()
5405 int bdrv_drop_filter(BlockDriverState *bs, Error **errp) in bdrv_drop_filter()
5407 BlockDriverState *child_bs; in bdrv_drop_filter()
5437 int bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top, in bdrv_append()
5482 int bdrv_replace_child_bs(BdrvChild *child, BlockDriverState *new_bs, in bdrv_replace_child_bs()
5488 BlockDriverState *old_bs = child->bs; in bdrv_replace_child_bs()
5514 static void bdrv_delete(BlockDriverState *bs) in bdrv_delete()
5545 BlockDriverState *bdrv_insert_node(BlockDriverState *bs, QDict *options, in bdrv_insert_node()
5551 BlockDriverState *new_node_bs = NULL; in bdrv_insert_node()
5615 int coroutine_fn bdrv_co_check(BlockDriverState *bs, in bdrv_co_check()
5640 bdrv_co_change_backing_file(BlockDriverState *bs, const char *backing_file, in bdrv_co_change_backing_file()
5686 BlockDriverState *bdrv_find_overlay(BlockDriverState *active, in bdrv_find_overlay()
5687 BlockDriverState *bs) in bdrv_find_overlay()
5696 BlockDriverState *next = bdrv_backing_chain_next(active); in bdrv_find_overlay()
5707 BlockDriverState *bdrv_find_base(BlockDriverState *bs) in bdrv_find_base()
5720 bdrv_is_backing_chain_frozen(BlockDriverState *bs, BlockDriverState *base, in bdrv_is_backing_chain_frozen()
5723 BlockDriverState *i; in bdrv_is_backing_chain_frozen()
5748 int bdrv_freeze_backing_chain(BlockDriverState *bs, BlockDriverState *base, in bdrv_freeze_backing_chain()
5751 BlockDriverState *i; in bdrv_freeze_backing_chain()
5785 void bdrv_unfreeze_backing_chain(BlockDriverState *bs, BlockDriverState *base) in bdrv_unfreeze_backing_chain()
5787 BlockDriverState *i; in bdrv_unfreeze_backing_chain()
5830 int bdrv_drop_intermediate(BlockDriverState *top, BlockDriverState *base, in bdrv_drop_intermediate()
5834 BlockDriverState *explicit_top = top; in bdrv_drop_intermediate()
5937 bdrv_sum_allocated_file_size(BlockDriverState *bs) in bdrv_sum_allocated_file_size()
5961 int64_t coroutine_fn bdrv_co_get_allocated_file_size(BlockDriverState *bs) in bdrv_co_get_allocated_file_size()
6014 BlockDriverState *in_bs, Error **errp) in bdrv_measure()
6029 int64_t coroutine_fn bdrv_co_nb_sectors(BlockDriverState *bs) in bdrv_co_nb_sectors()
6051 int64_t coroutine_mixed_fn bdrv_nb_sectors(BlockDriverState *bs) in bdrv_nb_sectors()
6073 int64_t coroutine_fn bdrv_co_getlength(BlockDriverState *bs) in bdrv_co_getlength()
6089 bool bdrv_is_sg(BlockDriverState *bs) in bdrv_is_sg()
6098 bool bdrv_supports_compressed_writes(BlockDriverState *bs) in bdrv_supports_compressed_writes()
6100 BlockDriverState *filtered; in bdrv_supports_compressed_writes()
6119 const char *bdrv_get_format_name(BlockDriverState *bs) in bdrv_get_format_name()
6193 BlockDriverState *bdrv_find_node(const char *node_name) in bdrv_find_node()
6195 BlockDriverState *bs; in bdrv_find_node()
6213 BlockDriverState *bs; in bdrv_named_nodes_list()
6320 BlockDriverState *bs; in bdrv_get_xdbg_block_graph()
6365 BlockDriverState *bdrv_lookup_bs(const char *device, in bdrv_lookup_bs()
6370 BlockDriverState *bs; in bdrv_lookup_bs()
6403 bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base) in bdrv_chain_contains()
6415 BlockDriverState *bdrv_next_node(BlockDriverState *bs) in bdrv_next_node()
6424 BlockDriverState *bdrv_next_all_states(BlockDriverState *bs) in bdrv_next_all_states()
6433 const char *bdrv_get_node_name(const BlockDriverState *bs) in bdrv_get_node_name()
6439 const char *bdrv_get_parent_name(const BlockDriverState *bs) in bdrv_get_parent_name()
6459 const char *bdrv_get_device_name(const BlockDriverState *bs) in bdrv_get_device_name()
6469 const char *bdrv_get_device_or_node_name(const BlockDriverState *bs) in bdrv_get_device_or_node_name()
6475 int bdrv_get_flags(BlockDriverState *bs) in bdrv_get_flags()
6481 int bdrv_has_zero_init_1(BlockDriverState *bs) in bdrv_has_zero_init_1()
6487 int coroutine_mixed_fn bdrv_has_zero_init(BlockDriverState *bs) in bdrv_has_zero_init()
6489 BlockDriverState *filtered; in bdrv_has_zero_init()
6514 bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs) in bdrv_can_write_zeroes_with_unmap()
6524 void bdrv_get_backing_filename(BlockDriverState *bs, in bdrv_get_backing_filename()
6531 int coroutine_fn bdrv_co_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in bdrv_co_get_info()
6543 BlockDriverState *filtered = bdrv_filter_bs(bs); in bdrv_co_get_info()
6569 ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs, in bdrv_get_specific_info()
6580 BlockStatsSpecific *bdrv_get_specific_stats(BlockDriverState *bs) in bdrv_get_specific_stats()
6590 void coroutine_fn bdrv_co_debug_event(BlockDriverState *bs, BlkdebugEvent event) in bdrv_co_debug_event()
6602 static BlockDriverState * GRAPH_RDLOCK
6603 bdrv_find_debug_node(BlockDriverState *bs) in bdrv_find_debug_node()
6618 int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, in bdrv_debug_breakpoint()
6632 int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag) in bdrv_debug_remove_breakpoint()
6645 int bdrv_debug_resume(BlockDriverState *bs, const char *tag) in bdrv_debug_resume()
6661 bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag) in bdrv_debug_is_suspended()
6681 BlockDriverState *bdrv_find_backing_image(BlockDriverState *bs, in bdrv_find_backing_image()
6689 BlockDriverState *curr_bs = NULL; in bdrv_find_backing_image()
6690 BlockDriverState *retval = NULL; in bdrv_find_backing_image()
6691 BlockDriverState *bs_below; in bdrv_find_backing_image()
6806 int bdrv_activate(BlockDriverState *bs, Error **errp) in bdrv_activate()
6881 int coroutine_fn bdrv_co_invalidate_cache(BlockDriverState *bs, Error **errp) in bdrv_co_invalidate_cache()
6902 BlockDriverState *bs; in bdrv_activate_all()
6920 bdrv_has_bds_parent(BlockDriverState *bs, bool only_active) in bdrv_has_bds_parent()
6927 BlockDriverState *parent_bs = parent->opaque; in bdrv_has_bds_parent()
6937 static int GRAPH_RDLOCK bdrv_inactivate_recurse(BlockDriverState *bs) in bdrv_inactivate_recurse()
7003 BlockDriverState *bs = NULL; in bdrv_inactivate_all()
7033 bool coroutine_fn bdrv_co_is_inserted(BlockDriverState *bs) in bdrv_co_is_inserted()
7057 void coroutine_fn bdrv_co_eject(BlockDriverState *bs, bool eject_flag) in bdrv_co_eject()
7072 void coroutine_fn bdrv_co_lock_medium(BlockDriverState *bs, bool locked) in bdrv_co_lock_medium()
7085 void bdrv_ref(BlockDriverState *bs) in bdrv_ref()
7094 void bdrv_unref(BlockDriverState *bs) in bdrv_unref()
7108 BlockDriverState *bs = opaque; in bdrv_schedule_unref_bh()
7121 void bdrv_schedule_unref(BlockDriverState *bs) in bdrv_schedule_unref()
7134 bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp) in bdrv_op_is_blocked()
7150 void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason) in bdrv_op_block()
7161 void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason) in bdrv_op_unblock()
7174 void bdrv_op_block_all(BlockDriverState *bs, Error *reason) in bdrv_op_block_all()
7183 void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason) in bdrv_op_unblock_all()
7192 bool bdrv_op_blocker_is_empty(BlockDriverState *bs) in bdrv_op_blocker_is_empty()
7303 BlockDriverState *bs; in bdrv_img_create()
7401 AioContext *bdrv_get_aio_context(BlockDriverState *bs) in bdrv_get_aio_context()
7407 AioContext *coroutine_fn bdrv_co_enter(BlockDriverState *bs) in bdrv_co_enter()
7425 void coroutine_fn bdrv_co_leave(BlockDriverState *bs, AioContext *old_ctx) in bdrv_co_leave()
7439 static void bdrv_detach_aio_context(BlockDriverState *bs) in bdrv_detach_aio_context()
7465 static void bdrv_attach_aio_context(BlockDriverState *bs, in bdrv_attach_aio_context()
7491 BlockDriverState *bs;
7537 BlockDriverState *bs = (BlockDriverState *) state->bs; in bdrv_set_aio_context_clean()
7548 BlockDriverState *bs = (BlockDriverState *) state->bs; in bdrv_set_aio_context_commit()
7569 static bool bdrv_change_aio_context(BlockDriverState *bs, AioContext *ctx, in bdrv_change_aio_context()
7619 int bdrv_try_change_aio_context(BlockDriverState *bs, AioContext *ctx, in bdrv_try_change_aio_context()
7658 void bdrv_add_aio_context_notifier(BlockDriverState *bs, in bdrv_add_aio_context_notifier()
7673 void bdrv_remove_aio_context_notifier(BlockDriverState *bs, in bdrv_remove_aio_context_notifier()
7700 int bdrv_amend_options(BlockDriverState *bs, QemuOpts *opts, in bdrv_amend_options()
7731 bool bdrv_recurse_can_replace(BlockDriverState *bs, in bdrv_recurse_can_replace()
7732 BlockDriverState *to_replace) in bdrv_recurse_can_replace()
7734 BlockDriverState *filtered; in bdrv_recurse_can_replace()
7772 BlockDriverState *check_to_replace_node(BlockDriverState *parent_bs, in check_to_replace_node()
7775 BlockDriverState *to_replace_bs = bdrv_find_node(node_name); in check_to_replace_node()
7814 static const char *const *strong_options(BlockDriverState *bs, in strong_options()
7844 static bool append_strong_runtime_options(QDict *d, BlockDriverState *bs) in append_strong_runtime_options()
7899 static bool GRAPH_RDLOCK bdrv_backing_overridden(BlockDriverState *bs) in bdrv_backing_overridden()
7924 void bdrv_refresh_filename(BlockDriverState *bs) in bdrv_refresh_filename()
7928 BlockDriverState *primary_child_bs; in bdrv_refresh_filename()
8053 char *bdrv_dirname(BlockDriverState *bs, Error **errp) in bdrv_dirname()
8056 BlockDriverState *child_bs; in bdrv_dirname()
8088 void bdrv_add_child(BlockDriverState *parent_bs, BlockDriverState *child_bs, in bdrv_add_child()
8126 void bdrv_del_child(BlockDriverState *parent_bs, BdrvChild *child, Error **errp) in bdrv_del_child()
8181 BdrvChild *bdrv_cow_child(BlockDriverState *bs) in bdrv_cow_child()
8205 BdrvChild *bdrv_filter_child(BlockDriverState *bs) in bdrv_filter_child()
8236 BdrvChild *bdrv_filter_or_cow_child(BlockDriverState *bs) in bdrv_filter_or_cow_child()
8258 BdrvChild *bdrv_primary_child(BlockDriverState *bs) in bdrv_primary_child()
8273 static BlockDriverState * GRAPH_RDLOCK
8274 bdrv_do_skip_filters(BlockDriverState *bs, bool stop_on_explicit_filter) in bdrv_do_skip_filters()
8312 BlockDriverState *bdrv_skip_implicit_filters(BlockDriverState *bs) in bdrv_skip_implicit_filters()
8322 BlockDriverState *bdrv_skip_filters(BlockDriverState *bs) in bdrv_skip_filters()
8332 BlockDriverState *bdrv_backing_chain_next(BlockDriverState *bs) in bdrv_backing_chain_next()
8346 static bool bdrv_bsc_range_overlaps_locked(BlockDriverState *bs, in bdrv_bsc_range_overlaps_locked()
8368 bool bdrv_bsc_is_data(BlockDriverState *bs, int64_t offset, int64_t *pnum) in bdrv_bsc_is_data()
8378 void bdrv_bsc_invalidate_range(BlockDriverState *bs, in bdrv_bsc_invalidate_range()
8392 void bdrv_bsc_fill(BlockDriverState *bs, int64_t offset, int64_t bytes) in bdrv_bsc_fill()