Lines Matching defs:bdrv_read
142 } 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,
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(bs, sector_num, tmp_buf, 1)) < 0)
1180 ret = bdrv_read(bs, 0, buf, 1);
2340 acb->ret = bdrv_read(bs, sector_num, acb->bounce, nb_sectors);