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,
92 static bool bdrv_recurse_has_child(BlockDriverState *bs,
93 BlockDriverState *child);
96 bdrv_replace_child_noperm(BdrvChild *child, BlockDriverState *new_bs);
107 static bool bdrv_backing_overridden(BlockDriverState *bs);
109 static bool bdrv_change_aio_context(BlockDriverState *bs, AioContext *ctx,
136 size_t bdrv_opt_mem_align(BlockDriverState *bs) in bdrv_opt_mem_align()
147 size_t bdrv_min_mem_align(BlockDriverState *bs) in bdrv_min_mem_align()
277 bool bdrv_is_read_only(BlockDriverState *bs) in bdrv_is_read_only()
284 bdrv_can_set_read_only(BlockDriverState *bs, bool read_only, in bdrv_can_set_read_only()
318 int bdrv_apply_auto_read_only(BlockDriverState *bs, const char *errmsg, in bdrv_apply_auto_read_only()
377 bdrv_make_absolute_filename(BlockDriverState *relative_to, in bdrv_make_absolute_filename()
398 char *bdrv_get_full_backing_filename(BlockDriverState *bs, Error **errp) in bdrv_get_full_backing_filename()
411 BlockDriverState *bdrv_new(void) in bdrv_new()
413 BlockDriverState *bs; in bdrv_new()
418 bs = g_new0(BlockDriverState, 1); in bdrv_new()
744 int coroutine_fn bdrv_co_delete_file(BlockDriverState *bs, Error **errp) in bdrv_co_delete_file()
772 void coroutine_fn bdrv_co_delete_file_noerr(BlockDriverState *bs) in bdrv_co_delete_file_noerr()
801 int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) in bdrv_probe_blocksizes()
804 BlockDriverState *filtered = bdrv_filter_bs(bs); in bdrv_probe_blocksizes()
822 int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo) in bdrv_probe_geometry()
825 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()
1739 BlockDriverState *bdrv_new_open_driver_opts(BlockDriver *drv, in bdrv_new_open_driver_opts()
1744 BlockDriverState *bs; in bdrv_new_open_driver_opts()
1771 BlockDriverState *bdrv_new_open_driver(BlockDriver *drv, const char *node_name, in bdrv_new_open_driver()
1854 static int bdrv_open_common(BlockDriverState *bs, BlockBackend *file, in bdrv_open_common()
2158 static int bdrv_reopen_get_flags(BlockReopenQueue *q, BlockDriverState *bs) in bdrv_reopen_get_flags()
2175 static bool bdrv_is_writable_after_reopen(BlockDriverState *bs, in bdrv_is_writable_after_reopen()
2188 bool bdrv_is_writable(BlockDriverState *bs) in bdrv_is_writable()
2235 bdrv_parent_perms_conflict(BlockDriverState *bs, Error **errp) in bdrv_parent_perms_conflict()
2261 bdrv_child_perm(BlockDriverState *bs, BlockDriverState *child_bs, in bdrv_child_perm()
2290 bdrv_topological_dfs(GSList *list, GHashTable *found, BlockDriverState *bs) in bdrv_topological_dfs()
2355 BlockDriverState *bs = opaque; in bdrv_drv_set_perm_commit()
2368 BlockDriverState *bs = opaque; in bdrv_drv_set_perm_abort()
2386 bdrv_drv_set_perm(BlockDriverState *bs, uint64_t perm, uint64_t shared_perm, in bdrv_drv_set_perm()
2410 BlockDriverState *old_bs;
2424 BlockDriverState *new_bs = s->child->bs; in bdrv_replace_child_abort()
2469 bdrv_replace_child_tran(BdrvChild *child, BlockDriverState *new_bs, in bdrv_replace_child_tran()
2499 bdrv_node_refresh_perm(BlockDriverState *bs, BlockReopenQueue *q, in bdrv_node_refresh_perm()
2582 BlockDriverState *bs; in bdrv_do_refresh_perms()
2623 void bdrv_get_cumulative_perm(BlockDriverState *bs, uint64_t *perm, in bdrv_get_cumulative_perm()
2677 bdrv_refresh_perms(BlockDriverState *bs, Transaction *tran, Error **errp) in bdrv_refresh_perms()
2731 int bdrv_child_refresh_perms(BlockDriverState *bs, BdrvChild *c, Error **errp) in bdrv_child_refresh_perms()
2750 static void bdrv_filter_default_perms(BlockDriverState *bs, BdrvChild *c, in bdrv_filter_default_perms()
2761 static void bdrv_default_perms_for_cow(BlockDriverState *bs, BdrvChild *c, in bdrv_default_perms_for_cow()
2797 static void bdrv_default_perms_for_storage(BlockDriverState *bs, BdrvChild *c, in bdrv_default_perms_for_storage()
2877 void bdrv_default_perms(BlockDriverState *bs, BdrvChild *c, in bdrv_default_perms()
2924 bdrv_replace_child_noperm(BdrvChild *child, BlockDriverState *new_bs) in bdrv_replace_child_noperm()
2926 BlockDriverState *old_bs = child->bs; in bdrv_replace_child_noperm()
3013 BlockDriverState *bs = s->child->bs; in bdrv_attach_child_common_abort()
3065 bdrv_attach_child_common(BlockDriverState *child_bs, in bdrv_attach_child_common()
3168 bdrv_attach_child_noperm(BlockDriverState *parent_bs, in bdrv_attach_child_noperm()
3169 BlockDriverState *child_bs, in bdrv_attach_child_noperm()
3203 BdrvChild *bdrv_root_attach_child(BlockDriverState *child_bs, in bdrv_root_attach_child()
3242 BdrvChild *bdrv_attach_child(BlockDriverState *parent_bs, in bdrv_attach_child()
3243 BlockDriverState *child_bs, in bdrv_attach_child()
3278 BlockDriverState *child_bs = child->bs; in bdrv_root_unref_child()
3304 BlockDriverState *bs;
3305 BlockDriverState *old_inherits_from;
3321 static void bdrv_set_inherits_from(BlockDriverState *bs, in bdrv_set_inherits_from()
3322 BlockDriverState *new_inherits_from, in bdrv_set_inherits_from()
3345 bdrv_unset_inherits_from(BlockDriverState *root, BdrvChild *child, in bdrv_unset_inherits_from()
3371 void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child) in bdrv_unref_child()
3384 bdrv_parent_cb_change_media(BlockDriverState *bs, bool load) in bdrv_parent_cb_change_media()
3397 static bool bdrv_inherits_from_recursive(BlockDriverState *child, in bdrv_inherits_from_recursive()
3398 BlockDriverState *parent) in bdrv_inherits_from_recursive()
3412 static BdrvChildRole bdrv_backing_role(BlockDriverState *bs) in bdrv_backing_role()
3437 bdrv_set_file_or_backing_noperm(BlockDriverState *parent_bs, in bdrv_set_file_or_backing_noperm()
3438 BlockDriverState *child_bs, in bdrv_set_file_or_backing_noperm()
3530 int bdrv_set_backing_hd_drained(BlockDriverState *bs, in bdrv_set_backing_hd_drained()
3531 BlockDriverState *backing_hd, in bdrv_set_backing_hd_drained()
3554 int bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd, in bdrv_set_backing_hd()
3557 BlockDriverState *drain_bs; in bdrv_set_backing_hd()
3586 int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, in bdrv_open_backing_file()
3595 BlockDriverState *backing_hd; in bdrv_open_backing_file()
3697 static BlockDriverState *
3699 BlockDriverState *parent, const BdrvChildClass *child_class, in bdrv_open_child_bs()
3703 BlockDriverState *bs = NULL; in bdrv_open_child_bs()
3745 BlockDriverState *parent, in bdrv_open_child_common()
3751 BlockDriverState *bs; in bdrv_open_child_common()
3788 BlockDriverState *parent, in bdrv_open_child()
3807 BlockDriverState *parent, Error **errp) in bdrv_open_file_child()
3829 BlockDriverState *bdrv_open_blockdev_ref(BlockdevRef *ref, Error **errp) in bdrv_open_blockdev_ref()
3831 BlockDriverState *bs = NULL; in bdrv_open_blockdev_ref()
3870 static BlockDriverState *bdrv_append_temp_snapshot(BlockDriverState *bs, in bdrv_append_temp_snapshot()
3879 BlockDriverState *bs_snapshot = NULL; in bdrv_append_temp_snapshot()
3949 static BlockDriverState * no_coroutine_fn
3951 int flags, BlockDriverState *parent, in bdrv_open_inherit()
3957 BlockDriverState *bs; in bdrv_open_inherit()
4096 BlockDriverState *file_bs; in bdrv_open_inherit()
4206 BlockDriverState *snapshot_bs; in bdrv_open_inherit()
4243 BlockDriverState *bdrv_open(const char *filename, const char *reference, in bdrv_open()
4275 static int bdrv_reset_options_allowed(BlockDriverState *bs, in bdrv_reset_options_allowed()
4303 bdrv_recurse_has_child(BlockDriverState *bs, BlockDriverState *child) in bdrv_recurse_has_child()
4345 bdrv_reopen_queue_child(BlockReopenQueue *bs_queue, BlockDriverState *bs, in bdrv_reopen_queue_child()
4503 BlockDriverState *bs, in bdrv_reopen_queue()
4619 BlockDriverState *bs = bs_entry->state.bs; in bdrv_reopen_multiple()
4646 int bdrv_reopen(BlockDriverState *bs, QDict *opts, bool keep_old_opts, in bdrv_reopen()
4658 int bdrv_reopen_set_read_only(BlockDriverState *bs, bool read_only, in bdrv_reopen_set_read_only()
4697 BlockDriverState *bs = reopen_state->bs; in bdrv_reopen_parse_file_or_backing()
4698 BlockDriverState *new_child_bs; in bdrv_reopen_parse_file_or_backing()
4699 BlockDriverState *old_child_bs; in bdrv_reopen_parse_file_or_backing()
5058 BlockDriverState *bs; in bdrv_reopen_commit()
5118 static void bdrv_close(BlockDriverState *bs) in bdrv_close()
5198 static bool GRAPH_RDLOCK should_update_child(BdrvChild *c, BlockDriverState *to) in should_update_child()
5253 BlockDriverState *v = g_queue_pop_head(queue); in should_update_child()
5317 bdrv_replace_node_noperm(BlockDriverState *from, in bdrv_replace_node_noperm()
5318 BlockDriverState *to, in bdrv_replace_node_noperm()
5364 bdrv_replace_node_common(BlockDriverState *from, BlockDriverState *to, in bdrv_replace_node_common()
5369 BlockDriverState *to_cow_parent = NULL; in bdrv_replace_node_common()
5420 int bdrv_replace_node(BlockDriverState *from, BlockDriverState *to, in bdrv_replace_node()
5426 int bdrv_drop_filter(BlockDriverState *bs, Error **errp) in bdrv_drop_filter()
5428 BlockDriverState *child_bs; in bdrv_drop_filter()
5458 int bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top, in bdrv_append()
5503 int bdrv_replace_child_bs(BdrvChild *child, BlockDriverState *new_bs, in bdrv_replace_child_bs()
5509 BlockDriverState *old_bs = child->bs; in bdrv_replace_child_bs()
5535 static void bdrv_delete(BlockDriverState *bs) in bdrv_delete()
5566 BlockDriverState *bdrv_insert_node(BlockDriverState *bs, QDict *options, in bdrv_insert_node()
5572 BlockDriverState *new_node_bs = NULL; in bdrv_insert_node()
5636 int coroutine_fn bdrv_co_check(BlockDriverState *bs, in bdrv_co_check()
5661 bdrv_co_change_backing_file(BlockDriverState *bs, const char *backing_file, in bdrv_co_change_backing_file()
5707 BlockDriverState *bdrv_find_overlay(BlockDriverState *active, in bdrv_find_overlay()
5708 BlockDriverState *bs) in bdrv_find_overlay()
5717 BlockDriverState *next = bdrv_backing_chain_next(active); in bdrv_find_overlay()
5728 BlockDriverState *bdrv_find_base(BlockDriverState *bs) in bdrv_find_base()
5741 bdrv_is_backing_chain_frozen(BlockDriverState *bs, BlockDriverState *base, in bdrv_is_backing_chain_frozen()
5744 BlockDriverState *i; in bdrv_is_backing_chain_frozen()
5769 int bdrv_freeze_backing_chain(BlockDriverState *bs, BlockDriverState *base, in bdrv_freeze_backing_chain()
5772 BlockDriverState *i; in bdrv_freeze_backing_chain()
5806 void bdrv_unfreeze_backing_chain(BlockDriverState *bs, BlockDriverState *base) in bdrv_unfreeze_backing_chain()
5808 BlockDriverState *i; in bdrv_unfreeze_backing_chain()
5851 int bdrv_drop_intermediate(BlockDriverState *top, BlockDriverState *base, in bdrv_drop_intermediate()
5855 BlockDriverState *explicit_top = top; in bdrv_drop_intermediate()
5958 bdrv_sum_allocated_file_size(BlockDriverState *bs) in bdrv_sum_allocated_file_size()
5982 int64_t coroutine_fn bdrv_co_get_allocated_file_size(BlockDriverState *bs) in bdrv_co_get_allocated_file_size()
6035 BlockDriverState *in_bs, Error **errp) in bdrv_measure()
6050 int64_t coroutine_fn bdrv_co_nb_sectors(BlockDriverState *bs) in bdrv_co_nb_sectors()
6072 int64_t coroutine_mixed_fn bdrv_nb_sectors(BlockDriverState *bs) in bdrv_nb_sectors()
6094 int64_t coroutine_fn bdrv_co_getlength(BlockDriverState *bs) in bdrv_co_getlength()
6110 bool bdrv_is_sg(BlockDriverState *bs) in bdrv_is_sg()
6119 bool bdrv_supports_compressed_writes(BlockDriverState *bs) in bdrv_supports_compressed_writes()
6121 BlockDriverState *filtered; in bdrv_supports_compressed_writes()
6140 const char *bdrv_get_format_name(BlockDriverState *bs) in bdrv_get_format_name()
6214 BlockDriverState *bdrv_find_node(const char *node_name) in bdrv_find_node()
6216 BlockDriverState *bs; in bdrv_find_node()
6234 BlockDriverState *bs; in bdrv_named_nodes_list()
6341 BlockDriverState *bs; in bdrv_get_xdbg_block_graph()
6386 BlockDriverState *bdrv_lookup_bs(const char *device, in bdrv_lookup_bs()
6391 BlockDriverState *bs; in bdrv_lookup_bs()
6424 bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base) in bdrv_chain_contains()
6436 BlockDriverState *bdrv_next_node(BlockDriverState *bs) in bdrv_next_node()
6445 BlockDriverState *bdrv_next_all_states(BlockDriverState *bs) in bdrv_next_all_states()
6454 const char *bdrv_get_node_name(const BlockDriverState *bs) in bdrv_get_node_name()
6460 const char *bdrv_get_parent_name(const BlockDriverState *bs) in bdrv_get_parent_name()
6480 const char *bdrv_get_device_name(const BlockDriverState *bs) in bdrv_get_device_name()
6490 const char *bdrv_get_device_or_node_name(const BlockDriverState *bs) in bdrv_get_device_or_node_name()
6496 int bdrv_get_flags(BlockDriverState *bs) in bdrv_get_flags()
6502 int bdrv_has_zero_init_1(BlockDriverState *bs) in bdrv_has_zero_init_1()
6508 int coroutine_mixed_fn bdrv_has_zero_init(BlockDriverState *bs) in bdrv_has_zero_init()
6510 BlockDriverState *filtered; in bdrv_has_zero_init()
6535 bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs) in bdrv_can_write_zeroes_with_unmap()
6545 void bdrv_get_backing_filename(BlockDriverState *bs, in bdrv_get_backing_filename()
6552 int coroutine_fn bdrv_co_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in bdrv_co_get_info()
6564 BlockDriverState *filtered = bdrv_filter_bs(bs); in bdrv_co_get_info()
6590 ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs, in bdrv_get_specific_info()
6601 BlockStatsSpecific *bdrv_get_specific_stats(BlockDriverState *bs) in bdrv_get_specific_stats()
6611 void coroutine_fn bdrv_co_debug_event(BlockDriverState *bs, BlkdebugEvent event) in bdrv_co_debug_event()
6623 static BlockDriverState * GRAPH_RDLOCK
6624 bdrv_find_debug_node(BlockDriverState *bs) in bdrv_find_debug_node()
6639 int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, in bdrv_debug_breakpoint()
6653 int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag) in bdrv_debug_remove_breakpoint()
6666 int bdrv_debug_resume(BlockDriverState *bs, const char *tag) in bdrv_debug_resume()
6682 bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag) in bdrv_debug_is_suspended()
6702 BlockDriverState *bdrv_find_backing_image(BlockDriverState *bs, in bdrv_find_backing_image()
6710 BlockDriverState *curr_bs = NULL; in bdrv_find_backing_image()
6711 BlockDriverState *retval = NULL; in bdrv_find_backing_image()
6712 BlockDriverState *bs_below; in bdrv_find_backing_image()
6827 int bdrv_activate(BlockDriverState *bs, Error **errp) in bdrv_activate()
6902 int coroutine_fn bdrv_co_invalidate_cache(BlockDriverState *bs, Error **errp) in bdrv_co_invalidate_cache()
6923 BlockDriverState *bs; in bdrv_activate_all()
6941 bdrv_has_bds_parent(BlockDriverState *bs, bool only_active) in bdrv_has_bds_parent()
6948 BlockDriverState *parent_bs = parent->opaque; in bdrv_has_bds_parent()
6958 static int GRAPH_RDLOCK bdrv_inactivate_recurse(BlockDriverState *bs) in bdrv_inactivate_recurse()
7024 BlockDriverState *bs = NULL; in bdrv_inactivate_all()
7054 bool coroutine_fn bdrv_co_is_inserted(BlockDriverState *bs) in bdrv_co_is_inserted()
7078 void coroutine_fn bdrv_co_eject(BlockDriverState *bs, bool eject_flag) in bdrv_co_eject()
7093 void coroutine_fn bdrv_co_lock_medium(BlockDriverState *bs, bool locked) in bdrv_co_lock_medium()
7106 void bdrv_ref(BlockDriverState *bs) in bdrv_ref()
7115 void bdrv_unref(BlockDriverState *bs) in bdrv_unref()
7129 BlockDriverState *bs = opaque; in bdrv_schedule_unref_bh()
7142 void bdrv_schedule_unref(BlockDriverState *bs) in bdrv_schedule_unref()
7155 bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp) in bdrv_op_is_blocked()
7171 void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason) in bdrv_op_block()
7182 void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason) in bdrv_op_unblock()
7195 void bdrv_op_block_all(BlockDriverState *bs, Error *reason) in bdrv_op_block_all()
7204 void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason) in bdrv_op_unblock_all()
7213 bool bdrv_op_blocker_is_empty(BlockDriverState *bs) in bdrv_op_blocker_is_empty()
7324 BlockDriverState *bs; in bdrv_img_create()
7422 AioContext *bdrv_get_aio_context(BlockDriverState *bs) in bdrv_get_aio_context()
7428 AioContext *coroutine_fn bdrv_co_enter(BlockDriverState *bs) in bdrv_co_enter()
7446 void coroutine_fn bdrv_co_leave(BlockDriverState *bs, AioContext *old_ctx) in bdrv_co_leave()
7460 static void bdrv_detach_aio_context(BlockDriverState *bs) in bdrv_detach_aio_context()
7486 static void bdrv_attach_aio_context(BlockDriverState *bs, in bdrv_attach_aio_context()
7512 BlockDriverState *bs;
7558 BlockDriverState *bs = (BlockDriverState *) state->bs; in bdrv_set_aio_context_clean()
7569 BlockDriverState *bs = (BlockDriverState *) state->bs; in bdrv_set_aio_context_commit()
7590 static bool bdrv_change_aio_context(BlockDriverState *bs, AioContext *ctx, in bdrv_change_aio_context()
7640 int bdrv_try_change_aio_context(BlockDriverState *bs, AioContext *ctx, in bdrv_try_change_aio_context()
7679 void bdrv_add_aio_context_notifier(BlockDriverState *bs, in bdrv_add_aio_context_notifier()
7694 void bdrv_remove_aio_context_notifier(BlockDriverState *bs, in bdrv_remove_aio_context_notifier()
7721 int bdrv_amend_options(BlockDriverState *bs, QemuOpts *opts, in bdrv_amend_options()
7752 bool bdrv_recurse_can_replace(BlockDriverState *bs, in bdrv_recurse_can_replace()
7753 BlockDriverState *to_replace) in bdrv_recurse_can_replace()
7755 BlockDriverState *filtered; in bdrv_recurse_can_replace()
7793 BlockDriverState *check_to_replace_node(BlockDriverState *parent_bs, in check_to_replace_node()
7796 BlockDriverState *to_replace_bs = bdrv_find_node(node_name); in check_to_replace_node()
7835 static const char *const *strong_options(BlockDriverState *bs, in strong_options()
7865 static bool append_strong_runtime_options(QDict *d, BlockDriverState *bs) in append_strong_runtime_options()
7920 static bool GRAPH_RDLOCK bdrv_backing_overridden(BlockDriverState *bs) in bdrv_backing_overridden()
7945 void bdrv_refresh_filename(BlockDriverState *bs) in bdrv_refresh_filename()
7949 BlockDriverState *primary_child_bs; in bdrv_refresh_filename()
8074 char *bdrv_dirname(BlockDriverState *bs, Error **errp) in bdrv_dirname()
8077 BlockDriverState *child_bs; in bdrv_dirname()
8109 void bdrv_add_child(BlockDriverState *parent_bs, BlockDriverState *child_bs, in bdrv_add_child()
8147 void bdrv_del_child(BlockDriverState *parent_bs, BdrvChild *child, Error **errp) in bdrv_del_child()
8202 BdrvChild *bdrv_cow_child(BlockDriverState *bs) in bdrv_cow_child()
8226 BdrvChild *bdrv_filter_child(BlockDriverState *bs) in bdrv_filter_child()
8257 BdrvChild *bdrv_filter_or_cow_child(BlockDriverState *bs) in bdrv_filter_or_cow_child()
8279 BdrvChild *bdrv_primary_child(BlockDriverState *bs) in bdrv_primary_child()
8294 static BlockDriverState * GRAPH_RDLOCK
8295 bdrv_do_skip_filters(BlockDriverState *bs, bool stop_on_explicit_filter) in bdrv_do_skip_filters()
8333 BlockDriverState *bdrv_skip_implicit_filters(BlockDriverState *bs) in bdrv_skip_implicit_filters()
8343 BlockDriverState *bdrv_skip_filters(BlockDriverState *bs) in bdrv_skip_filters()
8353 BlockDriverState *bdrv_backing_chain_next(BlockDriverState *bs) in bdrv_backing_chain_next()
8367 static bool bdrv_bsc_range_overlaps_locked(BlockDriverState *bs, in bdrv_bsc_range_overlaps_locked()
8389 bool bdrv_bsc_is_data(BlockDriverState *bs, int64_t offset, int64_t *pnum) in bdrv_bsc_is_data()
8399 void bdrv_bsc_invalidate_range(BlockDriverState *bs, in bdrv_bsc_invalidate_range()
8413 void bdrv_bsc_fill(BlockDriverState *bs, int64_t offset, int64_t bytes) in bdrv_bsc_fill()