Lines Matching refs:entry_new

14 	struct bpf_mprog_entry *entry, *entry_new;  in tcx_prog_attach()  local
39 ret = bpf_mprog_attach(entry, &entry_new, prog, NULL, replace_prog, in tcx_prog_attach()
43 if (entry != entry_new) { in tcx_prog_attach()
44 tcx_entry_update(dev, entry_new, ingress); in tcx_prog_attach()
63 struct bpf_mprog_entry *entry, *entry_new; in tcx_prog_detach() local
78 ret = bpf_mprog_detach(entry, &entry_new, prog, NULL, attr->attach_flags, in tcx_prog_detach()
81 if (!tcx_entry_is_active(entry_new)) in tcx_prog_detach()
82 entry_new = NULL; in tcx_prog_detach()
83 tcx_entry_update(dev, entry_new, ingress); in tcx_prog_detach()
87 if (!entry_new) in tcx_prog_detach()
97 struct bpf_mprog_entry *entry, *entry_new = NULL; in tcx_uninstall() local
108 bpf_mprog_clear_all(entry, &entry_new); in tcx_uninstall()
109 tcx_entry_update(dev, entry_new, ingress); in tcx_uninstall()
146 struct bpf_mprog_entry *entry, *entry_new; in tcx_link_prog_attach() local
154 ret = bpf_mprog_attach(entry, &entry_new, link->prog, link, NULL, flags, in tcx_link_prog_attach()
157 if (entry != entry_new) { in tcx_link_prog_attach()
158 tcx_entry_update(dev, entry_new, ingress); in tcx_link_prog_attach()
173 struct bpf_mprog_entry *entry, *entry_new; in tcx_link_release() local
186 ret = bpf_mprog_detach(entry, &entry_new, link->prog, link, 0, 0, 0); in tcx_link_release()
188 if (!tcx_entry_is_active(entry_new)) in tcx_link_release()
189 entry_new = NULL; in tcx_link_release()
190 tcx_entry_update(dev, entry_new, ingress); in tcx_link_release()
194 if (!entry_new) in tcx_link_release()
208 struct bpf_mprog_entry *entry, *entry_new; in tcx_link_update() local
232 ret = bpf_mprog_attach(entry, &entry_new, nprog, link, oprog, in tcx_link_update()
236 WARN_ON_ONCE(entry != entry_new); in tcx_link_update()