int bdrv_ioctl(BlockDriverState *bs, unsigned long int req, void *buf)

{

    BlockDriver *drv = bs->drv;



    if (drv && drv->bdrv_ioctl)

        return drv->bdrv_ioctl(bs, req, buf);

    return -ENOTSUP;

}

int bdrv_ioctl(BlockDriverState *bs, unsigned long int req, void *buf)

{

    BlockDriver *drv = bs->drv;



    if (drv && drv->bdrv_ioctl)

        return drv->bdrv_ioctl(bs, req, buf);

    return -ENOTSUP;

}

int FUNC_0(BlockDriverState *VAR_0, unsigned long int VAR_1, void *VAR_2)

{

    BlockDriver *drv = VAR_0->drv;



    if (drv && drv->FUNC_0)

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

    return -ENOTSUP;

}

int FUNC_0(BlockDriverState *VAR_0, unsigned long int VAR_1, void *VAR_2)
{ BlockDriver *drv = VAR_0->drv; if (drv && drv->FUNC_0)
return drv->FUNC_0(VAR_0, VAR_1, VAR_2); return -ENOTSUP; }