Lines Matching refs:sector
53 /* Both sector and sector_count are in terms of qemu 512 byte blocks. */
54 uint64_t sector;
67 /* The qemu block layer uses a fixed 512 byte sector size.
68 This is the number of 512 byte blocks in a single scsi sector. */
213 r->aiocb = bdrv_aio_readv(s->bdrv, r->sector, &r->qiov, n,
217 r->sector += n;
255 r->sector += n;
278 r->aiocb = bdrv_aio_writev(s->bdrv, r->sector, &r->qiov, n,
755 /* Returned value is the address of the last sector. */
781 DPRINTF("Read (sector %lld, count %d)\n", lba, len);
784 r->sector = lba * s->cluster_size;
790 DPRINTF("Write (sector %lld, count %d)\n", lba, len);
793 r->sector = lba * s->cluster_size;
798 DPRINTF("Synchronise cache (sector %d, count %d)\n", lba, len);
864 /* Returned value is the address of the last sector. */
900 DPRINTF("Verify (sector %d, count %d)\n", lba, len);