Home
last modified time | relevance | path

Searched refs:open_opts (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-crypto-block.c111 QCryptoBlockOpenOptions *open_opts; member
127 .open_opts = &qcow_open_opts,
140 .open_opts = &luks_open_opts,
155 .open_opts = &luks_open_opts,
170 .open_opts = &luks_open_opts,
302 blk = qcrypto_block_open(data->open_opts, NULL, in test_block()
310 blk = qcrypto_block_open(data->open_opts, NULL, in test_block()
324 blk = qcrypto_block_open(data->open_opts, NULL, in test_block()
575 if (test_data[i].open_opts->format == QCRYPTO_BLOCK_FORMAT_LUKS && in main()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dreference_tracking.c8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
17 obj_iter = bpf_object__open_file(file, &open_opts); in test_reference_tracking()
34 obj = bpf_object__open_file(file, &open_opts); in test_reference_tracking()
H A Dcore_autosize.c56 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in test_core_autosize()
128 open_opts.btf_custom_path = btf_file; in test_core_autosize()
129 skel = test_core_autosize__open_opts(&open_opts); in test_core_autosize()
206 open_opts.btf_custom_path = btf_file; in test_core_autosize()
207 skel = test_core_autosize__open_opts(&open_opts); in test_core_autosize()
H A Dcore_reloc.c1001 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in run_core_reloc_tests()
1061 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
1062 obj = bpf_object__open_file(test_case->bpf_obj_file, &open_opts); in run_core_reloc_tests()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c533 struct bpf_object_open_opts *open_opts, in run_subtest() argument
564 tobj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, open_opts); in run_subtest()
646 LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = skel_name); in process_subtest()
658 obj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, &open_opts); in process_subtest()
687 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
690 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
/openbmc/linux/tools/bpf/bpftool/
H A Dstruct_ops.c493 LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_register()
519 open_opts.kernel_log_level = 1 + 2 + 4; in do_register()
521 obj = bpf_object__open_file(file, &open_opts); in do_register()
H A Dprog.c1519 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in load_with_options()
1691 open_opts.kernel_log_level = 1 + 2 + 4; in load_with_options()
1693 obj = bpf_object__open_file(file, &open_opts); in load_with_options()
1911 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_loader()
1923 open_opts.kernel_log_level = 1 + 2 + 4; in do_loader()
1925 obj = bpf_object__open_file(file, &open_opts); in do_loader()
/openbmc/qemu/block/
H A Dcrypto.c318 QCryptoBlockOpenOptions *open_opts = NULL; in block_crypto_open_generic() local
350 open_opts = block_crypto_open_opts_init(cryptoopts, errp); in block_crypto_open_generic()
351 if (!open_opts) { in block_crypto_open_generic()
362 crypto->block = qcrypto_block_open(open_opts, NULL, in block_crypto_open_generic()
378 qapi_free_QCryptoBlockOpenOptions(open_opts); in block_crypto_open_generic()
/openbmc/qemu/
H A Dqemu-img.c2246 QDict *open_opts = NULL; in img_convert() local
2667 open_opts = qdict_new(); in img_convert()
2668 qemu_opt_foreach(opts, img_add_key_secrets, open_opts, &error_abort); in img_convert()
2705 s.target = img_open_file(out_filename, open_opts, out_fmt, in img_convert()
2707 open_opts = NULL; /* blk_new_open will have freed it */ in img_convert()
2800 qobject_unref(open_opts); in img_convert()