Lines Matching refs:bpf_prog
4322 const struct bpf_prog *prog; in tcx_run()
5221 const struct bpf_prog *xdp_prog) in bpf_prog_run_generic_xdp()
5323 netif_skb_check_for_xdp(struct sk_buff **pskb, const struct bpf_prog *prog) in netif_skb_check_for_xdp()
5350 const struct bpf_prog *xdp_prog) in netif_receive_generic_xdp()
5403 void generic_xdp_tx(struct sk_buff *skb, const struct bpf_prog *xdp_prog) in generic_xdp_tx()
5428 int do_xdp_generic(const struct bpf_prog *xdp_prog, struct sk_buff **pskb) in do_xdp_generic()
6129 struct bpf_prog *old = rtnl_dereference(dev->xdp_prog); in generic_xdp_install()
6130 struct bpf_prog *new = xdp->prog; in generic_xdp_install()
10003 static struct bpf_prog *dev_xdp_prog(struct net_device *dev, in dev_xdp_prog()
10061 struct bpf_prog *prog = dev_xdp_prog(dev, mode); in dev_xdp_prog_id()
10074 struct bpf_prog *prog) in dev_xdp_set_prog()
10082 u32 flags, struct bpf_prog *prog) in dev_xdp_install()
10130 struct bpf_prog *prog; in dev_xdp_uninstall()
10159 struct bpf_xdp_link *link, struct bpf_prog *new_prog, in dev_xdp_attach()
10160 struct bpf_prog *old_prog, u32 flags) in dev_xdp_attach()
10163 struct bpf_prog *cur_prog; in dev_xdp_attach()
10372 static int bpf_xdp_link_update(struct bpf_link *link, struct bpf_prog *new_prog, in bpf_xdp_link_update()
10373 struct bpf_prog *old_prog) in bpf_xdp_link_update()
10431 int bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_xdp_link_attach()
10503 struct bpf_prog *new_prog = NULL, *old_prog = NULL; in dev_change_xdp_fd()