int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix)

{




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

        return -ENOTSUP;




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

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

int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix)

{




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

        return -ENOTSUP;




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

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

int FUNC_0(BlockDriverState *VAR_0, BdrvCheckResult *VAR_1, BdrvCheckMode VAR_2)

{




    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, VAR_2);

int FUNC_0(BlockDriverState *VAR_0, BdrvCheckResult *VAR_1, BdrvCheckMode VAR_2)
{ 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, VAR_2);