Home
last modified time | relevance | path

Searched refs:BPF_F_REPLACE (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_multi.c195 attach_opts.flags = BPF_F_ALLOW_OVERRIDE | BPF_F_REPLACE; in test_cgroup_attach_multi()
203 attach_opts.flags = BPF_F_REPLACE; 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.c193 link_upd_opts.flags = BPF_F_REPLACE; in test_cgroup_link()
203 link_upd_opts.flags = BPF_F_REPLACE; in test_cgroup_link()
H A Dflow_dissector_reattach.c297 update_opts.flags = BPF_F_REPLACE; in test_link_update_replace_old_prog()
359 update_opts.flags = BPF_F_REPLACE; in test_link_update_invalid_opts()
370 update_opts.flags = BPF_F_REPLACE; in test_link_update_invalid_opts()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dcgroup.c447 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) in __cgroup_bpf_attach()
453 if (!!replace_prog != !!(flags & BPF_F_REPLACE)) in __cgroup_bpf_attach()
826 (attr->attach_flags & BPF_F_REPLACE)) { in cgroup_bpf_prog_attach()
H A Dsyscall.c2991 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)
4131 if (flags & ~BPF_F_REPLACE) in link_update()
4144 if (flags & BPF_F_REPLACE) { in link_update()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h306 #define BPF_F_REPLACE (1U << 2) macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h306 #define BPF_F_REPLACE (1U << 2) macro