Searched refs:bdrv_getlength (Results 1 - 8 of 8) sorted by relevance

/external/qemu/block/
H A Draw.c185 return bdrv_getlength(bs->file);
257 .bdrv_getlength = raw_getlength,
H A Draw-win32.c252 .bdrv_getlength = raw_getlength,
414 .bdrv_getlength = raw_getlength,
H A Draw-posix.c756 .bdrv_getlength = raw_getlength,
1019 .bdrv_getlength = raw_getlength,
1134 .bdrv_getlength = raw_getlength,
1234 .bdrv_getlength = raw_getlength,
1357 .bdrv_getlength = raw_getlength,
H A Dqcow2.c800 nb_sectors = bdrv_getlength(bs) >> 9;
1161 cluster_offset = bdrv_getlength(bs->file);
1254 size = bdrv_getlength(bs->file);
H A Dqcow2-refcount.c1113 size = bdrv_getlength(bs->file);
/external/qemu/
H A Dblock.c391 /* Do not attempt drv->bdrv_getlength() on scsi-generic devices */
396 if (drv->bdrv_getlength) {
397 int64_t length = drv->bdrv_getlength(bs);
549 total_size = bdrv_getlength(bs1) & BDRV_SECTOR_MASK;
795 total_sectors = bdrv_getlength(bs) >> BDRV_SECTOR_BITS;
887 len = bdrv_getlength(bs);
1129 int64_t bdrv_getlength(BlockDriverState *bs) function
1137 drivers don't provide a bdrv_getlength function and must use
1139 if (!bs->growable || !drv->bdrv_getlength) {
1142 return drv->bdrv_getlength(b
[all...]
/external/qemu/include/block/
H A Dblock_int.h85 int64_t (*bdrv_getlength)(BlockDriverState *bs); member in struct:BlockDriver
H A Dblock.h90 int64_t bdrv_getlength(BlockDriverState *bs);

Completed in 100 milliseconds