Searched defs:bdrv_read (Results 1 - 2 of 2) sorted by relevance

/external/qemu/
H A Dblock_int.h56 int (*bdrv_read)(BlockDriverState *bs, int64_t sector_num, member in struct:BlockDriver
H A Dblock.c142 } else if (!bdrv->bdrv_read) {
144 bdrv->bdrv_read = bdrv_read_em;
799 if (bdrv_read(bs, sector, buf, n) != 0) {
904 int bdrv_read(BlockDriverState *bs, int64_t sector_num, function
914 return drv->bdrv_read(bs, sector_num, buf, nb_sectors);
988 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0)
1001 if ((ret = bdrv_read(bs, sector_num, buf, nb_sectors)) < 0)
1011 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0)
1033 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0)
1058 if ((ret = bdrv_read(b
[all...]

Completed in 618 milliseconds