Home | History | Annotate | Download | only in block

Lines Matching defs:nb_sectors

219                             int nb_sectors, int enc,
228 for(i = 0; i < nb_sectors; i++) {
380 int nb_sectors, int *pnum)
389 if (n > nb_sectors)
390 n = nb_sectors;
447 uint8_t *buf, int nb_sectors)
453 while (nb_sectors > 0) {
457 if (n > nb_sectors)
458 n = nb_sectors;
481 nb_sectors -= n;
495 int nb_sectors;
518 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
536 acb->nb_sectors = nb_sectors;
567 acb->nb_sectors -= acb->n;
571 if (acb->nb_sectors == 0) {
582 if (acb->n > acb->nb_sectors)
583 acb->n = acb->nb_sectors;
634 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
639 acb = qcow_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque, 0);
661 acb->nb_sectors -= acb->n;
665 if (acb->nb_sectors == 0) {
673 if (acb->n > acb->nb_sectors)
674 acb->n = acb->nb_sectors;
716 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
724 acb = qcow_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque, 1);
856 const uint8_t *buf, int nb_sectors)
864 if (nb_sectors != s->cluster_sectors)