Home | History | Annotate | Download | only in hw

Lines Matching refs:sector_count

53     /* Both sector and sector_count are in terms of qemu 512 byte blocks.  */
55 uint32_t sector_count;
96 r->sector_count = 0;
195 if (r->sector_count == (uint32_t)-1) {
197 r->sector_count = 0;
201 DPRINTF("Read sector_count=%d\n", r->sector_count);
202 if (r->sector_count == 0) {
207 n = r->sector_count;
218 r->sector_count -= n;
256 r->sector_count -= n;
257 if (r->sector_count == 0) {
260 len = r->sector_count * 512;
785 r->sector_count = len * s->cluster_size;
794 r->sector_count = len * s->cluster_size;
911 if (r->sector_count == 0 && r->iov.iov_len == 0) {
914 len = r->sector_count * 512 + r->iov.iov_len;
918 if (!r->sector_count)
919 r->sector_count = -1;