Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_multi.c117 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()
H A Dcgroup_link.c80 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()
H A Dload_bytes_relative.c48 BPF_F_ALLOW_MULTI); in test_load_bytes_relative()
H A Dcgroup_attach_autodetach.c54 BPF_F_ALLOW_MULTI), in test_cgroup_attach_autodetach()
H A Dsockopt_multi.c25 attach_type, BPF_F_ALLOW_MULTI); in prog_attach()
H A Dflow_dissector_reattach.c381 update_opts.flags = BPF_F_ALLOW_MULTI; in test_link_update_invalid_opts()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dcgroup.c210 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()
686 if (pos && !(cg->bpf.flags[type] & BPF_F_ALLOW_MULTI)) in purge_effective_progs()
735 pl = find_detach_entry(progs, prog, link, flags & BPF_F_ALLOW_MULTI); in __cgroup_bpf_detach()
[all …]
H A Dsyscall.c2991 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dcgroup.c143 case BPF_F_ALLOW_MULTI: in show_attached_bpf_progs()
413 attach_flags |= BPF_F_ALLOW_MULTI; in do_attach()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dprog_cgroup_sockopt.rst69 ``BPF_F_ALLOW_MULTI`` flag::
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbpf.h226 #define BPF_F_ALLOW_MULTI (1U << 1) macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbpf.h226 #define BPF_F_ALLOW_MULTI (1U << 1) macro
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h305 #define BPF_F_ALLOW_MULTI (1U << 1) macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h305 #define BPF_F_ALLOW_MULTI (1U << 1) macro