Lines Matching refs:bs
75 BlockDriverState *bs = blk_bs(*ptr); in get_drive() local
76 if (bs) { in get_drive()
77 value = bdrv_get_node_name(bs); in get_drive()
99 BlockDriverState *bs; in set_drive_helper() local
114 bs = bdrv_lookup_bs(NULL, str, errp); in set_drive_helper()
115 if (!bs) { in set_drive_helper()
119 if (ctx != bdrv_get_aio_context(bs)) { in set_drive_helper()
124 blk_replace_bs(blk, bs, errp); in set_drive_helper()
136 bs = bdrv_lookup_bs(NULL, str, NULL); in set_drive_helper()
137 if (bs) { in set_drive_helper()
145 ctx = bdrv_get_aio_context(bs); in set_drive_helper()
150 ret = blk_insert_bs(blk, bs, errp); in set_drive_helper()
504 const BlockDriverState *bs = blk_bs(value); in qdev_prop_set_drive_err() local
505 if (bs) { in qdev_prop_set_drive_err()
506 ref = bdrv_get_node_name(bs); in qdev_prop_set_drive_err()