Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
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()
Dcore_reloc.c1000 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in run_core_reloc_tests()
1060 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
1061 obj = bpf_object__open_file(test_case->bpf_obj_file, &open_opts); in run_core_reloc_tests()
/Linux-v6.6/tools/testing/selftests/bpf/
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()
/Linux-v6.6/tools/bpf/bpftool/
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()
Dprog.c1512 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in load_with_options()
1684 open_opts.kernel_log_level = 1 + 2 + 4; in load_with_options()
1686 obj = bpf_object__open_file(file, &open_opts); in load_with_options()
1897 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_loader()
1909 open_opts.kernel_log_level = 1 + 2 + 4; in do_loader()
1911 obj = bpf_object__open_file(file, &open_opts); in do_loader()