static int64_t coroutine_fn raw_co_get_block_status(BlockDriverState *bs,

                                            int64_t sector_num,

                                            int nb_sectors, int *pnum,

                                            BlockDriverState **file)

{

    BDRVRawState *s = bs->opaque;

    *pnum = nb_sectors;

    *file = bs->file->bs;

    sector_num += s->offset / BDRV_SECTOR_SIZE;

    return BDRV_BLOCK_RAW | BDRV_BLOCK_OFFSET_VALID | BDRV_BLOCK_DATA |

           (sector_num << BDRV_SECTOR_BITS);

}

static int64_t coroutine_fn raw_co_get_block_status(BlockDriverState *bs,

                                            int64_t sector_num,

                                            int nb_sectors, int *pnum,

                                            BlockDriverState **file)

{

    BDRVRawState *s = bs->opaque;

    *pnum = nb_sectors;

    *file = bs->file->bs;

    sector_num += s->offset / BDRV_SECTOR_SIZE;

    return BDRV_BLOCK_RAW | BDRV_BLOCK_OFFSET_VALID | BDRV_BLOCK_DATA |

           (sector_num << BDRV_SECTOR_BITS);

}

static int64_t VAR_0 raw_co_get_block_status(BlockDriverState *bs,

                                            int64_t sector_num,

                                            int nb_sectors, int *pnum,

                                            BlockDriverState **file)

{

    BDRVRawState *s = bs->opaque;

    *pnum = nb_sectors;

    *file = bs->file->bs;

    sector_num += s->offset / BDRV_SECTOR_SIZE;

    return BDRV_BLOCK_RAW | BDRV_BLOCK_OFFSET_VALID | BDRV_BLOCK_DATA |

           (sector_num << BDRV_SECTOR_BITS);

}

static int64_t VAR_0 raw_co_get_block_status(BlockDriverState *bs,
int64_t sector_num,
int nb_sectors, int *pnum,
BlockDriverState **file)
{ BDRVRawState *s = bs->opaque; *pnum = nb_sectors; *file = bs->file->bs; sector_num += s->offset / BDRV_SECTOR_SIZE; return BDRV_BLOCK_RAW | BDRV_BLOCK_OFFSET_VALID | BDRV_BLOCK_DATA |
(sector_num << BDRV_SECTOR_BITS); }