Home
last modified time | relevance | path

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

/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.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/tools/testing/selftests/bpf/
H A Dtest_loader.c1308 struct bpf_object_open_opts *open_opts, in run_subtest() argument
1362 open_opts->btf_custom_path = spec->btf_custom_path; in run_subtest()
1363 if (!open_opts->btf_custom_path) in run_subtest()
1364 open_opts->btf_custom_path = spec->btf_custom_func_path; in run_subtest()
1366 tobj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, open_opts); in run_subtest()
1525 LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = skel_name); in process_subtest()
1537 obj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, &open_opts); in process_subtest()
1566 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
1569 run_subtest(tester, &open_opts, obj_bytes, obj_byte_cnt, in process_subtest()
/linux/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()