/linux/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 | 937 struct bpf_object_open_opts *open_opts, in run_subtest() 1124 LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = skel_name); in process_subtest()
|
H A D | veristat.c | 2134 LIBBPF_OPTS(bpf_object_open_opts, opts); in process_obj()
|
/linux/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 | reference_tracking.c | 8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
|
H A D | token.c | 718 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_map() 746 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_prog() 796 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_freplace_setup() 877 LIBBPF_OPTS(bpf_object_open_opts, opts); in validate_struct_ops_load() 920 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_implicit_token() 980 LIBBPF_OPTS(bpf_object_open_opts, opts); in userns_obj_priv_implicit_token_envvar()
|
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 | 156 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_bpf_nf_ct_fail()
|
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 | linked_list.c | 104 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/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); 952 * See bpf_object_open_opts comments regarding log_level and log_buf 1772 const struct bpf_object_open_opts *opts); 117 szbpf_object_open_opts global() argument 124 object_namebpf_object_open_opts global() argument 126 relaxed_mapsbpf_object_open_opts global() argument 131 pin_root_pathbpf_object_open_opts global() argument 138 kconfigbpf_object_open_opts global() argument 145 btf_custom_pathbpf_object_open_opts global() argument 167 kernel_log_bufbpf_object_open_opts global() argument 168 kernel_log_sizebpf_object_open_opts global() argument 205 bpf_token_pathbpf_object_open_opts global() argument
|
H A D | libbpf.c | 3067 const struct bpf_object_open_opts *opts) in bpf_object__init_maps() 7952 static int bpf_object_init_progs(struct bpf_object *obj, const struct bpf_object_open_opts *opts) in bpf_object_init_progs() 7987 const struct bpf_object_open_opts *opts) in bpf_object_open() 8005 if (!OPTS_VALID(opts, bpf_object_open_opts)) in bpf_object_open() 8091 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts) in bpf_object__open_file() 8106 const struct bpf_object_open_opts *opts) in bpf_object__open_mem() 13969 const struct bpf_object_open_opts *opts) in bpf_object__open_skeleton()
|
/linux/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/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() 1372 static inline struct %1$s *open(const struct bpf_object_open_opts *opts = nullptr);\n\ in do_skeleton() 1396 %1$s__open_opts(const struct bpf_object_open_opts *opts) \n\ in do_skeleton() 1532 struct %1$s *%1$s::open(const struct bpf_object_open_opts *opts) { return %1$s__open_opts(opts); }\n\ in do_skeleton() 1574 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_subskeleton()
|
H A D | prog.c | 1569 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in load_with_options() 1970 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_loader()
|