Home
last modified time | relevance | path

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

/linux-6.15/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.c1003 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in run_core_reloc_tests()
1063 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
1064 obj = bpf_object__open_file(test_case->bpf_obj_file, &open_opts); in run_core_reloc_tests()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_loader.c943 struct bpf_object_open_opts *open_opts, in run_subtest() argument
995 open_opts->btf_custom_path = spec->btf_custom_path; in run_subtest()
997 tobj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, open_opts); in run_subtest()
1128 LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = skel_name); in process_subtest()
1140 obj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, &open_opts); in process_subtest()
1169 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
1172 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
/linux-6.15/tools/bpf/bpftool/
H A Dstruct_ops.c499 LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_register()
525 open_opts.kernel_log_level = 1 + 2 + 4; in do_register()
527 obj = bpf_object__open_file(file, &open_opts); in do_register()
H A Dprog.c1523 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in load_with_options()
1695 open_opts.kernel_log_level = 1 + 2 + 4; in load_with_options()
1697 obj = bpf_object__open_file(file, &open_opts); in load_with_options()
1915 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_loader()
1927 open_opts.kernel_log_level = 1 + 2 + 4; in do_loader()
1929 obj = bpf_object__open_file(file, &open_opts); in do_loader()