Lines Matching refs:old_prog
2522 struct bpf_prog *old_prog; in virtnet_xdp_set() local
2558 old_prog = rtnl_dereference(vi->rq[0].xdp_prog); in virtnet_xdp_set()
2559 if (!prog && !old_prog) in virtnet_xdp_set()
2592 if (i == 0 && !old_prog) in virtnet_xdp_set()
2600 if (old_prog) in virtnet_xdp_set()
2601 bpf_prog_put(old_prog); in virtnet_xdp_set()
2615 rcu_assign_pointer(vi->rq[i].xdp_prog, old_prog); in virtnet_xdp_set()
2776 struct bpf_prog *old_prog; in _free_receive_bufs() local
2783 old_prog = rtnl_dereference(vi->rq[i].xdp_prog); in _free_receive_bufs()
2785 if (old_prog) in _free_receive_bufs()
2786 bpf_prog_put(old_prog); in _free_receive_bufs()