Home
last modified time | relevance | path

Searched refs:subcluster_bits (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2.h331 int subcluster_bits; member
678 return (size + (s->subcluster_size - 1)) >> s->subcluster_bits; in size_to_subclusters()
704 return (offset >> s->subcluster_bits) & (s->subclusters_per_cluster - 1); in offset_to_sc_index()
H A Dqcow2-cluster.c723 bytes_available = ((int64_t)sc + sc_index) << s->subcluster_bits; in qcow2_get_host_offset()
1230 MIN(sc_index, ctz32(alloc_bitmap)) << s->subcluster_bits; in calculate_l2_meta()
1237 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1249 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1277 clz32(alloc_bitmap)) << s->subcluster_bits; in calculate_l2_meta()
H A Dqcow2.c1477 s->subcluster_bits = ctz32(s->subcluster_size); in qcow2_do_open()