Lines Matching refs:qcow
347 BlockDriverState* qcow; member
1024 s->qcow = s->write_target = NULL; in vvfat_open()
1292 if (s->qcow) { in vvfat_read()
1294 if (s->qcow->drv->bdrv_is_allocated(s->qcow, in vvfat_read()
1297 if (s->qcow->drv->bdrv_read(s->qcow, sector_num, buf+i*0x200, n)) in vvfat_read()
1541 if (s->qcow == NULL) in cluster_was_modified()
1545 was_modified = s->qcow->drv->bdrv_is_allocated(s->qcow, in cluster_was_modified()
1618 if (s->qcow) { in get_cluster_count_for_direntry()
1646 if (s->qcow) { in get_cluster_count_for_direntry()
1695 if (!s->qcow->drv->bdrv_is_allocated(s->qcow, in get_cluster_count_for_direntry()
1700 if (s->qcow->drv->bdrv_write(s->qcow, in get_cluster_count_for_direntry()
1890 if (s->qcow) in is_consistent()
2631 s->qcow->drv->bdrv_make_empty(s->qcow); in do_commit()
2721 ret = s->qcow->drv->bdrv_write(s->qcow, sector_num, buf, nb_sectors); in vvfat_write()
2760 bdrv_delete(s->qcow); in write_target_close()
2789 s->qcow = bdrv_new(""); in enable_write_target()
2790 if (s->qcow == NULL || bdrv_open(s->qcow, s->qcow_filename, 0) < 0) in enable_write_target()