Home
last modified time | relevance | path

Searched refs:bdrv_write (Results 1 – 15 of 15) sorted by relevance

/external/qemu/block/
Draw.c66 return bdrv_write(bs->file, 0, bootsect, 1); in raw_write_scrubbed_bootsect()
80 ret = bdrv_write(bs->file, 1, buf + 512, nb_sectors - 1); in raw_write()
88 return bdrv_write(bs->file, sector_num, buf, nb_sectors); in raw_write()
254 .bdrv_write = raw_write,
Draw-posix.c746 .bdrv_write = raw_write,
1018 .bdrv_write = raw_write,
1133 .bdrv_write = raw_write,
1233 .bdrv_write = raw_write,
1356 .bdrv_write = raw_write,
Draw-win32.c250 .bdrv_write = raw_write,
413 .bdrv_write = raw_write,
Dnbd.c182 .bdrv_write = nbd_write,
Dcow.c310 .bdrv_write = cow_write,
Dvmdk.c460 ret = bdrv_write(bs->file, cluster_offset, whole_grain, in get_whole_cluster()
857 .bdrv_write = vmdk_write,
Dvpc.c626 .bdrv_write = vpc_write,
Dqcow2.c836 ret = bdrv_write(bs->file, (meta.cluster_offset >> 9) + num - 1, buf, 1); in preallocate()
1199 bdrv_write(bs, sector_num, buf, s->cluster_sectors); in qcow_write_compressed()
Dvvfat.c1705 if (s->qcow->drv->bdrv_write(s->qcow, in get_cluster_count_for_direntry()
2733 ret = s->qcow->drv->bdrv_write(s->qcow, sector_num, buf, nb_sectors); in vvfat_write()
2778 .bdrv_write = write_target_commit,
2836 .bdrv_write = vvfat_write,
Dqcow.c898 bdrv_write(bs, sector_num, buf, s->cluster_sectors); in qcow_write_compressed()
/external/qemu/
Dblock.c145 bdrv->bdrv_write = bdrv_write_em; in bdrv_register()
804 if (bdrv_write(bs->backing_hd, sector, buf, n) != 0) { in bdrv_commit()
951 int bdrv_write(BlockDriverState *bs, int64_t sector_num, in bdrv_write() function
970 return drv->bdrv_write(bs, sector_num, buf, nb_sectors); in bdrv_write()
1036 if ((ret = bdrv_write(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pwrite()
1048 if ((ret = bdrv_write(bs, sector_num, buf, nb_sectors)) < 0) in bdrv_pwrite()
1061 if ((ret = bdrv_write(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pwrite()
2338 acb->ret = bdrv_write(bs, sector_num, acb->bounce, nb_sectors); in bdrv_aio_rw_vector()
Dblock_int.h58 int (*bdrv_write)(BlockDriverState *bs, int64_t sector_num, member
Dblock.h79 int bdrv_write(BlockDriverState *bs, int64_t sector_num,
Dqemu-io.c191 ret = bdrv_write(bs, offset >> 9, (uint8_t *)buf, count >> 9); in do_write()
/external/qemu/hw/
Dgoldfish_mmc.c203 ret = bdrv_write(s->bs, sector_number, s->buf, 1); in goldfish_mmc_bdrv_write()