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 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()
|
| H A 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()
|
| H A D | load_bytes_relative.c | 48 BPF_F_ALLOW_MULTI); in test_load_bytes_relative()
|
| H A D | cgroup_attach_autodetach.c | 54 BPF_F_ALLOW_MULTI), in test_cgroup_attach_autodetach()
|
| H A D | sockopt_multi.c | 25 attach_type, BPF_F_ALLOW_MULTI); in prog_attach()
|
| H A D | flow_dissector_reattach.c | 381 update_opts.flags = BPF_F_ALLOW_MULTI; in test_link_update_invalid_opts()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A 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() 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 D | syscall.c | 2991 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | cgroup.c | 143 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 D | prog_cgroup_sockopt.rst | 69 ``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 D | bpf.h | 226 #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 D | bpf.h | 226 #define BPF_F_ALLOW_MULTI (1U << 1) macro
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | bpf.h | 305 #define BPF_F_ALLOW_MULTI (1U << 1) macro
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | bpf.h | 305 #define BPF_F_ALLOW_MULTI (1U << 1) macro
|