Searched refs:slice_size2 (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cluster.c | 278 unsigned slice, slice_size2, n_slices; in l2_allocate() local 312 slice_size2 = s->l2_slice_size * l2_entry_size(s); in l2_allocate() 313 n_slices = s->cluster_size / slice_size2; in l2_allocate() 318 l2_offset + slice * slice_size2, in l2_allocate() 326 memset(l2_slice, 0, slice_size2); in l2_allocate() 340 memcpy(l2_slice, old_slice, slice_size2); in l2_allocate() 2258 unsigned slice, slice_size2, n_slices; in expand_zero_clusters_in_l1() local 2265 slice_size2 = s->l2_slice_size * l2_entry_size(s); in expand_zero_clusters_in_l1() 2266 n_slices = s->cluster_size / slice_size2; in expand_zero_clusters_in_l1() 2271 l2_slice = qemu_try_blockalign(bs->file->bs, slice_size2); in expand_zero_clusters_in_l1() [all …]
|
H A D | qcow2-refcount.c | 1251 unsigned slice, slice_size2, n_slices; in qcow2_update_snapshot_refcount() local 1260 slice_size2 = s->l2_slice_size * l2_entry_size(s); in qcow2_update_snapshot_refcount() 1261 n_slices = s->cluster_size / slice_size2; in qcow2_update_snapshot_refcount() 1306 l2_offset + slice * slice_size2, in qcow2_update_snapshot_refcount()
|