Home
last modified time | relevance | path

Searched refs:bpf_link_create (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c127 link1 = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()
136 link2 = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()
161 link = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_prog_attach_link_create()
179 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_prog_attach()
202 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_prog_detach()
246 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_close_query()
264 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_no_old_prog()
289 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_replace_old_prog()
314 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_same_prog()
339 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_invalid_opts()
[all …]
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.map247 bpf_link_create;
H A Dbpf.h181 LIBBPF_API int bpf_link_create(int prog_fd, int target_fd,
H A Dbpf.c585 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() function
H A Dlibbpf.c9730 link_fd = bpf_link_create(prog_fd, target_fd, attach_type, &opts); in bpf_program__attach_fd()
9820 link_fd = bpf_link_create(prog_fd, target_fd, BPF_TRACE_ITER, in bpf_program__attach_iter()
/OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/
H A D0001-Detect-new-BTF-api-btf_dump__new-btf_dump__new_v0_6_.patch49 check_symbol_exists(bpf_link_create "${LIBBPF_INCLUDE_DIRS}/bpf/bpf.h" HAVE_LIBBPF_LINK_CREATE)