int bdrv_pwritev(BlockDriverState *bs, int64_t offset, QEMUIOVector *qiov)

{

    int ret;



    ret = bdrv_prwv_co(bs, offset, qiov, true, 0);

    if (ret < 0) {

        return ret;

    }



    return qiov->size;

}

int bdrv_pwritev(BlockDriverState *bs, int64_t offset, QEMUIOVector *qiov)

{

    int ret;



    ret = bdrv_prwv_co(bs, offset, qiov, true, 0);

    if (ret < 0) {

        return ret;

    }



    return qiov->size;

}

int FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1, QEMUIOVector *VAR_2)

{

    int VAR_3;



    VAR_3 = bdrv_prwv_co(VAR_0, VAR_1, VAR_2, true, 0);

    if (VAR_3 < 0) {

        return VAR_3;

    }



    return VAR_2->size;

}

int FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1, QEMUIOVector *VAR_2)
{ int VAR_3; VAR_3 = bdrv_prwv_co(VAR_0, VAR_1, VAR_2, true, 0); if (VAR_3 < 0) { return VAR_3; } return VAR_2->size; }