Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_cpp.cpp20 int open(const struct bpf_object_open_opts *opts = nullptr) in open()
59 LIBBPF_OPTS(bpf_object_open_opts, opts); in try_skeleton_template()
Dtest_loader.c533 struct bpf_object_open_opts *open_opts, in run_subtest()
646 LIBBPF_OPTS(bpf_object_open_opts, open_opts, .object_name = skel_name); in process_subtest()
Dtesting_helpers.c258 LIBBPF_OPTS(bpf_object_open_opts, opts, in bpf_prog_test_load()
Dveristat.c1026 LIBBPF_OPTS(bpf_object_open_opts, opts); in process_obj()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dcb_refs.c22 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_cb_refs()
Dreference_tracking.c8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
Dprobe_user.c15 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in serial_test_probe_user()
Dspin_lock.c73 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_spin_lock_fail_prog()
Dcore_extern.c132 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_core_extern()
Dbpf_nf.c140 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_bpf_nf_ct_fail()
Dlog_buf.c33 LIBBPF_OPTS(bpf_object_open_opts, opts); in obj_load_log_buf()
Dcore_autosize.c56 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in test_core_autosize()
Dpinning.c41 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_pinning()
Dkfunc_call.c153 LIBBPF_OPTS(bpf_object_open_opts, opts); in verify_fail()
Dfexit_bpf2bpf.c288 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in test_fmod_ret_freplace()
Dlinked_list.c109 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_linked_list_fail_prog()
Dcore_reloc.c1000 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in run_core_reloc_tests()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.h112 struct bpf_object_open_opts { struct
206 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts);
220 const struct bpf_object_open_opts *opts);
1566 const struct bpf_object_open_opts *opts);
Dlibbpf.c2667 const struct bpf_object_open_opts *opts) in bpf_object__init_maps()
7337 static int bpf_object_init_progs(struct bpf_object *obj, const struct bpf_object_open_opts *opts) in bpf_object_init_progs()
7371 const struct bpf_object_open_opts *opts) in bpf_object_open()
7387 if (!OPTS_VALID(opts, bpf_object_open_opts)) in bpf_object_open()
7460 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts) in bpf_object__open_file()
7477 const struct bpf_object_open_opts *opts) in bpf_object__open_mem()
12990 const struct bpf_object_open_opts *opts) in bpf_object__open_skeleton()
12992 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, skel_opts, in bpf_object__open_skeleton()
/Linux-v6.6/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst116 **_opts** variants accepts extra **bpf_object_open_opts**
319 const struct bpf_object_open_opts *opts);
441 LIBBPF_OPTS(bpf_object_open_opts, opts, .btf_custom_path = "5.4.0-smaller.btf");
/Linux-v6.6/tools/bpf/bpftool/
Dstruct_ops.c493 LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_register()
Dgen.c910 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_skeleton()
1279 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_subskeleton()
Dprog.c1512 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in load_with_options()
1897 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in do_loader()