Home
last modified time | relevance | path

Searched refs:bdrv_getlength (Results 1 – 13 of 13) sorted by relevance

/external/qemu/block/
Draw.c185 return bdrv_getlength(bs->file); in raw_getlength()
257 .bdrv_getlength = raw_getlength,
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,
Draw-win32.c252 .bdrv_getlength = raw_getlength,
414 .bdrv_getlength = raw_getlength,
Dnbd.c184 .bdrv_getlength = nbd_getlength,
Dqcow.c270 l2_offset = bdrv_getlength(bs->file); in get_cluster_offset()
331 cluster_offset = bdrv_getlength(bs->file); in get_cluster_offset()
339 cluster_offset = bdrv_getlength(bs->file); in get_cluster_offset()
Ddmg.c88 offset = bdrv_getlength(bs->file); in dmg_open()
Dqcow2.c800 nb_sectors = bdrv_getlength(bs) >> 9; in preallocate()
1161 cluster_offset = bdrv_getlength(bs->file); in qcow_write_compressed()
1254 size = bdrv_getlength(bs->file);
Dvmdk.c543 cluster_offset = bdrv_getlength(bs->file); in get_cluster_offset()
Dqcow2-refcount.c1113 size = bdrv_getlength(bs->file); in qcow2_check_refcounts()
/external/qemu/
Dblock.c394 if (drv->bdrv_getlength) { in refresh_total_sectors()
395 int64_t length = drv->bdrv_getlength(bs); in refresh_total_sectors()
547 total_size = bdrv_getlength(bs1) & BDRV_SECTOR_MASK; in bdrv_open()
793 total_sectors = bdrv_getlength(bs) >> BDRV_SECTOR_BITS; in bdrv_commit()
885 len = bdrv_getlength(bs); in bdrv_check_byte_request()
1127 int64_t bdrv_getlength(BlockDriverState *bs) in bdrv_getlength() function
1137 if (!bs->growable || !drv->bdrv_getlength) { in bdrv_getlength()
1140 return drv->bdrv_getlength(bs); in bdrv_getlength()
1147 length = bdrv_getlength(bs); in bdrv_get_geometry()
2626 bitmap_size = (bdrv_getlength(bs) >> BDRV_SECTOR_BITS) + in bdrv_set_dirty_tracking()
[all …]
Dblock_int.h85 int64_t (*bdrv_getlength)(BlockDriverState *bs); member
Dblock.h90 int64_t bdrv_getlength(BlockDriverState *bs);
Dqemu-io.c1345 size = bdrv_getlength(bs); in length_f()