Home
last modified time | relevance | path

Searched refs:BPF_F_ALLOW_MULTI (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dcgroup_attach_multi.c117 BPF_F_ALLOW_MULTI), in serial_test_cgroup_attach_multi()
122 BPF_F_ALLOW_MULTI), in serial_test_cgroup_attach_multi()
127 BPF_F_ALLOW_MULTI), in serial_test_cgroup_attach_multi()
137 BPF_F_ALLOW_MULTI), in serial_test_cgroup_attach_multi()
210 attach_opts.flags = BPF_F_ALLOW_MULTI | BPF_F_REPLACE; in serial_test_cgroup_attach_multi()
Dload_bytes_relative.c48 BPF_F_ALLOW_MULTI); in test_load_bytes_relative()
Dcgroup_link.c78 CHECK_FAIL(attach_flags != BPF_F_ALLOW_MULTI); in serial_test_cgroup_link()
113 BPF_CGROUP_INET_EGRESS, BPF_F_ALLOW_MULTI); in serial_test_cgroup_link()
Dcgroup_attach_autodetach.c54 BPF_F_ALLOW_MULTI), in serial_test_cgroup_attach_autodetach()
Dflow_dissector_reattach.c381 update_opts.flags = BPF_F_ALLOW_MULTI; in test_link_update_invalid_opts()
/Linux-v6.6/kernel/bpf/
Dcgroup.c384 if (flags & BPF_F_ALLOW_MULTI) in hierarchy_allows_attach()
413 if (cnt == 0 || (p->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in compute_effective_progs()
426 if (cnt > 0 && !(p->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in compute_effective_progs()
612 u32 saved_flags = (flags & (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI)); in __cgroup_bpf_attach()
622 if (((flags & BPF_F_ALLOW_OVERRIDE) && (flags & BPF_F_ALLOW_MULTI)) || in __cgroup_bpf_attach()
623 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) in __cgroup_bpf_attach()
653 flags & BPF_F_ALLOW_MULTI); in __cgroup_bpf_attach()
761 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in replace_effective_prog()
913 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in purge_effective_progs()
976 pl = find_detach_entry(progs, prog, link, flags & BPF_F_ALLOW_MULTI); in __cgroup_bpf_detach()
[all …]
Dsyscall.c3785 BPF_F_ALLOW_MULTI | \
/Linux-v6.6/tools/bpf/bpftool/
Dcgroup.c256 case BPF_F_ALLOW_MULTI: in show_attached_bpf_progs()
543 attach_flags |= BPF_F_ALLOW_MULTI; in do_attach()
/Linux-v6.6/Documentation/bpf/
Dprog_cgroup_sockopt.rst69 ``BPF_F_ALLOW_MULTI`` flag::
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1120 #define BPF_F_ALLOW_MULTI (1U << 1) macro
/Linux-v6.6/include/uapi/linux/
Dbpf.h1120 #define BPF_F_ALLOW_MULTI (1U << 1) macro