Searched refs:bpf_prog_detach (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_attach_override.c | 72 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/ |
D | flow_dissector_load.c | 47 ret = bpf_prog_detach(0, BPF_FLOW_DISSECTOR); in detach_program()
|
D | test_tcpnotify_user.c | 165 bpf_prog_detach(cg_fd, BPF_CGROUP_SOCK_OPS); in main()
|
D | test_sock.c | 440 bpf_prog_detach(cgfd, test->attach_type); in run_test_case()
|
D | test_maps.c | 808 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()
|
D | test_sock_addr.c | 1373 bpf_prog_detach(cgfd, test->attach_type); in run_test_case()
|
D | test_sysctl.c | 1595 bpf_prog_detach(cgfd, atype); in run_test_case()
|
/tools/lib/bpf/ |
D | libbpf.map | 60 bpf_prog_detach;
|
D | bpf.h | 169 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
|
D | bpf.c | 648 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() function
|