| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | test_cpp.cpp | 25 int open(const struct bpf_object_open_opts *opts = nullptr) in open() 64 LIBBPF_OPTS(bpf_object_open_opts, opts); in try_skeleton_template()
|
| H A D | testing_helpers.c | 287 LIBBPF_OPTS(bpf_object_open_opts, opts, in bpf_prog_test_load()
|
| H A D | test_loader.c | 943 struct bpf_object_open_opts *open_opts, in run_subtest() 1128 LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = skel_name); in process_subtest()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cb_refs.c | 22 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_cb_refs()
|
| H A D | token.c | 717 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_map() 745 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_prog() 795 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_freplace_setup() 876 LIBBPF_OPTS(bpf_object_open_opts, opts); in validate_struct_ops_load() 919 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_implicit_token() 979 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_implicit_token_envvar()
|
| H A D | reference_tracking.c | 8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
|
| H A D | probe_user.c | 15 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in serial_test_probe_user()
|
| H A D | spin_lock.c | 78 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_spin_lock_fail_prog()
|
| H A D | summarization.c | 22 LIBBPF_OPTS(bpf_object_open_opts, opts); in test_aux()
|
| H A D | core_extern.c | 132 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_core_extern()
|
| H A D | bpf_nf.c | 150 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_bpf_nf_ct_fail()
|
| H A D | log_buf.c | 34 LIBBPF_OPTS(bpf_object_open_opts, opts); in obj_load_log_buf()
|
| H A D | core_autosize.c | 56 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in test_core_autosize()
|
| H A D | pinning.c | 41 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_pinning()
|
| H A D | kfunc_call.c | 155 LIBBPF_OPTS(bpf_object_open_opts, opts); in verify_fail()
|
| H A D | exceptions.c | 89 LIBBPF_OPTS(bpf_object_open_opts, o, .kernel_log_buf = log_buf, \ in test_exceptions_success()
|
| H A D | fexit_bpf2bpf.c | 288 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in test_fmod_ret_freplace()
|
| H A D | linked_list.c | 103 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_linked_list_fail_prog()
|
| H A D | core_reloc.c | 1003 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in run_core_reloc_tests()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | libbpf.h | 115 struct bpf_object_open_opts { struct 228 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts); 242 const struct bpf_object_open_opts *opts); 1746 const struct bpf_object_open_opts *opts);
|
| H A D | libbpf.c | 3073 const struct bpf_object_open_opts *opts) in bpf_object__init_maps() 7946 static int bpf_object_init_progs(struct bpf_object *obj, const struct bpf_object_open_opts *opts) in bpf_object_init_progs() 7981 const struct bpf_object_open_opts *opts) in bpf_object_open() 7999 if (!OPTS_VALID(opts, bpf_object_open_opts)) in bpf_object_open() 8085 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts) in bpf_object__open_file() 8100 const struct bpf_object_open_opts *opts) in bpf_object__open_mem() 13920 const struct bpf_object_open_opts *opts) in bpf_object__open_skeleton()
|
| /linux-6.15/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-gen.rst | 103 **bpf_object_open_opts** options. 336 const struct bpf_object_open_opts *opts); 465 LIBBPF_OPTS(bpf_object_open_opts, opts, .btf_custom_path = "5.4.0-smaller.btf");
|
| /linux-6.15/tools/bpf/bpftool/ |
| H A D | struct_ops.c | 499 LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_register()
|
| H A D | gen.c | 1169 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_skeleton() 1574 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_subskeleton()
|
| H A D | prog.c | 1523 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in load_with_options() 1915 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_loader()
|