Lines Matching refs:slice_size2
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()
330 (old_l2_offset & L1E_OFFSET_MASK) + slice * 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()
2305 uint64_t slice_offset = l2_offset + slice * slice_size2; in expand_zero_clusters_in_l1()
2313 ret = bdrv_pread(bs->file, slice_offset, slice_size2, in expand_zero_clusters_in_l1()
2425 slice_offset, slice_size2, false); in expand_zero_clusters_in_l1()
2430 ret = bdrv_pwrite(bs->file, slice_offset, slice_size2, in expand_zero_clusters_in_l1()