Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qemu-iotests/
H A D122256 for min_sparse in 4k 8k; do
258 echo convert -S $min_sparse
259 $QEMU_IMG convert -O $IMGFMT -o cluster_size=1k -S $min_sparse "$TEST_IMG" "$TEST_IMG".orig
263 echo convert -c -S $min_sparse
265 $QEMU_IMG convert -O $IMGFMT -o cluster_size=1k -c -S $min_sparse "$TEST_IMG" "$TEST_IMG".orig
/openbmc/qemu/
H A Dqemu-img.c1692 int min_sparse; member
1902 if (!s->min_sparse || in convert_co_write()
1904 is_allocated_sectors_min(buf, n, &n, s->min_sparse, in convert_co_write()
2012 if (!s->min_sparse && s->status == BLK_ZERO) { in convert_co_do_copy()
2020 if (status == BLK_DATA || (!s->min_sparse && status == BLK_ZERO)) { in convert_co_do_copy()
2035 } else if (!s->min_sparse && status == BLK_ZERO) { in convert_co_do_copy()
2101 if (!s->has_zero_init && s->target_is_new && s->min_sparse && in convert_do_copy()
2260 .min_sparse = 8, in img_convert()
2347 s.min_sparse = sval / BDRV_SECTOR_SIZE; in img_convert()
2681 flags = s.min_sparse ? (BDRV_O_RDWR | BDRV_O_UNMAP) : BDRV_O_RDWR; in img_convert()
[all …]