static void vmdk_refresh_limits(BlockDriverState *bs, Error **errp)

{

    BDRVVmdkState *s = bs->opaque;

    int i;



    for (i = 0; i < s->num_extents; i++) {

        if (!s->extents[i].flat) {

            bs->bl.write_zeroes_alignment =

                MAX(bs->bl.write_zeroes_alignment,

                    s->extents[i].cluster_sectors);

        }

    }

}

static void vmdk_refresh_limits(BlockDriverState *bs, Error **errp)

{

    BDRVVmdkState *s = bs->opaque;

    int i;



    for (i = 0; i < s->num_extents; i++) {

        if (!s->extents[i].flat) {

            bs->bl.write_zeroes_alignment =

                MAX(bs->bl.write_zeroes_alignment,

                    s->extents[i].cluster_sectors);

        }

    }

}

static void FUNC_0(BlockDriverState *VAR_0, Error **VAR_1)

{

    BDRVVmdkState *s = VAR_0->opaque;

    int VAR_2;



    for (VAR_2 = 0; VAR_2 < s->num_extents; VAR_2++) {

        if (!s->extents[VAR_2].flat) {

            VAR_0->bl.write_zeroes_alignment =

                MAX(VAR_0->bl.write_zeroes_alignment,

                    s->extents[VAR_2].cluster_sectors);

        }

    }

}

static void FUNC_0(BlockDriverState *VAR_0, Error **VAR_1)
{ BDRVVmdkState *s = VAR_0->opaque; int VAR_2; for (VAR_2 = 0; VAR_2 < s->num_extents; VAR_2++) { if (!s->extents[VAR_2].flat) { VAR_0->bl.write_zeroes_alignment =
MAX(VAR_0->bl.write_zeroes_alignment,
s->extents[VAR_2].cluster_sectors); } } }