Home
last modified time | relevance | path

Searched refs:detect_zeroes (Results 1 – 14 of 14) sorted by relevance

/qemu/tests/qemu-iotests/
H A D191.out116 "detect_zeroes": "off",
157 "detect_zeroes": "off",
185 "detect_zeroes": "off",
226 "detect_zeroes": "off",
254 "detect_zeroes": "off",
295 "detect_zeroes": "off",
323 "detect_zeroes": "off",
352 "detect_zeroes": "off",
523 "detect_zeroes": "off",
564 "detect_zeroes": "off",
[all …]
H A D273.out25 "detect_zeroes": "off",
76 "detect_zeroes": "off",
104 "detect_zeroes": "off",
144 "detect_zeroes": "off",
172 "detect_zeroes": "off",
H A D184.out28 "detect_zeroes": "off",
61 "detect_zeroes": "off",
/qemu/block/
H A Dqapi-sysemu.c319 bool detect_zeroes; in qmp_blockdev_change_medium() local
358 detect_zeroes = blk_get_detect_zeroes_from_root_state(blk); in qmp_blockdev_change_medium()
359 qdict_put_str(options, "detect-zeroes", detect_zeroes ? "on" : "off"); in qmp_blockdev_change_medium()
H A Dqapi.c89 info->detect_zeroes = bs->detect_zeroes; in bdrv_block_device_info()
H A Dblock-backend.c2681 blk->root_state.detect_zeroes = blk->root->bs->detect_zeroes; in blk_update_root_state()
2691 return blk->root_state.detect_zeroes; in blk_get_detect_zeroes_from_root_state()
H A Dio.c2084 if (!ret && bs->detect_zeroes != BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF && in bdrv_aligned_pwritev()
2088 if (bs->detect_zeroes == BLOCKDEV_DETECT_ZEROES_OPTIONS_UNMAP) { in bdrv_aligned_pwritev()
/qemu/
H A Dqemu-nbd.c591 BlockdevDetectZeroesOptions detect_zeroes = BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF; in main() local
671 detect_zeroes = in main()
681 if (detect_zeroes == BLOCKDEV_DETECT_ZEROES_OPTIONS_UNMAP && in main()
1150 bs->detect_zeroes = detect_zeroes; in main()
H A Dblockdev.c382 BlockdevDetectZeroesOptions *detect_zeroes, Error **errp) in extract_common_blockdev_options() argument
454 if (detect_zeroes) { in extract_common_blockdev_options()
455 *detect_zeroes = in extract_common_blockdev_options()
496 BlockdevDetectZeroesOptions detect_zeroes = in blockdev_init() local
536 &detect_zeroes, &error); in blockdev_init()
590 blk_rs->detect_zeroes = detect_zeroes; in blockdev_init()
618 bs->detect_zeroes = detect_zeroes; in blockdev_init()
H A Dblock.c1106 BlockdevDetectZeroesOptions detect_zeroes = in bdrv_parse_detect_zeroes() local
1113 return detect_zeroes; in bdrv_parse_detect_zeroes()
1116 if (detect_zeroes == BLOCKDEV_DETECT_ZEROES_OPTIONS_UNMAP && in bdrv_parse_detect_zeroes()
1123 return detect_zeroes; in bdrv_parse_detect_zeroes()
1967 bs->detect_zeroes = in bdrv_open_common()
4852 reopen_state->detect_zeroes = in bdrv_reopen_prepare()
5062 bs->detect_zeroes = reopen_state->detect_zeroes; in bdrv_reopen_commit()
/qemu/include/block/
H A Dblock-common.h338 BlockdevDetectZeroesOptions detect_zeroes; member
H A Dblock_int-common.h1192 BlockdevDetectZeroesOptions detect_zeroes; member
1264 BlockdevDetectZeroesOptions detect_zeroes; member
/qemu/block/monitor/
H A Dblock-hmp-cmds.c675 if (inserted->detect_zeroes != BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF) { in print_block_info()
677 BlockdevDetectZeroesOptions_str(inserted->detect_zeroes)); in print_block_info()
/qemu/qapi/
H A Dblock-core.json491 # @detect_zeroes: detect and optimize zero writes (Since 2.1)
560 'detect_zeroes': 'BlockdevDetectZeroesOptions',