Lines Matching refs:subcluster_size
1476 s->subcluster_size = s->cluster_size / s->subclusters_per_cluster; in qcow2_do_open()
1477 s->subcluster_bits = ctz32(s->subcluster_size); in qcow2_do_open()
1479 if (s->subcluster_size < (1 << MIN_CLUSTER_BITS)) { in qcow2_do_open()
1480 error_setg(errp, "Unsupported subcluster size: %d", s->subcluster_size); in qcow2_do_open()
1983 bs->bl.pwrite_zeroes_alignment = s->subcluster_size; in qcow2_refresh_limits()
4069 uint32_t tail = ROUND_UP(offset + bytes, s->subcluster_size) - in qcow2_co_pwrite_zeroes()
4082 assert(head + bytes + tail <= s->subcluster_size); in qcow2_co_pwrite_zeroes()
4093 bytes = s->subcluster_size; in qcow2_co_pwrite_zeroes()
4094 nr = s->subcluster_size; in qcow2_co_pwrite_zeroes()
4603 uint64_t zero_start = QEMU_ALIGN_UP(old_length, s->subcluster_size); in qcow2_co_truncate()
5244 bdi->subcluster_size = s->subcluster_size; in qcow2_co_get_info()