Searched refs:BPF_F_REPLACE (Results 1 – 7 of 7) sorted by relevance
195 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()
190 link_upd_opts.flags = BPF_F_REPLACE; in test_cgroup_link()200 link_upd_opts.flags = BPF_F_REPLACE; in test_cgroup_link()
297 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()
448 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) in __cgroup_bpf_attach()454 if (!!replace_prog != !!(flags & BPF_F_REPLACE)) in __cgroup_bpf_attach()804 (attr->attach_flags & BPF_F_REPLACE)) { in cgroup_bpf_prog_attach()
3151 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)4294 if (flags & ~BPF_F_REPLACE) in link_update()4307 if (flags & BPF_F_REPLACE) { in link_update()
1061 #define BPF_F_REPLACE (1U << 2) macro