Home
last modified time | relevance | path

Searched refs:bpf_link_create_opts (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c124 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_link_create()
149 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_prog_attach_link_create()
176 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_prog_attach()
199 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_prog_detach()
243 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_close_query()
260 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_no_old_prog()
285 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_replace_old_prog()
310 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_same_prog()
335 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_invalid_opts()
395 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_invalid_prog()
[all …]
H A Dkprobe_multi_test.c64 static void test_link_api(struct bpf_link_create_opts *opts) in test_link_api()
103 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_addrs()
122 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_syms()
H A Dxdp_attach.c112 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_xdp_attach_fail()
H A Duprobe_multi_test.c374 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_attach_api_fails()
592 LIBBPF_OPTS(bpf_link_create_opts, opts); in attach_uprobe_fail_refctr()
662 LIBBPF_OPTS(bpf_link_create_opts, opts); in __test_link_api()
/linux/tools/lib/bpf/
H A Dbpf.h396 struct bpf_link_create_opts { struct
448 const struct bpf_link_create_opts *opts);
H A Dbpf.c727 const struct bpf_link_create_opts *opts) in bpf_link_create()
734 if (!OPTS_VALID(opts, bpf_link_create_opts)) in bpf_link_create()
H A Dlibbpf.c10842 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, link_opts, in bpf_program__attach_perf_event_opts()
11553 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_kprobe_multi_opts()
12030 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_uprobe_multi()
12653 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in bpf_program__attach_btf_id()
12716 const struct bpf_link_create_opts *opts) in bpf_program_attach_fd()
12775 LIBBPF_OPTS(bpf_link_create_opts, link_create_opts); in bpf_program__attach_tcx()
12810 LIBBPF_OPTS(bpf_link_create_opts, link_create_opts); in bpf_program__attach_netkit()
12859 LIBBPF_OPTS(bpf_link_create_opts, target_opts); in bpf_program__attach_freplace()
12881 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, link_create_opts); in bpf_program__attach_iter()
12925 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_netfilter()
/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c2566 LIBBPF_OPTS(bpf_link_create_opts, opts, .flags = flags); in is_xdp_supported()