Searched refs:BPF_F_REPLACE (Results 1 – 8 of 8) sorted by relevance
195 attach_opts.flags = BPF_F_ALLOW_OVERRIDE | BPF_F_REPLACE; in serial_test_cgroup_attach_multi()203 attach_opts.flags = BPF_F_REPLACE; in serial_test_cgroup_attach_multi()210 attach_opts.flags = BPF_F_ALLOW_MULTI | BPF_F_REPLACE; in serial_test_cgroup_attach_multi()
187 link_upd_opts.flags = BPF_F_REPLACE; in serial_test_cgroup_link()197 link_upd_opts.flags = BPF_F_REPLACE; in serial_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()
153 update_opts.flags = BPF_F_REPLACE; in test_lsm_cgroup_functional()
623 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) in __cgroup_bpf_attach()629 if (!!replace_prog != !!(flags & BPF_F_REPLACE)) in __cgroup_bpf_attach()1141 (attr->attach_flags & BPF_F_REPLACE)) { in cgroup_bpf_prog_attach()
3459 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)4638 if (flags & ~BPF_F_REPLACE) in link_update()4651 if (flags & BPF_F_REPLACE) { in link_update()
1094 #define BPF_F_REPLACE (1U << 2) macro