Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-cluster.c458 unsigned first_sc = (i == 0) ? sc_index : 0; in count_contiguous_subclusters() local
462 first_sc, &type); in count_contiguous_subclusters()
487 if (first_sc + ret < s->subclusters_per_cluster) { in count_contiguous_subclusters()
1091 int first_sc, last_sc; in qcow2_alloc_cluster_link_l2() local
1096 first_sc = offset_to_sc_index(s, written_from); in qcow2_alloc_cluster_link_l2()
1098 l2_bitmap |= QCOW_OFLAG_SUB_ALLOC_RANGE(first_sc, last_sc + 1); in qcow2_alloc_cluster_link_l2()
1099 l2_bitmap &= ~QCOW_OFLAG_SUB_ZERO_RANGE(first_sc, last_sc + 1); in qcow2_alloc_cluster_link_l2()
1185 int first_sc = offset_to_sc_index(s, write_from); in calculate_l2_meta() local
1188 first_sc, &type); in calculate_l2_meta()
1190 if (type != QCOW2_SUBCLUSTER_NORMAL || first_sc + cnt <= last_sc) { in calculate_l2_meta()