Home
last modified time | relevance | path

Searched refs:can_skb_priv (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/can/dev/
Dskb.c109 struct can_skb_priv *can_skb_priv = can_skb_prv(skb); in __can_get_echo_skb() local
118 *frame_len_ptr = can_skb_priv->frame_len; in __can_get_echo_skb()
178 struct can_skb_priv *can_skb_priv = can_skb_prv(skb); in can_free_echo_skb() local
181 *frame_len_ptr = can_skb_priv->frame_len; in can_free_echo_skb()
207 skb = netdev_alloc_skb(dev, sizeof(struct can_skb_priv) + in alloc_can_skb()
230 skb = netdev_alloc_skb(dev, sizeof(struct can_skb_priv) + in alloc_canfd_skb()
260 skb = netdev_alloc_skb(dev, sizeof(struct can_skb_priv) + in alloc_canxl_skb()
303 if (WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct can_skb_priv))) in can_skb_headroom_valid()
/linux-6.1.9/include/linux/can/
Dskb.h56 struct can_skb_priv { struct
63 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv() argument
65 return (struct can_skb_priv *)(skb->head); in can_skb_prv()
70 skb_reserve(skb, sizeof(struct can_skb_priv)); in can_skb_reserve()
/linux-6.1.9/net/can/
Disotp.c212 nskb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), gfp_any()); in isotp_send_fc()
754 skb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), GFP_ATOMIC); in isotp_send_cframe()
985 skb = sock_alloc_send_skb(sk, so->ll.mtu + sizeof(struct can_skb_priv), in isotp_sendmsg()
Dbcm.c289 skb = alloc_skb(op->cfsiz + sizeof(struct can_skb_priv), gfp_any()); in bcm_can_tx()
1256 skb = alloc_skb(cfsiz + sizeof(struct can_skb_priv), GFP_KERNEL); in bcm_tx_send()
Draw.c821 skb = sock_alloc_send_skb(sk, size + sizeof(struct can_skb_priv), in raw_sendmsg()
/linux-6.1.9/net/can/j1939/
Dtransport.c595 skb = alloc_skb(sizeof(struct can_frame) + sizeof(struct can_skb_priv), in j1939_tp_tx_dat_new()
1532 skb = alloc_skb(size + sizeof(struct can_skb_priv), GFP_ATOMIC); in j1939_session_fresh_new()
Dsocket.c868 sizeof(struct can_skb_priv), in j1939_sk_alloc_skb()