Searched refs:BPF_F_ALLOW_MULTI (Results 1 - 10 of 10) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dload_bytes_relative.c48 BPF_F_ALLOW_MULTI);
H A Dcgroup_attach_multi.c117 BPF_F_ALLOW_MULTI),
122 BPF_F_ALLOW_MULTI),
127 BPF_F_ALLOW_MULTI),
137 BPF_F_ALLOW_MULTI),
210 attach_opts.flags = BPF_F_ALLOW_MULTI | BPF_F_REPLACE;
H A Dcgroup_attach_autodetach.c54 BPF_F_ALLOW_MULTI),
H A Dcgroup_link.c78 CHECK_FAIL(attach_flags != BPF_F_ALLOW_MULTI);
113 BPF_CGROUP_INET_EGRESS, BPF_F_ALLOW_MULTI);
H A Dflow_dissector_reattach.c381 update_opts.flags = BPF_F_ALLOW_MULTI;
/linux-master/kernel/bpf/
H A Dcgroup.c384 if (flags & BPF_F_ALLOW_MULTI)
413 if (cnt == 0 || (p->bpf.flags[atype] & BPF_F_ALLOW_MULTI))
426 if (cnt > 0 && !(p->bpf.flags[atype] & BPF_F_ALLOW_MULTI))
612 u32 saved_flags = (flags & (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI));
622 if (((flags & BPF_F_ALLOW_OVERRIDE) && (flags & BPF_F_ALLOW_MULTI)) ||
623 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI)))
653 flags & BPF_F_ALLOW_MULTI);
761 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI))
913 if (pos && !(cg->bpf.flags[atype] & BPF_F_ALLOW_MULTI))
976 pl = find_detach_entry(progs, prog, link, flags & BPF_F_ALLOW_MULTI);
[all...]
H A Dsyscall.c4033 BPF_F_ALLOW_MULTI | \
/linux-master/tools/bpf/bpftool/
H A Dcgroup.c258 case BPF_F_ALLOW_MULTI:
545 attach_flags |= BPF_F_ALLOW_MULTI;
/linux-master/include/uapi/linux/
H A Dbpf.h1160 * BPF_F_ALLOW_MULTI: If a sub-cgroup installs some bpf program,
1169 * BPF_F_ALLOW_MULTI flag. They are executed in FIFO order
1176 * With BPF_F_ALLOW_MULTI a new program is added to the end of the list of
1198 #define BPF_F_ALLOW_MULTI (1U << 1) macro
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1160 * BPF_F_ALLOW_MULTI: If a sub-cgroup installs some bpf program,
1169 * BPF_F_ALLOW_MULTI flag. They are executed in FIFO order
1176 * With BPF_F_ALLOW_MULTI a new program is added to the end of the list of
1198 #define BPF_F_ALLOW_MULTI (1U << 1) macro

Completed in 390 milliseconds