Lines Matching refs:BlockDriverState
77 BlockDriverState *bs;
213 BlockDriverState *bs, Error **errp);
218 void GRAPH_RDLOCK_PTR (*bdrv_amend_clean)(BlockDriverState *bs);
226 BlockDriverState *bs, BlockDriverState *to_replace);
249 BlockDriverState *bs, QDict *options, int flags, Error **errp);
251 void (*bdrv_close)(BlockDriverState *bs);
260 BlockDriverState *bs, QemuOpts *opts,
264 int GRAPH_RDLOCK_PTR (*bdrv_make_empty)(BlockDriverState *bs);
270 void GRAPH_RDLOCK_PTR (*bdrv_refresh_filename)(BlockDriverState *bs);
294 BlockDriverState *bs, QDict *target, bool backing_overridden);
301 char * GRAPH_RDLOCK_PTR (*bdrv_dirname)(BlockDriverState *bs, Error **errp);
310 void GRAPH_RDLOCK_PTR (*bdrv_cancel_in_flight)(BlockDriverState *bs);
312 int GRAPH_RDLOCK_PTR (*bdrv_inactivate)(BlockDriverState *bs);
315 BlockDriverState *bs, QEMUSnapshotInfo *sn_info);
318 BlockDriverState *bs, const char *snapshot_id);
321 BlockDriverState *bs, const char *snapshot_id, const char *name,
325 BlockDriverState *bs, QEMUSnapshotInfo **psn_info);
328 BlockDriverState *bs, const char *snapshot_id, const char *name,
332 BlockDriverState *bs, const char *backing_file,
336 int (*bdrv_debug_breakpoint)(BlockDriverState *bs, const char *event,
338 int (*bdrv_debug_remove_breakpoint)(BlockDriverState *bs,
340 int (*bdrv_debug_resume)(BlockDriverState *bs, const char *tag);
341 bool (*bdrv_debug_is_suspended)(BlockDriverState *bs, const char *tag);
344 BlockDriverState *bs, Error **errp);
350 int GRAPH_RDLOCK_PTR (*bdrv_has_zero_init)(BlockDriverState *bs);
357 void (*bdrv_detach_aio_context)(BlockDriverState *bs);
364 void (*bdrv_attach_aio_context)(BlockDriverState *bs,
379 void (*bdrv_drain_begin)(BlockDriverState *bs);
380 void (*bdrv_drain_end)(BlockDriverState *bs);
388 BlockDriverState *bs, BlockSizes *bsz);
397 BlockDriverState *bs, HDGeometry *geo);
400 BlockDriverState *parent, BlockDriverState *child, Error **errp);
403 BlockDriverState *parent, BdrvChild *child, Error **errp);
420 int GRAPH_RDLOCK_PTR (*bdrv_check_perm)(BlockDriverState *bs, uint64_t perm,
434 BlockDriverState *bs, uint64_t perm, uint64_t shared);
444 void GRAPH_RDLOCK_PTR (*bdrv_abort_perm_update)(BlockDriverState *bs);
459 BlockDriverState *bs, BdrvChild *c, BdrvChildRole role,
474 BlockDriverState *bs, void *host, size_t size, Error **errp);
476 BlockDriverState *bs, void *host, size_t size);
494 BlockDriverState *bs, BlockdevAmendOptions *opts, bool force,
498 BlockAIOCB * GRAPH_RDLOCK_PTR (*bdrv_aio_preadv)(BlockDriverState *bs,
502 BlockAIOCB * GRAPH_RDLOCK_PTR (*bdrv_aio_pwritev)(BlockDriverState *bs,
507 BlockDriverState *bs, BlockCompletionFunc *cb, void *opaque);
510 BlockDriverState *bs, int64_t offset, int bytes,
513 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_readv)(BlockDriverState *bs,
531 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv)(BlockDriverState *bs,
536 BlockDriverState *bs, int64_t offset, int64_t bytes,
540 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_writev)(BlockDriverState *bs,
559 BlockDriverState *bs, int64_t offset, int64_t bytes, QEMUIOVector *qiov,
562 BlockDriverState *bs, int64_t offset, int64_t bytes, QEMUIOVector *qiov,
572 BlockDriverState *bs, int64_t offset, int64_t bytes,
576 BlockDriverState *bs, int64_t offset, int64_t bytes);
587 BlockDriverState *bs, BdrvChild *src, int64_t offset,
601 BlockDriverState *bs, BdrvChild *src, int64_t src_offset,
631 BlockDriverState *bs,
633 int64_t *map, BlockDriverState **file);
652 BlockDriverState *bs, int64_t offset, int64_t bytes,
656 BlockDriverState *bs, bool want_zero, int64_t offset, int64_t bytes,
657 int64_t *pnum, int64_t *map, BlockDriverState **file);
660 BlockDriverState *bs, int64_t offset, int64_t bytes);
666 BlockDriverState *bs, Error **errp);
673 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_flush)(BlockDriverState *bs);
677 BlockDriverState *bs, Error **errp);
684 BlockDriverState *bs);
692 BlockDriverState *bs);
708 BlockDriverState *bs, int64_t offset, bool exact,
712 BlockDriverState *bs);
715 BlockDriverState *bs);
717 BlockMeasureInfo *(*bdrv_measure)(QemuOpts *opts, BlockDriverState *in_bs,
721 BlockDriverState *bs, int64_t offset, int64_t bytes,
725 BlockDriverState *bs, int64_t offset, int64_t bytes,
729 BlockDriverState *bs, BlockDriverInfo *bdi);
732 BlockDriverState *bs, Error **errp);
733 BlockStatsSpecific *(*bdrv_get_specific_stats)(BlockDriverState *bs);
736 BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
739 BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
741 int coroutine_fn (*bdrv_co_zone_report)(BlockDriverState *bs,
744 int coroutine_fn (*bdrv_co_zone_mgmt)(BlockDriverState *bs, BlockZoneOp op,
746 int coroutine_fn (*bdrv_co_zone_append)(BlockDriverState *bs,
752 BlockDriverState *bs);
754 BlockDriverState *bs, bool eject_flag);
756 BlockDriverState *bs, bool locked);
760 BlockDriverState *bs, unsigned long int req, void *buf,
764 BlockDriverState *bs, unsigned long int req, void *buf);
771 BlockDriverState *bs, BdrvCheckResult *result, BdrvCheckMode fix);
774 BlockDriverState *bs, BlkdebugEvent event);
776 bool (*bdrv_supports_persistent_dirty_bitmap)(BlockDriverState *bs);
779 BlockDriverState *bs, const char *name, uint32_t granularity,
783 BlockDriverState *bs, const char *name, Error **errp);
984 int (*update_filename)(BdrvChild *child, BlockDriverState *new_base,
1015 BlockDriverState *bs;
1069 struct BlockDriverState { struct
1156 QTAILQ_ENTRY(BlockDriverState) node_list; argument
1158 QTAILQ_ENTRY(BlockDriverState) bs_list;
1160 QTAILQ_ENTRY(BlockDriverState) monitor_list;
1171 BlockDriverState *inherits_from; argument
1299 static inline BlockDriverState *child_bs(BdrvChild *child) in child_bs()