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

  /external/qemu/block/
raw.c 36 const uint8_t *buf, int nb_sectors)
44 if (sector_num == 0 && nb_sectors > 0) {
52 uint8_t *buf, int nb_sectors)
54 return bdrv_read(bs->file, sector_num, buf, nb_sectors);
70 const uint8_t *buf, int nb_sectors)
72 if (check_write_unsafe(bs, sector_num, buf, nb_sectors)) {
80 ret = bdrv_write(bs->file, 1, buf + 512, nb_sectors - 1);
88 return bdrv_write(bs->file, sector_num, buf, nb_sectors);
92 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
95 return bdrv_aio_readv(bs->file, sector_num, qiov, nb_sectors, cb, opaque)
    [all...]
raw-posix-aio.h 31 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
40 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
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...]
raw-posix.c 386 uint8_t *buf, int nb_sectors)
391 nb_sectors * BDRV_SECTOR_SIZE);
392 if (ret == (nb_sectors * BDRV_SECTOR_SIZE))
476 const uint8_t *buf, int nb_sectors)
480 nb_sectors * BDRV_SECTOR_SIZE);
481 if (ret == (nb_sectors * BDRV_SECTOR_SIZE))
503 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
522 nb_sectors, cb, opaque, type);
527 return paio_submit(bs, s->fd, sector_num, qiov, nb_sectors,
532 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
    [all...]
raw-win32.c 109 uint8_t *buf, int nb_sectors)
116 int count = nb_sectors * 512;
130 const uint8_t *buf, int nb_sectors)
137 int count = nb_sectors * 512;
qcow2.h 170 int64_t sector_num, uint8_t *buf, int nb_sectors);
196 int nb_sectors, int enc,
qcow2-cluster.c 324 int nb_sectors, int enc,
333 for(i = 0; i < nb_sectors; i++) {
346 uint8_t *buf, int nb_sectors)
352 while (nb_sectors > 0) {
353 n = nb_sectors;
389 nb_sectors -= n;
  /external/qemu/
block.c 48 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
51 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
58 uint8_t *buf, int nb_sectors);
60 const uint8_t *buf, int nb_sectors);
899 int nb_sectors)
902 nb_sectors * BDRV_SECTOR_SIZE);
907 uint8_t *buf, int nb_sectors)
913 if (bdrv_check_request(bs, sector_num, nb_sectors))
916 return drv->bdrv_read(bs, sector_num, buf, nb_sectors);
920 int nb_sectors, int dirty
979 int len, nb_sectors, count; local
1024 int len, nb_sectors, count; local
1178 uint64_t nb_sectors; local
1218 uint64_t nb_sectors; local
    [all...]
posix-aio-compat.c 569 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
586 acb->aio_nbytes = nb_sectors * 512;
592 //trace_paio_submit(acb, opaque, sector_num, nb_sectors, type);
  /external/qemu/include/block/
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);
block_int.h 57 uint8_t *buf, int nb_sectors);
59 const uint8_t *buf, int nb_sectors);
64 int nb_sectors, int *pnum);
69 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
72 int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
87 const uint8_t *buf, int nb_sectors);

Completed in 99 milliseconds