Home
last modified time | relevance | path

Searched refs:bpf_prog_detach (Results 1 – 10 of 10) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dcgroup_attach_override.c72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in test_cgroup_attach_override()
87 if (CHECK(bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in test_cgroup_attach_override()
106 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in test_cgroup_attach_override()
111 if (CHECK(!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in test_cgroup_attach_override()
/tools/testing/selftests/bpf/
Dflow_dissector_load.c47 ret = bpf_prog_detach(0, BPF_FLOW_DISSECTOR); in detach_program()
Dtest_tcpnotify_user.c165 bpf_prog_detach(cg_fd, BPF_CGROUP_SOCK_OPS); in main()
Dtest_sock.c440 bpf_prog_detach(cgfd, test->attach_type); in run_test_case()
Dtest_maps.c808 err = bpf_prog_detach(fd, BPF_SK_SKB_STREAM_PARSER); in test_sockmap()
814 err = bpf_prog_detach(fd, BPF_SK_SKB_STREAM_VERDICT); in test_sockmap()
820 err = bpf_prog_detach(fd, BPF_SK_MSG_VERDICT); in test_sockmap()
826 err = bpf_prog_detach(fd, __MAX_BPF_ATTACH_TYPE); in test_sockmap()
Dtest_sock_addr.c1373 bpf_prog_detach(cgfd, test->attach_type); in run_test_case()
Dtest_sysctl.c1595 bpf_prog_detach(cgfd, atype); in run_test_case()
/tools/lib/bpf/
Dlibbpf.map60 bpf_prog_detach;
Dbpf.h169 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
Dbpf.c648 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() function