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()
193 link_upd_opts.flags = BPF_F_REPLACE; in test_cgroup_link()203 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()
447 ((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()
2991 (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()
306 #define BPF_F_REPLACE (1U << 2) macro