Home
last modified time | relevance | path

Searched refs:create_opts (Results 1 – 25 of 26) sorted by relevance

12

/qemu/block/
H A Dcrypto.c625 g_autoptr(QCryptoBlockCreateOptions) create_opts = NULL; in block_crypto_measure()
655 create_opts = block_crypto_create_opts_init(cryptoopts, &local_err); in block_crypto_measure()
657 if (!create_opts) { in block_crypto_measure()
661 if (!qcrypto_block_calculate_payload_offset(create_opts, NULL, in block_crypto_measure()
705 QCryptoBlockCreateOptions create_opts; in block_crypto_co_create_luks() local
726 create_opts = (QCryptoBlockCreateOptions) { in block_crypto_co_create_luks()
745 ret = block_crypto_co_create_generic(hdr_bs, 0, &create_opts, in block_crypto_co_create_luks()
765 ret = block_crypto_co_create_generic(bs, luks_opts->size, &create_opts, in block_crypto_co_create_luks()
788 QCryptoBlockCreateOptions *create_opts = NULL; in block_crypto_co_create_opts_luks() local
817 create_opts = block_crypto_create_opts_init(cryptoopts, errp); in block_crypto_co_create_opts_luks()
[all …]
H A Dgluster.c1570 .create_opts = &qemu_gluster_create_opts,
1599 .create_opts = &qemu_gluster_create_opts,
1628 .create_opts = &qemu_gluster_create_opts,
H A Dnbd.c2148 .create_opts = &bdrv_create_opts_simple,
2176 .create_opts = &bdrv_create_opts_simple,
2204 .create_opts = &bdrv_create_opts_simple,
H A Draw-format.c670 .create_opts = &raw_create_opts,
H A Dqcow2.c3915 qdict = qemu_opts_to_qdict_filtered(opts, NULL, bdrv_qcow2.create_opts, in qcow2_co_create_opts()
5130 g_autoptr(QCryptoBlockCreateOptions) create_opts = NULL; in qcow2_measure()
5134 create_opts = block_crypto_create_opts_init(cryptoopts, errp); in qcow2_measure()
5136 if (!create_opts) { in qcow2_measure()
5140 if (!qcrypto_block_calculate_payload_offset(create_opts, in qcow2_measure()
6195 .create_opts = &qcow2_create_opts,
H A Dfile-posix.c4013 .create_opts = &raw_create_opts,
4449 .create_opts = &bdrv_create_opts_simple,
4588 .create_opts = &bdrv_create_opts_simple,
4714 .create_opts = &bdrv_create_opts_simple,
H A Dfile-win32.c768 .create_opts = &raw_create_opts,
H A Dnfs.c882 .create_opts = &nfs_create_opts,
H A Dvdi.c1058 .create_opts = &vdi_create_opts,
H A Discsi.c2435 .create_opts = &bdrv_create_opts_simple,
2474 .create_opts = &bdrv_create_opts_simple,
H A Dvpc.c1252 .create_opts = &vpc_create_opts,
H A Dqcow.c1209 .create_opts = &qcow_create_opts,
H A Dssh.c1375 .create_opts = &ssh_create_opts,
H A Dparallels.c1462 .create_opts = &parallels_create_opts,
H A Drbd.c1827 .create_opts = &qemu_rbd_create_opts,
H A Dqed.c1649 .create_opts = &qed_create_opts,
H A Dnvme.c1635 .create_opts = &bdrv_create_opts_simple,
H A Dvhdx.c2265 .create_opts = &vhdx_create_opts,
H A Dvmdk.c3184 .create_opts = &vmdk_create_opts,
/qemu/
H A Dqemu-img.c309 QemuOptsList *create_opts = NULL; in print_block_option_help() local
319 if (!drv->create_opts) { in print_block_option_help()
324 create_opts = qemu_opts_append(create_opts, drv->create_opts); in print_block_option_help()
329 qemu_opts_free(create_opts); in print_block_option_help()
332 if (!proto_drv->create_opts) { in print_block_option_help()
335 qemu_opts_free(create_opts); in print_block_option_help()
338 create_opts = qemu_opts_append(create_opts, proto_drv->create_opts); in print_block_option_help()
346 qemu_opts_print_help(create_opts, false); in print_block_option_help()
347 qemu_opts_free(create_opts); in print_block_option_help()
2245 QemuOptsList *create_opts = NULL; in img_convert() local
[all …]
H A Dblock.c710 if (!drv->create_opts) { in bdrv_co_create_file()
731 protocol_opts = qemu_opts_from_qdict(drv->create_opts, qdict, errp); in bdrv_co_create_file()
3941 opts = qemu_opts_create(bdrv_qcow2.create_opts, NULL, 0, in bdrv_append_temp_snapshot()
7319 QemuOptsList *create_opts = NULL; in bdrv_img_create() local
7341 if (!drv->create_opts) { in bdrv_img_create()
7347 if (!proto_drv->create_opts) { in bdrv_img_create()
7354 create_opts = qemu_opts_append(create_opts, drv->create_opts); in bdrv_img_create()
7355 create_opts = qemu_opts_append(create_opts, proto_drv->create_opts); in bdrv_img_create()
7357 opts = qemu_opts_create(create_opts, NULL, 0, &error_abort); in bdrv_img_create()
7503 qemu_opts_free(create_opts); in bdrv_img_create()
/qemu/tests/unit/
H A Dtest-crypto-block.c110 QCryptoBlockCreateOptions *create_opts; member
126 .create_opts = &qcow_create_opts,
139 .create_opts = &luks_create_opts_default,
154 .create_opts = &luks_create_opts_aes256_cbc_plain64,
169 .create_opts = &luks_create_opts_aes256_cbc_essiv,
282 blk = qcrypto_block_create(data->create_opts, NULL, in test_block()
/qemu/include/crypto/
H A Dblock.h198 qcrypto_block_calculate_payload_offset(QCryptoBlockCreateOptions *create_opts,
/qemu/crypto/
H A Dblock.c141 qcrypto_block_calculate_payload_offset(QCryptoBlockCreateOptions *create_opts, in qcrypto_block_calculate_payload_offset() argument
148 qcrypto_block_create(create_opts, optprefix, in qcrypto_block_calculate_payload_offset()
/qemu/include/block/
H A Dblock_int-common.h175 QemuOptsList *create_opts; member

12