Searched refs:bpf_prog_detach (Results 1 - 12 of 12) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_attach_override.c | 72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), 87 if (CHECK(bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), 106 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), 111 if (CHECK(!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS),
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | flow_dissector_load.c | 49 ret = bpf_prog_detach(0, BPF_FLOW_DISSECTOR); 51 error(1, 0, "bpf_prog_detach");
|
H A D | test_tcpnotify_user.c | 163 bpf_prog_detach(cg_fd, BPF_CGROUP_SOCK_OPS);
|
H A D | test_sock.c | 512 bpf_prog_detach(cgfd, test->attach_type);
|
H A D | test_maps.c | 801 err = bpf_prog_detach(fd, BPF_SK_SKB_STREAM_PARSER); 807 err = bpf_prog_detach(fd, BPF_SK_SKB_STREAM_VERDICT); 813 err = bpf_prog_detach(fd, BPF_SK_MSG_VERDICT); 819 err = bpf_prog_detach(fd, __MAX_BPF_ATTACH_TYPE);
|
H A D | test_sock_addr.c | 1383 bpf_prog_detach(cgfd, test->attach_type);
|
H A D | test_sysctl.c | 1589 bpf_prog_detach(cgfd, atype);
|
/linux-master/samples/bpf/ |
H A D | test_cgrp2_attach.c | 170 ret = bpf_prog_detach(cg_fd, type); 171 printf("bpf_prog_detach() returned '%s' (%d)\n",
|
H A D | test_cgrp2_sock.c | 284 ret = bpf_prog_detach(cg_fd, BPF_CGROUP_INET_SOCK_CREATE);
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.h | 332 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
|
H A D | bpf.c | 714 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) function
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 4118 static int bpf_prog_detach(const union bpf_attr *attr) function 5672 err = bpf_prog_detach(&attr);
|
Completed in 180 milliseconds