Lines Matching defs: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);
407 BlockDriverState *parent, BlockDriverState *child, Error **errp);
417 BlockDriverState *parent, BdrvChild *child, Error **errp);
434 int GRAPH_RDLOCK_PTR (*bdrv_check_perm)(BlockDriverState *bs, uint64_t perm,
448 BlockDriverState *bs, uint64_t perm, uint64_t shared);
458 void GRAPH_RDLOCK_PTR (*bdrv_abort_perm_update)(BlockDriverState *bs);
473 BlockDriverState *bs, BdrvChild *c, BdrvChildRole role,
488 BlockDriverState *bs, void *host, size_t size, Error **errp);
490 BlockDriverState *bs, void *host, size_t size);
508 BlockDriverState *bs, BlockdevAmendOptions *opts, bool force,
512 BlockAIOCB * GRAPH_RDLOCK_PTR (*bdrv_aio_preadv)(BlockDriverState *bs,
516 BlockAIOCB * GRAPH_RDLOCK_PTR (*bdrv_aio_pwritev)(BlockDriverState *bs,
521 BlockDriverState *bs, BlockCompletionFunc *cb, void *opaque);
523 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_readv)(BlockDriverState *bs,
541 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv)(BlockDriverState *bs,
546 BlockDriverState *bs, int64_t offset, int64_t bytes,
550 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_writev)(BlockDriverState *bs,
569 BlockDriverState *bs, int64_t offset, int64_t bytes, QEMUIOVector *qiov,
572 BlockDriverState *bs, int64_t offset, int64_t bytes, QEMUIOVector *qiov,
582 BlockDriverState *bs, int64_t offset, int64_t bytes,
586 BlockDriverState *bs, int64_t offset, int64_t bytes);
597 BlockDriverState *bs, BdrvChild *src, int64_t offset,
611 BlockDriverState *bs, BdrvChild *src, int64_t src_offset,
642 BlockDriverState *bs, unsigned int mode,
644 int64_t *map, BlockDriverState **file);
663 BlockDriverState *bs, int64_t offset, int64_t bytes,
667 BlockDriverState *bs, unsigned int mode, int64_t offset,
668 int64_t bytes, int64_t *pnum, int64_t *map, BlockDriverState **file);
671 BlockDriverState *bs, int64_t offset, int64_t bytes);
677 BlockDriverState *bs, Error **errp);
684 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_flush)(BlockDriverState *bs);
688 BlockDriverState *bs, Error **errp);
695 BlockDriverState *bs);
703 BlockDriverState *bs);
719 BlockDriverState *bs, int64_t offset, bool exact,
723 BlockDriverState *bs);
726 BlockDriverState *bs);
728 BlockMeasureInfo *(*bdrv_measure)(QemuOpts *opts, BlockDriverState *in_bs,
732 BlockDriverState *bs, int64_t offset, int64_t bytes,
736 BlockDriverState *bs, int64_t offset, int64_t bytes,
740 BlockDriverState *bs, BlockDriverInfo *bdi);
743 BlockDriverState *bs, Error **errp);
744 BlockStatsSpecific *(*bdrv_get_specific_stats)(BlockDriverState *bs);
747 BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
750 BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
752 int coroutine_fn (*bdrv_co_zone_report)(BlockDriverState *bs,
755 int coroutine_fn (*bdrv_co_zone_mgmt)(BlockDriverState *bs, BlockZoneOp op,
757 int coroutine_fn (*bdrv_co_zone_append)(BlockDriverState *bs,
763 BlockDriverState *bs);
765 BlockDriverState *bs, bool eject_flag);
767 BlockDriverState *bs, bool locked);
771 BlockDriverState *bs, unsigned long int req, void *buf,
775 BlockDriverState *bs, unsigned long int req, void *buf);
782 BlockDriverState *bs, BdrvCheckResult *result, BdrvCheckMode fix);
785 BlockDriverState *bs, BlkdebugEvent event);
787 bool (*bdrv_supports_persistent_dirty_bitmap)(BlockDriverState *bs);
790 BlockDriverState *bs, const char *name, uint32_t granularity,
794 BlockDriverState *bs, const char *name, Error **errp);
932 * If true, the parent is a BlockDriverState and bdrv_next_all_states()
995 int (*update_filename)(BdrvChild *child, BlockDriverState *new_base,
1038 BlockDriverState *bs;
1092 struct BlockDriverState {
1179 QTAILQ_ENTRY(BlockDriverState) node_list;
1181 QTAILQ_ENTRY(BlockDriverState) bs_list;
1183 QTAILQ_ENTRY(BlockDriverState) monitor_list;
1194 BlockDriverState *inherits_from;
1322 static inline BlockDriverState *child_bs(BdrvChild *child)