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);
253 BlockDriverState *bs, QDict *options, int flags, Error **errp);
254 void (*bdrv_close)(BlockDriverState *bs);
263 BlockDriverState *bs, QemuOpts *opts,
267 int GRAPH_RDLOCK_PTR (*bdrv_make_empty)(BlockDriverState *bs);
273 void GRAPH_RDLOCK_PTR (*bdrv_refresh_filename)(BlockDriverState *bs);
297 BlockDriverState *bs, QDict *target, bool backing_overridden);
304 char * GRAPH_RDLOCK_PTR (*bdrv_dirname)(BlockDriverState *bs, Error **errp);
313 void GRAPH_RDLOCK_PTR (*bdrv_cancel_in_flight)(BlockDriverState *bs);
315 int GRAPH_RDLOCK_PTR (*bdrv_inactivate)(BlockDriverState *bs);
318 BlockDriverState *bs, QEMUSnapshotInfo *sn_info);
321 BlockDriverState *bs, const char *snapshot_id);
324 BlockDriverState *bs, const char *snapshot_id, const char *name,
328 BlockDriverState *bs, QEMUSnapshotInfo **psn_info);
331 BlockDriverState *bs, const char *snapshot_id, const char *name,
335 BlockDriverState *bs, const char *backing_file,
339 int (*bdrv_debug_breakpoint)(BlockDriverState *bs, const char *event,
341 int (*bdrv_debug_remove_breakpoint)(BlockDriverState *bs,
343 int (*bdrv_debug_resume)(BlockDriverState *bs, const char *tag);
344 bool (*bdrv_debug_is_suspended)(BlockDriverState *bs, const char *tag);
347 BlockDriverState *bs, Error **errp);
353 int GRAPH_RDLOCK_PTR (*bdrv_has_zero_init)(BlockDriverState *bs);
360 void (*bdrv_detach_aio_context)(BlockDriverState *bs);
367 void (*bdrv_attach_aio_context)(BlockDriverState *bs,
382 void (*bdrv_drain_begin)(BlockDriverState *bs);
383 void (*bdrv_drain_end)(BlockDriverState *bs);
391 BlockDriverState *bs, BlockSizes *bsz);
400 BlockDriverState *bs, HDGeometry *geo);
403 BlockDriverState *parent, BlockDriverState *child, Error **errp);
406 BlockDriverState *parent, BdrvChild *child, Error **errp);
423 int GRAPH_RDLOCK_PTR (*bdrv_check_perm)(BlockDriverState *bs, uint64_t perm,
437 BlockDriverState *bs, uint64_t perm, uint64_t shared);
447 void GRAPH_RDLOCK_PTR (*bdrv_abort_perm_update)(BlockDriverState *bs);
462 BlockDriverState *bs, BdrvChild *c, BdrvChildRole role,
477 BlockDriverState *bs, void *host, size_t size, Error **errp);
479 BlockDriverState *bs, void *host, size_t size);
497 BlockDriverState *bs, BlockdevAmendOptions *opts, bool force,
501 BlockAIOCB * GRAPH_RDLOCK_PTR (*bdrv_aio_preadv)(BlockDriverState *bs,
505 BlockAIOCB * GRAPH_RDLOCK_PTR (*bdrv_aio_pwritev)(BlockDriverState *bs,
510 BlockDriverState *bs, BlockCompletionFunc *cb, void *opaque);
513 BlockDriverState *bs, int64_t offset, int bytes,
516 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_readv)(BlockDriverState *bs,
534 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv)(BlockDriverState *bs,
539 BlockDriverState *bs, int64_t offset, int64_t bytes,
543 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_writev)(BlockDriverState *bs,
562 BlockDriverState *bs, int64_t offset, int64_t bytes, QEMUIOVector *qiov,
565 BlockDriverState *bs, int64_t offset, int64_t bytes, QEMUIOVector *qiov,
575 BlockDriverState *bs, int64_t offset, int64_t bytes,
579 BlockDriverState *bs, int64_t offset, int64_t bytes);
590 BlockDriverState *bs, BdrvChild *src, int64_t offset,
604 BlockDriverState *bs, BdrvChild *src, int64_t src_offset,
634 BlockDriverState *bs,
636 int64_t *map, BlockDriverState **file);
655 BlockDriverState *bs, int64_t offset, int64_t bytes,
659 BlockDriverState *bs, bool want_zero, int64_t offset, int64_t bytes,
660 int64_t *pnum, int64_t *map, BlockDriverState **file);
663 BlockDriverState *bs, int64_t offset, int64_t bytes);
669 BlockDriverState *bs, Error **errp);
676 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_flush)(BlockDriverState *bs);
680 BlockDriverState *bs, Error **errp);
687 BlockDriverState *bs);
695 BlockDriverState *bs);
711 BlockDriverState *bs, int64_t offset, bool exact,
715 BlockDriverState *bs);
718 BlockDriverState *bs);
720 BlockMeasureInfo *(*bdrv_measure)(QemuOpts *opts, BlockDriverState *in_bs,
724 BlockDriverState *bs, int64_t offset, int64_t bytes,
728 BlockDriverState *bs, int64_t offset, int64_t bytes,
732 BlockDriverState *bs, BlockDriverInfo *bdi);
735 BlockDriverState *bs, Error **errp);
736 BlockStatsSpecific *(*bdrv_get_specific_stats)(BlockDriverState *bs);
739 BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
742 BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
744 int coroutine_fn (*bdrv_co_zone_report)(BlockDriverState *bs,
747 int coroutine_fn (*bdrv_co_zone_mgmt)(BlockDriverState *bs, BlockZoneOp op,
749 int coroutine_fn (*bdrv_co_zone_append)(BlockDriverState *bs,
755 BlockDriverState *bs);
757 BlockDriverState *bs, bool eject_flag);
759 BlockDriverState *bs, bool locked);
763 BlockDriverState *bs, unsigned long int req, void *buf,
767 BlockDriverState *bs, unsigned long int req, void *buf);
774 BlockDriverState *bs, BdrvCheckResult *result, BdrvCheckMode fix);
777 BlockDriverState *bs, BlkdebugEvent event);
779 bool (*bdrv_supports_persistent_dirty_bitmap)(BlockDriverState *bs);
782 BlockDriverState *bs, const char *name, uint32_t granularity,
786 BlockDriverState *bs, const char *name, Error **errp);
987 int (*update_filename)(BdrvChild *child, BlockDriverState *new_base,
1018 BlockDriverState *bs;
1072 struct BlockDriverState { struct
1159 QTAILQ_ENTRY(BlockDriverState) node_list; argument
1161 QTAILQ_ENTRY(BlockDriverState) bs_list;
1163 QTAILQ_ENTRY(BlockDriverState) monitor_list;
1174 BlockDriverState *inherits_from; argument
1302 static inline BlockDriverState *child_bs(BdrvChild *child) in child_bs()