Home
last modified time | relevance | path

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

/linux-6.12.1/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.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()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_loader.c884 struct bpf_object_open_opts *open_opts, in run_subtest() argument
923 open_opts->btf_custom_path = spec->btf_custom_path; in run_subtest()
925 tobj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, open_opts); in run_subtest()
1056 LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = skel_name); in process_subtest()
1068 obj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, &open_opts); in process_subtest()
1097 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
1100 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
/linux-6.12.1/tools/bpf/bpftool/
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()
Dprog.c1516 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in load_with_options()
1688 open_opts.kernel_log_level = 1 + 2 + 4; in load_with_options()
1690 obj = bpf_object__open_file(file, &open_opts); in load_with_options()
1908 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_loader()
1920 open_opts.kernel_log_level = 1 + 2 + 4; in do_loader()
1922 obj = bpf_object__open_file(file, &open_opts); in do_loader()