Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-cluster.c312 slice_size2 = s->l2_slice_size * l2_entry_size(s); in l2_allocate()
455 assert(*l2_index + nb_clusters <= s->l2_slice_size); in count_contiguous_subclusters()
606 ((uint64_t) (s->l2_slice_size - offset_to_l2_slice_index(s, offset))) in qcow2_get_host_offset()
1066 assert(l2_index + m->nb_clusters <= s->l2_slice_size); in qcow2_alloc_cluster_link_l2()
1176 assert(nb_clusters <= s->l2_slice_size - l2_index); in calculate_l2_meta()
1520 nb_clusters = MIN(nb_clusters, s->l2_slice_size - l2_index); in handle_copied()
1685 nb_clusters = MIN(nb_clusters, s->l2_slice_size - l2_index); in handle_alloc()
1917 nb_clusters = MIN(nb_clusters, s->l2_slice_size - l2_index); in discard_in_l2_slice()
2056 nb_clusters = MIN(nb_clusters, s->l2_slice_size - l2_index); in zero_in_l2_slice()
2265 slice_size2 = s->l2_slice_size * l2_entry_size(s); in expand_zero_clusters_in_l1()
[all …]
H A Dqcow2.h330 int l2_slice_size; member
699 return (offset >> s->cluster_bits) & (s->l2_slice_size - 1); in offset_to_l2_slice_index()
H A Dqcow2.c976 int l2_slice_size; /* Number of entries in a slice of the L2 table */ member
1053 r->l2_slice_size = l2_cache_entry_size / l2_entry_size(s); in qcow2_update_options_prepare()
1231 s->l2_slice_size = r->l2_slice_size; in qcow2_update_options_commit()
4562 s->l2_slice_size - offset_to_l2_slice_index(s, guest_offset)); in qcow2_co_truncate()
H A Dqcow2-refcount.c1260 slice_size2 = s->l2_slice_size * l2_entry_size(s); in qcow2_update_snapshot_refcount()
1312 for (j = 0; j < s->l2_slice_size; j++) { in qcow2_update_snapshot_refcount()
1345 int l2_index = slice * s->l2_slice_size + j; in qcow2_update_snapshot_refcount()