HomeSort by relevance Sort by last modified time
    Searched defs:nb_sectors (Results 1 - 7 of 7) sorted by null

  /external/qemu/block/
parallels.c 44 uint32_t nb_sectors; member in struct:parallels_header
86 bs->total_sectors = le32_to_cpu(ph.nb_sectors);
120 uint8_t *buf, int nb_sectors)
122 while (nb_sectors > 0) {
130 nb_sectors--;
qcow.c 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; member in struct:QCowAIOCB
    [all...]
qcow2.c 297 int nb_sectors, int *pnum)
302 *pnum = nb_sectors;
315 int64_t sector_num, uint8_t *buf, int nb_sectors)
318 if ((sector_num + nb_sectors) <= bs->total_sectors)
319 return nb_sectors;
324 memset(buf + n1 * 512, 0, 512 * (nb_sectors - n1));
493 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
511 acb->remaining_sectors = nb_sectors;
520 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
525 acb = qcow_aio_setup(bs, sector_num, qiov, nb_sectors, cb, opaque, 0)
794 uint64_t nb_sectors; local
    [all...]
  /external/qemu/hw/
scsi-disk.c 351 uint64_t nb_sectors; local
753 bdrv_get_geometry(s->bdrv, &nb_sectors);
754 nb_sectors /= s->cluster_size;
756 if (nb_sectors) {
757 nb_sectors--;
759 s->max_lba = nb_sectors;
761 if (nb_sectors > UINT32_MAX)
762 nb_sectors = UINT32_MAX;
763 outbuf[0] = (nb_sectors >> 24) & 0xff;
764 outbuf[1] = (nb_sectors >> 16) & 0xff
935 uint64_t nb_sectors; local
    [all...]
  /external/qemu/
block.h 78 uint8_t *buf, int nb_sectors);
80 const uint8_t *buf, int nb_sectors);
88 const uint8_t *buf, int nb_sectors);
114 QEMUIOVector *iov, int nb_sectors,
117 QEMUIOVector *iov, int nb_sectors,
126 int nb_sectors; member in struct:BlockRequest
150 int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors,
198 const uint8_t *buf, int nb_sectors);
qemu-io.c 971 reqs[i].nb_sectors = reqs[i].qiov->size >> 9;
1490 int nb_sectors, remaining; local
1503 nb_sectors = cvtnum(argv[2]);
1505 nb_sectors = 1;
1507 remaining = nb_sectors;
1510 ret = bdrv_is_allocated(bs, offset >> 9, nb_sectors, &num);
1519 if (nb_sectors == 1)
1523 sum_alloc, nb_sectors, s1);
1541 int64_t nb_sectors; local
    [all...]
block.c 46 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
49 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
56 uint8_t *buf, int nb_sectors);
58 const uint8_t *buf, int nb_sectors);
897 int nb_sectors)
900 nb_sectors * BDRV_SECTOR_SIZE);
905 uint8_t *buf, int nb_sectors)
911 if (bdrv_check_request(bs, sector_num, nb_sectors))
914 return drv->bdrv_read(bs, sector_num, buf, nb_sectors);
918 int nb_sectors, int dirty
977 int len, nb_sectors, count; local
1022 int len, nb_sectors, count; local
1176 uint64_t nb_sectors; local
1216 uint64_t nb_sectors; local
    [all...]

Completed in 549 milliseconds