static int count_contiguous_clusters(uint64_t nb_clusters, int cluster_size,

        uint64_t *l2_table, uint64_t mask)

{

    int i;

    uint64_t offset = be64_to_cpu(l2_table[0]) & ~mask;



    if (!offset)

        return 0;



    for (i = 0; i < nb_clusters; i++)

        if (offset + i * cluster_size != (be64_to_cpu(l2_table[i]) & ~mask))

            break;



	return i;

}

static int count_contiguous_clusters(uint64_t nb_clusters, int cluster_size,

        uint64_t *l2_table, uint64_t mask)

{

    int i;

    uint64_t offset = be64_to_cpu(l2_table[0]) & ~mask;



    if (!offset)

        return 0;



    for (i = 0; i < nb_clusters; i++)

        if (offset + i * cluster_size != (be64_to_cpu(l2_table[i]) & ~mask))

            break;



	return i;

}

        uint64_t *l2_table, uint64_t mask)     for (i = 0; i < nb_clusters; i++) 	return i;
static int FUNC_0(uint64_t VAR_0, int VAR_1,

        uint64_t *VAR_2, uint64_t VAR_3)

{

    int VAR_4;

    uint64_t offset = be64_to_cpu(VAR_2[0]) & ~VAR_3;



    if (!offset)

        return 0;



    for (VAR_4 = 0; VAR_4 < VAR_0; VAR_4++)

        if (offset + VAR_4 * VAR_1 != (be64_to_cpu(VAR_2[VAR_4]) & ~VAR_3))

            break;



	return VAR_4;

}

static int FUNC_0(uint64_t VAR_0, int VAR_1,
uint64_t *VAR_2, uint64_t VAR_3)
{ int VAR_4; uint64_t offset = be64_to_cpu(VAR_2[0]) & ~VAR_3; if (!offset)
return 0; for (VAR_4 = 0; VAR_4 < VAR_0; VAR_4++) if (offset + VAR_4 * VAR_1 != (be64_to_cpu(VAR_2[VAR_4]) & ~VAR_3))
break; return VAR_4; }