Home
last modified time | relevance | path

Searched refs:bpf_object_open_opts (Results 1 – 24 of 24) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp25 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 Dtesting_helpers.c287 LIBBPF_OPTS(bpf_object_open_opts, opts, in bpf_prog_test_load()
H A Dtest_loader.c937 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 Dveristat.c2134 LIBBPF_OPTS(bpf_object_open_opts, opts); in process_obj()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcb_refs.c22 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_cb_refs()
H A Dreference_tracking.c8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
H A Dtoken.c718 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 Dprobe_user.c15 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in serial_test_probe_user()
H A Dspin_lock.c78 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_spin_lock_fail_prog()
H A Dsummarization.c22 LIBBPF_OPTS(bpf_object_open_opts, opts); in test_aux()
H A Dcore_extern.c132 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_core_extern()
H A Dbpf_nf.c156 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_bpf_nf_ct_fail()
H A Dcore_autosize.c56 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in test_core_autosize()
H A Dpinning.c41 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_pinning()
H A Dkfunc_call.c155 LIBBPF_OPTS(bpf_object_open_opts, opts); in verify_fail()
H A Dexceptions.c89 LIBBPF_OPTS(bpf_object_open_opts, o, .kernel_log_buf = log_buf, \ in test_exceptions_success()
H A Dlinked_list.c104 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_linked_list_fail_prog()
H A Dcore_reloc.c1003 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in run_core_reloc_tests()
/linux/tools/lib/bpf/
H A Dlibbpf.h115 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 Dlibbpf.c3067 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 Dbpftool-gen.rst103 **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 Dstruct_ops.c499 LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_register()
H A Dgen.c1169 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 Dprog.c1569 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()