static bool is_zero_cluster_top_locked(BlockDriverState *bs, int64_t start)

{

    BDRVQcow2State *s = bs->opaque;

    int nr = s->cluster_sectors;

    uint64_t off;

    int ret;



    ret = qcow2_get_cluster_offset(bs, start << BDRV_SECTOR_BITS, &nr, &off);

    assert(nr == s->cluster_sectors);

    return ret == QCOW2_CLUSTER_UNALLOCATED || ret == QCOW2_CLUSTER_ZERO;

}

static bool is_zero_cluster_top_locked(BlockDriverState *bs, int64_t start)

{

    BDRVQcow2State *s = bs->opaque;

    int nr = s->cluster_sectors;

    uint64_t off;

    int ret;



    ret = qcow2_get_cluster_offset(bs, start << BDRV_SECTOR_BITS, &nr, &off);

    assert(nr == s->cluster_sectors);

    return ret == QCOW2_CLUSTER_UNALLOCATED || ret == QCOW2_CLUSTER_ZERO;

}

    BDRVQcow2State *s = bs->opaque; static bool is_zero_cluster_top_locked(BlockDriverState *bs, int64_t start)     BDRVQcow2State *s = bs->opaque;     int nr = s->cluster_sectors;     uint64_t off;     int ret;     ret = qcow2_get_cluster_offset(bs, start << BDRV_SECTOR_BITS, &nr, &off);     assert(nr == s->cluster_sectors);     return ret == QCOW2_CLUSTER_UNALLOCATED || ret == QCOW2_CLUSTER_ZERO;
static bool FUNC_0(BlockDriverState *bs, int64_t start)

{

    BDRVQcow2State *s = bs->opaque;

    int VAR_0 = s->cluster_sectors;

    uint64_t off;

    int VAR_1;



    VAR_1 = qcow2_get_cluster_offset(bs, start << BDRV_SECTOR_BITS, &VAR_0, &off);

    assert(VAR_0 == s->cluster_sectors);

    return VAR_1 == QCOW2_CLUSTER_UNALLOCATED || VAR_1 == QCOW2_CLUSTER_ZERO;

}

static bool FUNC_0(BlockDriverState *bs, int64_t start)
{ BDRVQcow2State *s = bs->opaque; int VAR_0 = s->cluster_sectors; uint64_t off; int VAR_1; VAR_1 = qcow2_get_cluster_offset(bs, start << BDRV_SECTOR_BITS, &VAR_0, &off); assert(VAR_0 == s->cluster_sectors); return VAR_1 == QCOW2_CLUSTER_UNALLOCATED || VAR_1 == QCOW2_CLUSTER_ZERO; }