Lines Matching refs:bdrv_read
144 } else if (!bdrv->bdrv_read) { in bdrv_register()
146 bdrv->bdrv_read = bdrv_read_em; in bdrv_register()
801 if (bdrv_read(bs, sector, buf, n) != 0) { in bdrv_commit()
906 int bdrv_read(BlockDriverState *bs, int64_t sector_num, in bdrv_read() function
916 return drv->bdrv_read(bs, sector_num, buf, nb_sectors); in bdrv_read()
990 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pread()
1003 if ((ret = bdrv_read(bs, sector_num, buf, nb_sectors)) < 0) in bdrv_pread()
1013 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pread()
1035 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pwrite()
1060 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0) in bdrv_pwrite()
1182 ret = bdrv_read(bs, 0, buf, 1); in guess_disk_lchs()
2342 acb->ret = bdrv_read(bs, sector_num, acb->bounce, nb_sectors); in bdrv_aio_rw_vector()