Lines Matching refs:cluster_size
293 static int count_contiguous_clusters(uint64_t nb_clusters, int cluster_size,
303 if (offset + (uint64_t) i * cluster_size != (be64_to_cpu(l2_table[i]) & ~mask))
504 c = count_contiguous_clusters(nb_clusters, s->cluster_size,
680 start_sect = (m->offset & ~(s->cluster_size - 1)) >> 9;
774 nb_clusters = count_contiguous_clusters(nb_clusters, s->cluster_size,
792 i += count_contiguous_clusters(nb_clusters - i, s->cluster_size,
820 uint64_t end_offset = offset + nb_clusters * s->cluster_size;
823 old_alloc->nb_clusters * s->cluster_size;
853 cluster_offset = qcow2_alloc_clusters(bs, nb_clusters * s->cluster_size);
916 if (decompress_buffer(s->cluster_cache, s->cluster_size,