int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res)

{

    if (bs->drv->bdrv_check == NULL) {

        return -ENOTSUP;

    }



    memset(res, 0, sizeof(*res));

    return bs->drv->bdrv_check(bs, res);

}

int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res)

{

    if (bs->drv->bdrv_check == NULL) {

        return -ENOTSUP;

    }



    memset(res, 0, sizeof(*res));

    return bs->drv->bdrv_check(bs, res);

}

int FUNC_0(BlockDriverState *VAR_0, BdrvCheckResult *VAR_1)

{

    if (VAR_0->drv->FUNC_0 == NULL) {

        return -ENOTSUP;

    }



    memset(VAR_1, 0, sizeof(*VAR_1));

    return VAR_0->drv->FUNC_0(VAR_0, VAR_1);

}

int FUNC_0(BlockDriverState *VAR_0, BdrvCheckResult *VAR_1)
{ if (VAR_0->drv->FUNC_0 == NULL) { return -ENOTSUP; } memset(VAR_1, 0, sizeof(*VAR_1)); return VAR_0->drv->FUNC_0(VAR_0, VAR_1); }