Searched refs:bdrv_getlength (Results 1 – 8 of 8) sorted by relevance
185 return bdrv_getlength(bs->file); in raw_getlength()257 .bdrv_getlength = raw_getlength,
252 .bdrv_getlength = raw_getlength,414 .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,
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);
1113 size = bdrv_getlength(bs->file); in qcow2_check_refcounts()
396 if (drv->bdrv_getlength) { in refresh_total_sectors()397 int64_t length = drv->bdrv_getlength(bs); in refresh_total_sectors()549 total_size = bdrv_getlength(bs1) & BDRV_SECTOR_MASK; in bdrv_open()795 total_sectors = bdrv_getlength(bs) >> BDRV_SECTOR_BITS; in bdrv_commit()887 len = bdrv_getlength(bs); in bdrv_check_byte_request()1129 int64_t bdrv_getlength(BlockDriverState *bs) in bdrv_getlength() function1139 if (!bs->growable || !drv->bdrv_getlength) { in bdrv_getlength()1142 return drv->bdrv_getlength(bs); in bdrv_getlength()1149 length = bdrv_getlength(bs); in bdrv_get_geometry()2628 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);