Searched refs:supported_zero_flags (Results 1 – 20 of 20) sorted by relevance
52 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in compress_open()54 bs->file->bs->supported_zero_flags); in compress_open()
61 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in cor_open()63 bs->file->bs->supported_zero_flags); in cor_open()
92 bs->supported_zero_flags = bs->file->bs->supported_zero_flags | in throttle_open()
36 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED; in blkreplay_open()
169 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in preallocate_open()171 bs->file->bs->supported_zero_flags); in preallocate_open()
475 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in cbw_open()477 bs->file->bs->supported_zero_flags); in cbw_open()
931 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()
506 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in raw_open()508 bs->file->bs->supported_zero_flags); in raw_open()
142 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED; in blkverify_open()
902 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()
515 bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in blkdebug_open()517 bs->file->bs->supported_zero_flags); in blkdebug_open()
303 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()
1856 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()
1180 bs->supported_zero_flags = BDRV_REQ_MAY_UNMAP | BDRV_REQ_NO_FALLBACK; in qemu_rbd_open()
1779 mirror_top_bs->supported_zero_flags = BDRV_REQ_WRITE_UNCHANGED | in mirror_start_job()
2024 bs->supported_zero_flags = BDRV_REQ_MAY_UNMAP; in iscsi_open()
1863 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()
807 bs->supported_zero_flags = BDRV_REQ_MAY_UNMAP | BDRV_REQ_NO_FALLBACK; in raw_open_common()
1143 BdrvRequestFlags supported_zero_flags; member
6542 return bs->supported_zero_flags & BDRV_REQ_MAY_UNMAP; in bdrv_can_write_zeroes_with_unmap()