Lines Matching refs:last_dst
589 struct bpf_dtab_netdev *dst, *last_dst = NULL; in dev_map_enqueue_multi() local
612 if (!last_dst) { in dev_map_enqueue_multi()
613 last_dst = dst; in dev_map_enqueue_multi()
617 err = dev_map_enqueue_clone(last_dst, dev_rx, xdpf); in dev_map_enqueue_multi()
621 last_dst = dst; in dev_map_enqueue_multi()
636 if (!last_dst) { in dev_map_enqueue_multi()
637 last_dst = dst; in dev_map_enqueue_multi()
641 err = dev_map_enqueue_clone(last_dst, dev_rx, xdpf); in dev_map_enqueue_multi()
645 last_dst = dst; in dev_map_enqueue_multi()
651 if (last_dst) in dev_map_enqueue_multi()
652 bq_enqueue(last_dst->dev, xdpf, dev_rx, last_dst->xdp_prog); in dev_map_enqueue_multi()
706 struct bpf_dtab_netdev *dst, *last_dst = NULL; in dev_map_redirect_multi() local
730 if (!last_dst) { in dev_map_redirect_multi()
731 last_dst = dst; in dev_map_redirect_multi()
735 err = dev_map_redirect_clone(last_dst, skb, xdp_prog); in dev_map_redirect_multi()
739 last_dst = dst; in dev_map_redirect_multi()
754 if (!last_dst) { in dev_map_redirect_multi()
755 last_dst = dst; in dev_map_redirect_multi()
759 err = dev_map_redirect_clone(last_dst, skb, xdp_prog); in dev_map_redirect_multi()
763 last_dst = dst; in dev_map_redirect_multi()
769 if (last_dst) in dev_map_redirect_multi()
770 return dev_map_generic_redirect(last_dst, skb, xdp_prog); in dev_map_redirect_multi()