Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dio.c1918 BdrvRequestFlags write_flags = flags & ~BDRV_REQ_ZERO_WRITE; in bdrv_co_do_pwrite_zeroes()
2090 !(flags & BDRV_REQ_ZERO_WRITE) && drv->bdrv_co_pwrite_zeroes && in bdrv_aligned_pwritev()
2092 flags |= BDRV_REQ_ZERO_WRITE; in bdrv_aligned_pwritev()
2103 } else if (flags & BDRV_REQ_ZERO_WRITE) { in bdrv_aligned_pwritev()
2174 flags & ~BDRV_REQ_ZERO_WRITE); in bdrv_co_do_zero_pwritev()
2204 flags & ~BDRV_REQ_ZERO_WRITE); in bdrv_co_do_zero_pwritev()
2242 if (flags & BDRV_REQ_ZERO_WRITE) { in bdrv_co_pwritev_part()
2270 if (!(flags & BDRV_REQ_ZERO_WRITE)) { in bdrv_co_pwritev_part()
2286 if (flags & BDRV_REQ_ZERO_WRITE) { in bdrv_co_pwritev_part()
2324 BDRV_REQ_ZERO_WRITE | flags); in bdrv_co_pwrite_zeroes()
[all …]
H A Dpreallocate.c403 !(flags & ~(BDRV_REQ_ZERO_WRITE | BDRV_REQ_NO_FALLBACK)); in preallocate_co_pwrite_zeroes()
H A Dqcow2.c1865 bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE; in qcow2_do_open()
4181 cur_write_flags |= BDRV_REQ_ZERO_WRITE; in qcow2_co_copy_range_from()
4188 cur_write_flags |= BDRV_REQ_ZERO_WRITE; in qcow2_co_copy_range_from()
4194 cur_write_flags |= BDRV_REQ_ZERO_WRITE; in qcow2_co_copy_range_from()
4533 if (flags & BDRV_REQ_ZERO_WRITE) { in qcow2_co_truncate()
4535 BDRV_REQ_ZERO_WRITE, NULL); in qcow2_co_truncate()
4537 flags &= ~BDRV_REQ_ZERO_WRITE; in qcow2_co_truncate()
4602 if ((flags & BDRV_REQ_ZERO_WRITE) && offset > old_length) { in qcow2_co_truncate()
H A Dquorum.c706 if (acb->flags & BDRV_REQ_ZERO_WRITE) { in write_quorum_entry()
764 flags | BDRV_REQ_ZERO_WRITE); in quorum_co_pwrite_zeroes()
H A Draw-format.c510 BDRV_REQ_ZERO_WRITE; in raw_open()
H A Dfile-win32.c433 bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE; in raw_open()
H A Dnfs.c624 bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE; in nfs_file_open()
H A Dblock-backend.c1628 flags | BDRV_REQ_ZERO_WRITE, cb, opaque); in blk_aio_pwrite_zeroes()
2531 flags | BDRV_REQ_ZERO_WRITE); in blk_co_pwrite_zeroes()
H A Dssh.c870 bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE; in ssh_open()
H A Dparallels.c295 BDRV_REQ_ZERO_WRITE, NULL); in allocate_clusters()
H A Drbd.c1184 bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE; in qemu_rbd_open()
H A Dvhdx.c1282 PREALLOC_MODE_OFF, BDRV_REQ_ZERO_WRITE, NULL); in vhdx_allocate_block()
H A Dfile-posix.c810 bs->supported_truncate_flags = BDRV_REQ_ZERO_WRITE; in raw_open_common()
/openbmc/qemu/include/block/
H A Dblock-common.h162 BDRV_REQ_ZERO_WRITE = 0x2, enumerator
/openbmc/qemu/block/export/
H A Dfuse.c456 truncate_flags |= BDRV_REQ_ZERO_WRITE; in fuse_do_truncate()
/openbmc/qemu/
H A Dqemu-io-cmds.c584 flags | BDRV_REQ_ZERO_WRITE); in do_pwrite_zeroes()