Home
last modified time | relevance | path

Searched refs:supported_zero_flags (Results 1 – 20 of 20) sorted by relevance

/openbmc/qemu/block/
H A Dfilter-compress.c52 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in compress_open()
54 bs->file->bs->supported_zero_flags); in compress_open()
H A Dcopy-on-read.c61 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in cor_open()
63 bs->file->bs->supported_zero_flags); in cor_open()
H A Dthrottle.c92 bs->supported_zero_flags = bs->file->bs->supported_zero_flags | in throttle_open()
H A Dblkreplay.c36 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED; in blkreplay_open()
H A Dpreallocate.c169 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in preallocate_open()
171 bs->file->bs->supported_zero_flags); in preallocate_open()
H A Dcopy-before-write.c475 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in cbw_open()
477 bs->file->bs->supported_zero_flags); in cbw_open()
H A Dquorum.c931 bs->supported_zero_flags = in quorum_refresh_flags()
935 bs->supported_zero_flags &= s->children[i]->bs->supported_zero_flags; in quorum_refresh_flags()
938 bs->supported_zero_flags |= BDRV_REQ_WRITE_UNCHANGED; in quorum_refresh_flags()
H A Draw-format.c506 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in raw_open()
508 bs->file->bs->supported_zero_flags); in raw_open()
H A Dblkverify.c142 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED; in blkverify_open()
H A Dblkio.c902 bs->supported_zero_flags = BDRV_REQ_MAY_UNMAP | BDRV_REQ_NO_FALLBACK; in blkio_open()
904 bs->supported_zero_flags |= BDRV_REQ_FUA; in blkio_open()
H A Dblkdebug.c515 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in blkdebug_open()
517 bs->file->bs->supported_zero_flags); in blkdebug_open()
H A Dnbd.c303 bs->supported_zero_flags |= BDRV_REQ_FUA; in nbd_handle_updated_info()
307 bs->supported_zero_flags |= BDRV_REQ_MAY_UNMAP; in nbd_handle_updated_info()
309 bs->supported_zero_flags |= BDRV_REQ_NO_FALLBACK; in nbd_handle_updated_info()
H A Dio.c1856 if ((flags & ~bs->supported_zero_flags) & BDRV_REQ_NO_FALLBACK) { in bdrv_co_do_pwrite_zeroes()
1907 flags & bs->supported_zero_flags); in bdrv_co_do_pwrite_zeroes()
1909 !(bs->supported_zero_flags & BDRV_REQ_FUA)) { in bdrv_co_do_pwrite_zeroes()
1913 assert(!bs->supported_zero_flags); in bdrv_co_do_pwrite_zeroes()
H A Drbd.c1180 bs->supported_zero_flags = BDRV_REQ_MAY_UNMAP | BDRV_REQ_NO_FALLBACK; in qemu_rbd_open()
H A Dmirror.c1779 mirror_top_bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in mirror_start_job()
H A Discsi.c2024 bs->supported_zero_flags = BDRV_REQ_MAY_UNMAP; in iscsi_open()
H A Dqcow2.c1863 bs->supported_zero_flags = header.version >= 3 ? in qcow2_do_open()
2534 if (!(s->data_file->bs->supported_zero_flags & BDRV_REQ_NO_FALLBACK)) { in handle_alloc_space()
H A Dfile-posix.c807 bs->supported_zero_flags = BDRV_REQ_MAY_UNMAP | BDRV_REQ_NO_FALLBACK; in raw_open_common()
/openbmc/qemu/include/block/
H A Dblock_int-common.h1143 BdrvRequestFlags supported_zero_flags; member
/openbmc/qemu/
H A Dblock.c6542 return bs->supported_zero_flags & BDRV_REQ_MAY_UNMAP; in bdrv_can_write_zeroes_with_unmap()