Searched refs:BPF_F_REPLACE (Results 1 - 14 of 14) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_attach_multi.c | 195 attach_opts.flags = BPF_F_ALLOW_OVERRIDE | BPF_F_REPLACE; 203 attach_opts.flags = BPF_F_REPLACE; 210 attach_opts.flags = BPF_F_ALLOW_MULTI | BPF_F_REPLACE;
|
H A D | cgroup_link.c | 187 link_upd_opts.flags = BPF_F_REPLACE; 197 link_upd_opts.flags = BPF_F_REPLACE;
|
H A D | flow_dissector_reattach.c | 297 update_opts.flags = BPF_F_REPLACE; 359 update_opts.flags = BPF_F_REPLACE; 370 update_opts.flags = BPF_F_REPLACE;
|
H A D | tc_opts.c | 746 .flags = BPF_F_REPLACE, 780 .flags = BPF_F_REPLACE | BPF_F_BEFORE, 815 .flags = BPF_F_REPLACE, 824 .flags = BPF_F_REPLACE | BPF_F_AFTER, 835 .flags = BPF_F_BEFORE | BPF_F_AFTER | BPF_F_REPLACE, 996 .flags = BPF_F_REPLACE, 1005 .flags = BPF_F_REPLACE, 1456 .flags = BPF_F_REPLACE, 1467 .flags = BPF_F_REPLACE, 1478 .flags = BPF_F_REPLACE, [all...] |
H A D | lsm_cgroup.c | 154 update_opts.flags = BPF_F_REPLACE;
|
H A D | bpf_tcp_ca.c | 508 /* BPF_F_REPLACE with a wrong old map Fd. It should fail! 510 * With BPF_F_REPLACE, the link should be updated only if the 514 opts.flags = BPF_F_REPLACE; 520 /* BPF_F_REPLACE with a correct old map Fd. It should success! */
|
H A D | tc_links.c | 717 .flags = BPF_F_REPLACE, 731 .flags = BPF_F_REPLACE | BPF_F_LINK, 745 .flags = BPF_F_REPLACE | BPF_F_LINK | BPF_F_AFTER,
|
/linux-master/kernel/bpf/ |
H A D | mprog.c | 245 flags & ~BPF_F_REPLACE, 249 if (flags & BPF_F_REPLACE) { 288 if (flags & BPF_F_REPLACE) 339 if (flags & BPF_F_REPLACE)
|
H A D | tcx.c | 25 if (attr->attach_flags & BPF_F_REPLACE) { 233 BPF_F_REPLACE | BPF_F_ID,
|
H A D | cgroup.c | 600 * @replace_prog: Previously attached program to replace if BPF_F_REPLACE is set 623 ((flags & BPF_F_REPLACE) && !(flags & BPF_F_ALLOW_MULTI))) 629 if (!!replace_prog != !!(flags & BPF_F_REPLACE)) 630 /* replace_prog implies BPF_F_REPLACE, and vice versa */ 1142 (attr->attach_flags & BPF_F_REPLACE)) {
|
H A D | syscall.c | 4005 BPF_F_REPLACE) 4008 (BPF_F_REPLACE | \ 5262 if (attr->link_update.flags & BPF_F_REPLACE) { 5295 if (flags & ~BPF_F_REPLACE) 5313 if (flags & BPF_F_REPLACE) {
|
/linux-master/drivers/net/ |
H A D | netkit.c | 512 if (attr->attach_flags & BPF_F_REPLACE) { 675 BPF_F_REPLACE | BPF_F_ID,
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1178 * any position by also specifying BPF_F_REPLACE flag and position itself in 1200 #define BPF_F_REPLACE (1U << 2) macro 1786 * BPF_F_REPLACE flag is set in flags. 1790 * if BPF_F_REPLACE flag is set.
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1178 * any position by also specifying BPF_F_REPLACE flag and position itself in 1200 #define BPF_F_REPLACE (1U << 2) macro 1786 * BPF_F_REPLACE flag is set in flags. 1790 * if BPF_F_REPLACE flag is set.
|
Completed in 363 milliseconds