Searched refs:BPF_F_ALLOW_MULTI (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | cgroup_attach_multi.c | 117 BPF_F_ALLOW_MULTI), in test_cgroup_attach_multi() 122 BPF_F_ALLOW_MULTI), in test_cgroup_attach_multi() 127 BPF_F_ALLOW_MULTI), in test_cgroup_attach_multi() 137 BPF_F_ALLOW_MULTI), in test_cgroup_attach_multi() 210 attach_opts.flags = BPF_F_ALLOW_MULTI | BPF_F_REPLACE; in test_cgroup_attach_multi()
|
| D | cgroup_link.c | 80 CHECK_FAIL(attach_flags != BPF_F_ALLOW_MULTI); in test_cgroup_link() 89 CHECK_FAIL(attach_flags != BPF_F_ALLOW_MULTI); in test_cgroup_link() 99 CHECK_FAIL(attach_flags != BPF_F_ALLOW_MULTI); in test_cgroup_link() 117 BPF_CGROUP_INET_EGRESS, BPF_F_ALLOW_MULTI); in test_cgroup_link()
|
| D | load_bytes_relative.c | 48 BPF_F_ALLOW_MULTI); in test_load_bytes_relative()
|
| D | cgroup_attach_autodetach.c | 54 BPF_F_ALLOW_MULTI), in test_cgroup_attach_autodetach()
|
| D | sockopt_multi.c | 25 attach_type, BPF_F_ALLOW_MULTI); in prog_attach()
|
| D | flow_dissector_reattach.c | 381 update_opts.flags = BPF_F_ALLOW_MULTI; in test_link_update_invalid_opts()
|
| /Linux-v5.10/kernel/bpf/ |
| D | cgroup.c | 210 if (flags & BPF_F_ALLOW_MULTI) in hierarchy_allows_attach() 239 if (cnt == 0 || (p->bpf.flags[type] & BPF_F_ALLOW_MULTI)) in compute_effective_progs() 252 if (cnt > 0 && !(p->bpf.flags[type] & BPF_F_ALLOW_MULTI)) in compute_effective_progs() 438 u32 saved_flags = (flags & (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI)); in __cgroup_bpf_attach() 446 if (((flags & BPF_F_ALLOW_OVERRIDE) && (flags & BPF_F_ALLOW_MULTI)) || in __cgroup_bpf_attach() 447 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) in __cgroup_bpf_attach() 471 flags & BPF_F_ALLOW_MULTI); in __cgroup_bpf_attach() 542 if (pos && !(cg->bpf.flags[type] & BPF_F_ALLOW_MULTI)) in replace_effective_prog() 680 pl = find_detach_entry(progs, prog, link, flags & BPF_F_ALLOW_MULTI); in __cgroup_bpf_detach() 773 if ((attr->attach_flags & BPF_F_ALLOW_MULTI) && in cgroup_bpf_prog_attach() [all …]
|
| D | syscall.c | 2966 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)
|
| /Linux-v5.10/tools/bpf/bpftool/ |
| D | cgroup.c | 142 case BPF_F_ALLOW_MULTI: in show_attached_bpf_progs() 412 attach_flags |= BPF_F_ALLOW_MULTI; in do_attach()
|
| /Linux-v5.10/Documentation/bpf/ |
| D | prog_cgroup_sockopt.rst | 69 ``BPF_F_ALLOW_MULTI`` flag::
|
| /Linux-v5.10/tools/include/uapi/linux/ |
| D | bpf.h | 305 #define BPF_F_ALLOW_MULTI (1U << 1) macro
|
| /Linux-v5.10/include/uapi/linux/ |
| D | bpf.h | 305 #define BPF_F_ALLOW_MULTI (1U << 1) macro
|