Searched refs:detect_zeroes (Results 1 – 14 of 14) sorted by relevance
/qemu/tests/qemu-iotests/ |
H A D | 191.out | 116 "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 D | 273.out | 25 "detect_zeroes": "off", 76 "detect_zeroes": "off", 104 "detect_zeroes": "off", 144 "detect_zeroes": "off", 172 "detect_zeroes": "off",
|
H A D | 184.out | 28 "detect_zeroes": "off", 61 "detect_zeroes": "off",
|
/qemu/block/ |
H A D | qapi-sysemu.c | 319 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 D | qapi.c | 89 info->detect_zeroes = bs->detect_zeroes; in bdrv_block_device_info()
|
H A D | block-backend.c | 2681 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 D | io.c | 2084 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 D | qemu-nbd.c | 591 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 D | blockdev.c | 382 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 D | block.c | 1106 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 D | block-common.h | 338 BlockdevDetectZeroesOptions detect_zeroes; member
|
H A D | block_int-common.h | 1192 BlockdevDetectZeroesOptions detect_zeroes; member 1264 BlockdevDetectZeroesOptions detect_zeroes; member
|
/qemu/block/monitor/ |
H A D | block-hmp-cmds.c | 675 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 D | block-core.json | 491 # @detect_zeroes: detect and optimize zero writes (Since 2.1) 560 'detect_zeroes': 'BlockdevDetectZeroesOptions',
|