Searched refs:old_prog_fd (Results 1 – 14 of 14) sorted by relevance
273 update_opts.old_prog_fd = 0; in test_link_update_no_old_prog()298 update_opts.old_prog_fd = prog1; in test_link_update_replace_old_prog()323 update_opts.old_prog_fd = 0; in test_link_update_same_prog()349 update_opts.old_prog_fd = prog1; in test_link_update_invalid_opts()360 update_opts.old_prog_fd = prog2; in test_link_update_invalid_opts()371 update_opts.old_prog_fd = -1; in test_link_update_invalid_opts()382 update_opts.old_prog_fd = 0; in test_link_update_invalid_opts()409 update_opts.old_prog_fd = 0; in test_link_update_invalid_prog()424 update_opts.old_prog_fd = 0; in test_link_update_invalid_prog()465 update_opts.old_prog_fd = 0; in test_link_update_netns_gone()[all …]
58 opts.old_prog_fd = prog_fd1; in serial_test_xdp_link()64 opts.old_prog_fd = prog_fd1; in serial_test_xdp_link()81 opts.old_prog_fd = prog_fd1; in serial_test_xdp_link()
53 opts.old_prog_fd = fd1; in serial_test_xdp_attach()70 opts.old_prog_fd = fd2; in serial_test_xdp_attach()
186 link_upd_opts.old_prog_fd = bpf_program__fd(skel->progs.egress_alt); in serial_test_cgroup_link()196 link_upd_opts.old_prog_fd = bpf_program__fd(skel->progs.egress); in serial_test_cgroup_link()
152 update_opts.old_prog_fd = bind_prog_fd; in test_lsm_cgroup_functional()
279 int old_prog_fd, err; in bpf_xdp_attach() local284 old_prog_fd = OPTS_GET(opts, old_prog_fd, 0); in bpf_xdp_attach()285 if (old_prog_fd) in bpf_xdp_attach()288 old_prog_fd = -1; in bpf_xdp_attach()290 err = __bpf_set_link_xdp_fd_replace(ifindex, prog_fd, old_prog_fd, flags); in bpf_xdp_attach()
338 __u32 old_prog_fd; /* expected old program FD */ member340 #define bpf_link_update_opts__last_field old_prog_fd
948 int old_prog_fd; member951 #define bpf_xdp_attach_opts__last_field old_prog_fd
801 attr.link_update.old_prog_fd = OPTS_GET(opts, old_prog_fd, 0); in bpf_link_update()
94 opts.old_prog_fd = prog_fd; in do_detach()
56 opts.old_prog_fd = prog_fd; in cleanup()
1543 __u32 old_prog_fd; member
4623 #define BPF_LINK_UPDATE_LAST_FIELD link_update.old_prog_fd4650 old_prog = bpf_prog_get(attr->link_update.old_prog_fd); in link_update()4656 } else if (attr->link_update.old_prog_fd) { in link_update()