Searched refs:ref_clusters (Results 1 – 1 of 1) sorted by relevance
851 int ref_clusters, reftable_clusters, backing_format_len = 0; in qcow_create2() local919 ref_clusters = NUM_CLUSTERS(NUM_CLUSTERS(offset) * sizeof(uint16_t)); in qcow_create2()923 old_ref_clusters = ref_clusters; in qcow_create2()926 reftable_clusters = NUM_CLUSTERS(ref_clusters * sizeof(uint64_t)); in qcow_create2()929 image_clusters = NUM_CLUSTERS(offset) + ref_clusters in qcow_create2()933 ref_clusters = NUM_CLUSTERS(image_clusters * sizeof(uint16_t)); in qcow_create2()935 } while (ref_clusters != old_ref_clusters); in qcow_create2()945 for (i=0; i < ref_clusters; i++) { in qcow_create2()950 s->refcount_block = qemu_mallocz(ref_clusters * s->cluster_size); in qcow_create2()959 ref_clusters * s->cluster_size); in qcow_create2()[all …]