Lines Matching refs:bs
34 static void no_perm_default_perms(BlockDriverState *bs, BdrvChild *c, in no_perm_default_perms() argument
50 static void exclusive_write_perms(BlockDriverState *bs, BdrvChild *c, in exclusive_write_perms() argument
135 BlockDriverState *bs = no_perm_node("node"); in test_update_perm_tree() local
138 blk_insert_bs(root, bs, &error_abort); in test_update_perm_tree()
141 bdrv_attach_child(filter, bs, "child", &child_of_bds, in test_update_perm_tree()
145 ret = bdrv_append(filter, bs, NULL); in test_update_perm_tree()
199 BlockDriverState *bs = no_perm_node("node"); in test_should_update_child() local
203 blk_insert_bs(root, bs, &error_abort); in test_should_update_child()
205 bdrv_set_backing_hd(target, bs, &error_abort); in test_should_update_child()
208 g_assert(target->backing->bs == bs); in test_should_update_child()
212 bdrv_append(filter, bs, &error_abort); in test_should_update_child()
215 g_assert(target->backing->bs == bs); in test_should_update_child()
219 bdrv_unref(bs); in test_should_update_child()
280 static void write_to_selected_perms(BlockDriverState *bs, BdrvChild *c, in write_to_selected_perms() argument
286 BDRVWriteToSelectedState *s = bs->opaque; in write_to_selected_perms()