Searched refs:BPF_F_REPLACE (Results 1 – 15 of 15) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cgroup_attach_multi.c | 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()
|
| H A D | cgroup_link.c | 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()
|
| H A D | flow_dissector_reattach.c | 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()
|
| H A D | tc_opts.c | 746 .flags = BPF_F_REPLACE, in test_tc_opts_replace_target() 815 .flags = BPF_F_REPLACE, in test_tc_opts_replace_target() 824 .flags = BPF_F_REPLACE | BPF_F_AFTER, in test_tc_opts_replace_target() 996 .flags = BPF_F_REPLACE, in test_tc_opts_invalid_target() 1005 .flags = BPF_F_REPLACE, in test_tc_opts_invalid_target() 1456 .flags = BPF_F_REPLACE, in test_tc_opts_mixed_target() 1467 .flags = BPF_F_REPLACE, in test_tc_opts_mixed_target() 1478 .flags = BPF_F_REPLACE, in test_tc_opts_mixed_target() 1489 .flags = BPF_F_REPLACE, in test_tc_opts_mixed_target() 1512 .flags = BPF_F_REPLACE, in test_tc_opts_mixed_target() [all …]
|
| H A D | lsm_cgroup.c | 150 update_opts.flags = BPF_F_REPLACE; in test_lsm_cgroup_functional()
|
| H A D | bpf_tcp_ca.c | 550 opts.flags = BPF_F_REPLACE; in test_link_replace()
|
| H A D | sockmap_basic.c | 212 opts.flags = BPF_F_REPLACE; in test_skmsg_helpers_with_link() 218 opts.flags = BPF_F_REPLACE; in test_skmsg_helpers_with_link()
|
| H A D | tc_links.c | 719 .flags = BPF_F_REPLACE, in test_tc_links_replace_target() 733 .flags = BPF_F_REPLACE | BPF_F_LINK, in test_tc_links_replace_target() 747 .flags = BPF_F_REPLACE | BPF_F_LINK | BPF_F_AFTER, in test_tc_links_replace_target()
|
| /linux-6.15/kernel/bpf/ |
| H A D | mprog.c | 245 flags & ~BPF_F_REPLACE, in bpf_mprog_attach() 249 if (flags & BPF_F_REPLACE) { in bpf_mprog_attach() 288 if (flags & BPF_F_REPLACE) in bpf_mprog_attach() 339 if (flags & BPF_F_REPLACE) in bpf_mprog_detach()
|
| H A D | tcx.c | 25 if (attr->attach_flags & BPF_F_REPLACE) { in tcx_prog_attach() 233 BPF_F_REPLACE | BPF_F_ID, in tcx_link_update()
|
| H A D | cgroup.c | 656 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) in __cgroup_bpf_attach() 662 if (!!replace_prog != !!(flags & BPF_F_REPLACE)) in __cgroup_bpf_attach() 1176 (attr->attach_flags & BPF_F_REPLACE)) { in cgroup_bpf_prog_attach()
|
| H A D | syscall.c | 4191 BPF_F_REPLACE | \ 4195 (BPF_F_REPLACE | \ 5464 if (attr->link_update.flags & BPF_F_REPLACE) { in link_update_map() 5497 if (flags & ~BPF_F_REPLACE) in link_update() 5515 if (flags & BPF_F_REPLACE) { in link_update()
|
| /linux-6.15/drivers/net/ |
| H A D | netkit.c | 543 if (attr->attach_flags & BPF_F_REPLACE) { in netkit_prog_attach() 706 BPF_F_REPLACE | BPF_F_ID, in netkit_link_update()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | bpf.h | 1209 #define BPF_F_REPLACE (1U << 2) macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | bpf.h | 1209 #define BPF_F_REPLACE (1U << 2) macro
|