int blk_co_discard(BlockBackend *blk, int64_t sector_num, int nb_sectors)

{

    int ret = blk_check_request(blk, sector_num, nb_sectors);

    if (ret < 0) {

        return ret;

    }



    return bdrv_co_discard(blk_bs(blk), sector_num, nb_sectors);

}

int blk_co_discard(BlockBackend *blk, int64_t sector_num, int nb_sectors)

{

    int ret = blk_check_request(blk, sector_num, nb_sectors);

    if (ret < 0) {

        return ret;

    }



    return bdrv_co_discard(blk_bs(blk), sector_num, nb_sectors);

}

int FUNC_0(BlockBackend *VAR_0, int64_t VAR_1, int VAR_2)

{

    int VAR_3 = blk_check_request(VAR_0, VAR_1, VAR_2);

    if (VAR_3 < 0) {

        return VAR_3;

    }



    return bdrv_co_discard(blk_bs(VAR_0), VAR_1, VAR_2);

}

int FUNC_0(BlockBackend *VAR_0, int64_t VAR_1, int VAR_2)
{ int VAR_3 = blk_check_request(VAR_0, VAR_1, VAR_2); if (VAR_3 < 0) { return VAR_3; } return bdrv_co_discard(blk_bs(VAR_0), VAR_1, VAR_2); }