oldprog 110 drivers/net/ethernet/netronome/nfp/bpf/main.c struct bpf_prog *oldprog; oldprog 144 drivers/net/ethernet/netronome/nfp/bpf/main.c oldprog = cls_bpf->oldprog; oldprog 147 drivers/net/ethernet/netronome/nfp/bpf/main.c if (bv->tc_prog != oldprog) { oldprog 148 drivers/net/ethernet/netronome/nfp/bpf/main.c oldprog = NULL; oldprog 153 drivers/net/ethernet/netronome/nfp/bpf/main.c err = nfp_net_bpf_offload(nn, cls_bpf->prog, oldprog, oldprog 99 drivers/net/netdevsim/bpf.c nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) oldprog 103 drivers/net/netdevsim/bpf.c WARN(!!ns->bpf_offloaded != oldprog, oldprog 105 drivers/net/netdevsim/bpf.c oldprog ? "" : "not "); oldprog 119 drivers/net/netdevsim/bpf.c struct bpf_prog *oldprog; oldprog 151 drivers/net/netdevsim/bpf.c oldprog = cls_bpf->oldprog; oldprog 154 drivers/net/netdevsim/bpf.c if (ns->bpf_offloaded != oldprog) { oldprog 155 drivers/net/netdevsim/bpf.c oldprog = NULL; oldprog 165 drivers/net/netdevsim/bpf.c return nsim_bpf_offload(ns, cls_bpf->prog, oldprog); oldprog 665 include/net/pkt_cls.h struct bpf_prog *oldprog; oldprog 145 net/sched/cls_bpf.c struct cls_bpf_prog *oldprog, oldprog 155 net/sched/cls_bpf.c obj = prog ?: oldprog; oldprog 161 net/sched/cls_bpf.c cls_bpf.oldprog = oldprog ? oldprog->filter : NULL; oldprog 165 net/sched/cls_bpf.c if (oldprog && prog) oldprog 167 net/sched/cls_bpf.c skip_sw, &oldprog->gen_flags, oldprog 168 net/sched/cls_bpf.c &oldprog->in_hw_count, oldprog 177 net/sched/cls_bpf.c skip_sw, &oldprog->gen_flags, oldprog 178 net/sched/cls_bpf.c &oldprog->in_hw_count, true); oldprog 181 net/sched/cls_bpf.c cls_bpf_offload_cmd(tp, oldprog, prog, extack); oldprog 197 net/sched/cls_bpf.c struct cls_bpf_prog *oldprog, oldprog 200 net/sched/cls_bpf.c if (prog && oldprog && oldprog 202 net/sched/cls_bpf.c cls_bpf_flags(oldprog->gen_flags)) oldprog 207 net/sched/cls_bpf.c if (oldprog && tc_skip_hw(oldprog->gen_flags)) oldprog 208 net/sched/cls_bpf.c oldprog = NULL; oldprog 209 net/sched/cls_bpf.c if (!prog && !oldprog) oldprog 212 net/sched/cls_bpf.c return cls_bpf_offload_cmd(tp, prog, oldprog, extack); oldprog 465 net/sched/cls_bpf.c struct cls_bpf_prog *oldprog = *arg; oldprog 486 net/sched/cls_bpf.c if (oldprog) { oldprog 487 net/sched/cls_bpf.c if (handle && oldprog->handle != handle) { oldprog 497 net/sched/cls_bpf.c } else if (!oldprog) { oldprog 511 net/sched/cls_bpf.c ret = cls_bpf_offload(tp, prog, oldprog, extack); oldprog 518 net/sched/cls_bpf.c if (oldprog) { oldprog 520 net/sched/cls_bpf.c list_replace_rcu(&oldprog->link, &prog->link); oldprog 521 net/sched/cls_bpf.c tcf_unbind_filter(tp, &oldprog->res); oldprog 522 net/sched/cls_bpf.c tcf_exts_get_net(&oldprog->exts); oldprog 523 net/sched/cls_bpf.c tcf_queue_work(&oldprog->rwork, cls_bpf_delete_prog_work); oldprog 534 net/sched/cls_bpf.c if (!oldprog) oldprog 683 net/sched/cls_bpf.c cls_bpf.oldprog = add ? NULL : prog->filter;