Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dload_bytes_relative.c48 BPF_F_ALLOW_MULTI); in test_load_bytes_relative()
H A 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()
H A Dcgroup_attach_autodetach.c54 BPF_F_ALLOW_MULTI), in serial_test_cgroup_attach_autodetach()
H A Dflow_dissector_reattach.c381 update_opts.flags = BPF_F_ALLOW_MULTI; in test_link_update_invalid_opts()
/openbmc/linux/kernel/bpf/
H A Dcgroup.c401 if (flags & BPF_F_ALLOW_MULTI) in hierarchy_allows_attach()
430 if (cnt == 0 || (p->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in compute_effective_progs()
443 if (cnt > 0 && !(p->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in compute_effective_progs()
639 if (((flags & BPF_F_ALLOW_OVERRIDE) && (flags & BPF_F_ALLOW_MULTI)) || in __cgroup_bpf_attach()
640 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) in __cgroup_bpf_attach()
670 flags & BPF_F_ALLOW_MULTI); in __cgroup_bpf_attach()
778 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in replace_effective_prog()
930 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI)) in purge_effective_progs()
993 pl = find_detach_entry(progs, prog, link, flags & BPF_F_ALLOW_MULTI); in __cgroup_bpf_detach()
1158 if ((attr->attach_flags & BPF_F_ALLOW_MULTI) && in cgroup_bpf_prog_attach()
[all …]
H A Dsyscall.c3889 BPF_F_ALLOW_MULTI | \
/openbmc/linux/tools/bpf/bpftool/
H A Dcgroup.c256 case BPF_F_ALLOW_MULTI: in show_attached_bpf_progs()
543 attach_flags |= BPF_F_ALLOW_MULTI; in do_attach()
/openbmc/linux/Documentation/bpf/
H A Dprog_cgroup_sockopt.rst69 ``BPF_F_ALLOW_MULTI`` flag::
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1137 #define BPF_F_ALLOW_MULTI (1U << 1) macro
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1137 #define BPF_F_ALLOW_MULTI (1U << 1) macro