Lines Matching refs:bs
41 BlockDriverState *bs; member
52 ret = s->bs->drv->bdrv_co_amend(s->bs, s->opts, s->force, errp); in blockdev_amend_run()
61 if (s->bs->drv->bdrv_amend_pre_run) { in blockdev_amend_pre_run()
62 return s->bs->drv->bdrv_amend_pre_run(s->bs, errp); in blockdev_amend_pre_run()
73 if (s->bs->drv->bdrv_amend_clean) { in blockdev_amend_free()
74 s->bs->drv->bdrv_amend_clean(s->bs); in blockdev_amend_free()
78 bdrv_unref(s->bs); in blockdev_amend_free()
98 BlockDriverState *bs; in qmp_x_blockdev_amend() local
102 bs = bdrv_lookup_bs(NULL, node_name, errp); in qmp_x_blockdev_amend()
103 if (!bs) { in qmp_x_blockdev_amend()
121 if (bs->drv != drv) { in qmp_x_blockdev_amend()
135 bdrv_get_aio_context(bs), JOB_DEFAULT | JOB_MANUAL_DISMISS, in qmp_x_blockdev_amend()
141 bdrv_ref(bs); in qmp_x_blockdev_amend()
142 s->bs = bs, in qmp_x_blockdev_amend()