Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage.c120 LIBBPF_OPTS(bpf_map_create_opts, create_opts); in __setup()
123 create_opts.map_flags = BPF_F_NO_PREALLOC; in __setup()
128 create_opts.btf_key_type_id = bpf_map__btf_key_type_id(inner_map); in __setup()
129 create_opts.btf_value_type_id = bpf_map__btf_value_type_id(inner_map); in __setup()
137 create_opts.btf_fd = bpf_object__btf_fd(ctx.skel->obj); in __setup()
148 sizeof(int), HASHMAP_SZ, &create_opts); in __setup()
151 sizeof(int), 0, &create_opts); in __setup()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c260 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_no_old_prog()
264 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_no_old_prog()
285 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_replace_old_prog()
289 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_replace_old_prog()
310 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_same_prog()
314 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_same_prog()
335 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_invalid_opts()
339 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_invalid_opts()
395 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_invalid_prog()
399 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_invalid_prog()
[all …]
/openbmc/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.c1574 .create_opts = &qemu_gluster_create_opts,
1603 .create_opts = &qemu_gluster_create_opts,
1632 .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.c3911 qdict = qemu_opts_to_qdict_filtered(opts, NULL, bdrv_qcow2.create_opts, in qcow2_co_create_opts()
5126 g_autoptr(QCryptoBlockCreateOptions) create_opts = NULL; in qcow2_measure()
5130 create_opts = block_crypto_create_opts_init(cryptoopts, errp); in qcow2_measure()
5132 if (!create_opts) { in qcow2_measure()
5136 if (!qcrypto_block_calculate_payload_offset(create_opts, in qcow2_measure()
6191 .create_opts = &qcow2_create_opts,
H A Dfile-posix.c3919 .create_opts = &raw_create_opts,
4261 .create_opts = &bdrv_create_opts_simple,
4400 .create_opts = &bdrv_create_opts_simple,
4526 .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.c1247 .create_opts = &vpc_create_opts,
H A Dssh.c1375 .create_opts = &ssh_create_opts,
H A Dqcow.c1209 .create_opts = &qcow_create_opts,
H A Dparallels.c1458 .create_opts = &parallels_create_opts,
H A Dqed.c1648 .create_opts = &qed_create_opts,
H A Drbd.c1828 .create_opts = &qemu_rbd_create_opts,
/openbmc/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()
/openbmc/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()
3901 opts = qemu_opts_create(bdrv_qcow2.create_opts, NULL, 0, in bdrv_append_temp_snapshot()
7234 QemuOptsList *create_opts = NULL; in bdrv_img_create() local
7256 if (!drv->create_opts) { in bdrv_img_create()
7262 if (!proto_drv->create_opts) { in bdrv_img_create()
7269 create_opts = qemu_opts_append(create_opts, drv->create_opts); in bdrv_img_create()
7270 create_opts = qemu_opts_append(create_opts, proto_drv->create_opts); in bdrv_img_create()
7272 opts = qemu_opts_create(create_opts, NULL, 0, &error_abort); in bdrv_img_create()
7418 qemu_opts_free(create_opts); in bdrv_img_create()
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dlpm_trie_map_batch_ops.c68 LIBBPF_OPTS(bpf_map_create_opts, create_opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_trie_map_batch_ops()
82 max_entries, &create_opts); in test_lpm_trie_map_batch_ops()
/openbmc/qemu/include/crypto/
H A Dblock.h198 qcrypto_block_calculate_payload_offset(QCryptoBlockCreateOptions *create_opts,
/openbmc/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()
/openbmc/qemu/include/block/
H A Dblock_int-common.h175 QemuOptsList *create_opts; member

12