Lines Matching refs:pskb
5323 netif_skb_check_for_xdp(struct sk_buff **pskb, const struct bpf_prog *prog) in netif_skb_check_for_xdp() argument
5325 struct sk_buff *skb = *pskb; in netif_skb_check_for_xdp()
5329 err = skb_cow_data_for_xdp(this_cpu_read(system_page_pool.pool), pskb, prog); in netif_skb_check_for_xdp()
5348 static u32 netif_receive_generic_xdp(struct sk_buff **pskb, in netif_receive_generic_xdp() argument
5352 struct sk_buff *skb = *pskb; in netif_receive_generic_xdp()
5370 if (netif_skb_check_for_xdp(pskb, xdp_prog)) in netif_receive_generic_xdp()
5374 __skb_pull(*pskb, mac_len); in netif_receive_generic_xdp()
5376 act = bpf_prog_run_generic_xdp(*pskb, xdp, xdp_prog); in netif_receive_generic_xdp()
5383 bpf_warn_invalid_xdp_action((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp()
5386 trace_xdp_exception((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp()
5390 kfree_skb(*pskb); in netif_receive_generic_xdp()
5428 int do_xdp_generic(const struct bpf_prog *xdp_prog, struct sk_buff **pskb) in do_xdp_generic() argument
5438 act = netif_receive_generic_xdp(pskb, &xdp, xdp_prog); in do_xdp_generic()
5442 err = xdp_do_generic_redirect((*pskb)->dev, *pskb, in do_xdp_generic()
5448 generic_xdp_tx(*pskb, xdp_prog); in do_xdp_generic()
5459 kfree_skb_reason(*pskb, SKB_DROP_REASON_XDP); in do_xdp_generic()
5749 static int __netif_receive_skb_core(struct sk_buff **pskb, bool pfmemalloc, in __netif_receive_skb_core() argument
5755 struct sk_buff *skb = *pskb; in __netif_receive_skb_core()
5967 *pskb = skb; in __netif_receive_skb_core()