Home
last modified time | relevance | path

Searched refs:bdrv_write (Results 1 – 8 of 8) 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-win32.c250 .bdrv_write = raw_write,
413 .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,
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()
/external/qemu/
Dblock.c147 bdrv->bdrv_write = bdrv_write_em; in bdrv_register()
806 if (bdrv_write(bs->backing_hd, sector, buf, n) != 0) { in bdrv_commit()
953 int bdrv_write(BlockDriverState *bs, int64_t sector_num, in bdrv_write() function
972 return drv->bdrv_write(bs, sector_num, buf, nb_sectors); in bdrv_write()
1038 if ((ret = bdrv_write(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pwrite()
1050 if ((ret = bdrv_write(bs, sector_num, buf, nb_sectors)) < 0) in bdrv_pwrite()
1063 if ((ret = bdrv_write(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pwrite()
2340 acb->ret = bdrv_write(bs, sector_num, acb->bounce, nb_sectors); in bdrv_aio_rw_vector()
/external/qemu/include/block/
Dblock_int.h58 int (*bdrv_write)(BlockDriverState *bs, int64_t sector_num, member
Dblock.h79 int bdrv_write(BlockDriverState *bs, int64_t sector_num,
/external/qemu/hw/android/goldfish/
Dmmc.c220 ret = bdrv_write(s->bs, sector_number, s->buf, 1); in goldfish_mmc_bdrv_write()