Lines Matching refs:nb_sectors
378 uint8_t *buf, int nb_sectors) in raw_read() argument
382 ret = raw_pread(bs, sector_num * 512, buf, nb_sectors * 512); in raw_read()
383 if (ret == (nb_sectors * 512)) in raw_read()
467 const uint8_t *buf, int nb_sectors) in raw_write() argument
470 ret = raw_pwrite(bs, sector_num * 512, buf, nb_sectors * 512); in raw_write()
471 if (ret == (nb_sectors * 512)) in raw_write()
648 QEMUIOVector *qiov, int nb_sectors, in raw_aio_setup() argument
664 acb->aiocb.aio_nbytes = nb_sectors * 512; in raw_aio_setup()
682 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, in raw_aio_readv() argument
687 acb = raw_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque); in raw_aio_readv()
698 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, in raw_aio_writev() argument
703 acb = raw_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque); in raw_aio_writev()