Searched refs:bdrv_getlength (Results 1 – 13 of 13) sorted by relevance
185 return bdrv_getlength(bs->file); in raw_getlength()257 .bdrv_getlength = raw_getlength,
756 .bdrv_getlength = raw_getlength,1019 .bdrv_getlength = raw_getlength,1134 .bdrv_getlength = raw_getlength,1234 .bdrv_getlength = raw_getlength,1357 .bdrv_getlength = raw_getlength,
252 .bdrv_getlength = raw_getlength,414 .bdrv_getlength = raw_getlength,
184 .bdrv_getlength = nbd_getlength,
270 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()
88 offset = bdrv_getlength(bs->file); in dmg_open()
800 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);
543 cluster_offset = bdrv_getlength(bs->file); in get_cluster_offset()
1113 size = bdrv_getlength(bs->file); in qcow2_check_refcounts()
394 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() function1137 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 …]
85 int64_t (*bdrv_getlength)(BlockDriverState *bs); member
90 int64_t bdrv_getlength(BlockDriverState *bs);
1345 size = bdrv_getlength(bs); in length_f()