Home
last modified time | relevance | path

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

12

/linux-6.15/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.c943 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 Dcb_refs.c22 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_cb_refs()
H A Dtoken.c717 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 Dreference_tracking.c8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
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.c150 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_bpf_nf_ct_fail()
H A Dlog_buf.c34 LIBBPF_OPTS(bpf_object_open_opts, opts); in obj_load_log_buf()
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 Dfexit_bpf2bpf.c288 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in test_fmod_ret_freplace()
H A Dlinked_list.c103 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-6.15/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);
1746 const struct bpf_object_open_opts *opts);
H A Dlibbpf.c3073 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 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-6.15/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()
1574 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_subskeleton()
H A Dprog.c1523 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()

12