/linux/tools/lib/bpf/ |
H A D | features.c | 60 LIBBPF_OPTS(bpf_prog_load_opts, prog_opts, in probe_kern_global_data() 226 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_exp_attach_type() 248 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_probe_read_kernel() 276 LIBBPF_OPTS(bpf_prog_load_opts, prog_opts, in probe_prog_bind_map() 339 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_perf_link() 365 LIBBPF_OPTS(bpf_prog_load_opts, load_opts, in probe_uprobe_multi_link() 434 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_bpf_cookie() 488 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_arg_ctx_tag()
|
H A D | bpf_gen_internal.h | 66 struct bpf_prog_load_opts *load_attr, int prog_idx);
|
H A D | bpf.h | 68 struct bpf_prog_load_opts { struct 120 struct bpf_prog_load_opts *opts); argument 69 szbpf_prog_load_opts global() argument 75 attemptsbpf_prog_load_opts global() argument 77 expected_attach_typebpf_prog_load_opts global() argument 78 prog_btf_fdbpf_prog_load_opts global() argument 79 prog_flagsbpf_prog_load_opts global() argument 80 prog_ifindexbpf_prog_load_opts global() argument 81 kern_versionbpf_prog_load_opts global() argument 83 attach_btf_idbpf_prog_load_opts global() argument 84 attach_prog_fdbpf_prog_load_opts global() argument 85 attach_btf_obj_fdbpf_prog_load_opts global() argument 87 fd_arraybpf_prog_load_opts global() argument 90 func_infobpf_prog_load_opts global() argument 91 func_info_cntbpf_prog_load_opts global() argument 115 line_info_cntbpf_prog_load_opts global() argument
|
H A D | libbpf.h | 1855 struct bpf_prog_load_opts; /* defined in bpf.h */ 1867 struct bpf_prog_load_opts *opts, long cookie);
|
H A D | gen_loader.c | 970 int core_relos, struct bpf_prog_load_opts *load_attr) in info_blob_bswap() 990 struct bpf_prog_load_opts *load_attr, int prog_idx) in bpf_gen__prog_load()
|
H A D | bpf.c | 239 struct bpf_prog_load_opts *opts) in bpf_prog_load() 252 if (!OPTS_VALID(opts, bpf_prog_load_opts)) in bpf_prog_load()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_dev_bound_only.c | 11 LIBBPF_OPTS(bpf_prog_load_opts, opts); in load_dummy_prog()
|
H A D | fexit_stress.c | 25 LIBBPF_OPTS(bpf_prog_load_opts, trace_opts, in serial_test_fexit_stress()
|
H A D | module_fentry_shadow.c | 70 LIBBPF_OPTS(bpf_prog_load_opts, load_opts, in test_module_fentry_shadow()
|
H A D | custom_sec_handlers.c | 22 struct bpf_prog_load_opts *opts, long cookie) in custom_prepare_load_prog()
|
H A D | verifier_log.c | 36 static int load_prog(struct bpf_prog_load_opts *opts, bool expect_load_error) in load_prog() 49 LIBBPF_OPTS(bpf_prog_load_opts, opts); in verif_log_subtest()
|
H A D | sock_create.c | 258 LIBBPF_OPTS(bpf_prog_load_opts, opts, in load_prog()
|
H A D | fd_array.c | 110 LIBBPF_OPTS(bpf_prog_load_opts, opts); in __load_test_prog()
|
H A D | unpriv_bpf_disabled.c | 151 LIBBPF_OPTS(bpf_prog_load_opts, load_opts); in test_unpriv_bpf_disabled_negative()
|
H A D | sock_post_bind.c | 283 LIBBPF_OPTS(bpf_prog_load_opts, opts, in load_prog()
|
H A D | align.c | 607 LIBBPF_OPTS(bpf_prog_load_opts, opts, in do_test_single()
|
H A D | ctx_rewrite.c | 660 LIBBPF_OPTS(bpf_prog_load_opts, opts); in match_program()
|
H A D | sockopt.c | 968 LIBBPF_OPTS(bpf_prog_load_opts, opts, in load_prog()
|
H A D | token.c | 639 LIBBPF_OPTS(bpf_prog_load_opts, prog_opts); in userns_prog_load()
|
H A D | test_sysctl.c | 1424 LIBBPF_OPTS(bpf_prog_load_opts, opts); in load_sysctl_prog_insns()
|
/linux/samples/bpf/ |
H A D | sock_example.c | 63 LIBBPF_OPTS(bpf_prog_load_opts, opts, in test_sock()
|
H A D | fds_example.c | 67 LIBBPF_OPTS(bpf_prog_load_opts, opts, in bpf_prog_create()
|
H A D | cookie_uid_helper_example.c | 160 LIBBPF_OPTS(bpf_prog_load_opts, opts, in prog_load()
|
/linux/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 265 LIBBPF_OPTS(bpf_prog_load_opts, opts); in testing_prog_flags() 329 LIBBPF_OPTS(bpf_prog_load_opts, opts, in bpf_test_load_program()
|
/linux/tools/bpf/bpftool/ |
H A D | feature.c | 518 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_prog_load_ifindex() 786 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_misc_feature()
|