Searched refs:can_skb_priv (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/can/dev/ |
H A D | skb.c | 114 struct can_skb_priv *can_skb_priv = can_skb_prv(skb); in __can_get_echo_skb() local 123 *frame_len_ptr = can_skb_priv->frame_len; in __can_get_echo_skb() 183 struct can_skb_priv *can_skb_priv = can_skb_prv(skb); in can_free_echo_skb() local 186 *frame_len_ptr = can_skb_priv->frame_len; in can_free_echo_skb() 212 skb = netdev_alloc_skb(dev, sizeof(struct can_skb_priv) + in alloc_can_skb() 235 skb = netdev_alloc_skb(dev, sizeof(struct can_skb_priv) + in alloc_canfd_skb() 265 skb = netdev_alloc_skb(dev, sizeof(struct can_skb_priv) + in alloc_canxl_skb() 308 if (WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct can_skb_priv))) in can_skb_headroom_valid()
|
/openbmc/linux/include/linux/can/ |
H A D | skb.h | 56 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()
|
/openbmc/linux/net/can/ |
H A D | isotp.c | 220 nskb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), gfp_any()); in isotp_send_fc() 772 skb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), GFP_ATOMIC); in isotp_send_cframe() 1000 skb = sock_alloc_send_skb(sk, so->ll.mtu + sizeof(struct can_skb_priv), in isotp_sendmsg()
|
H A D | bcm.c | 289 skb = alloc_skb(op->cfsiz + sizeof(struct can_skb_priv), gfp_any()); in bcm_can_tx() 1260 skb = alloc_skb(cfsiz + sizeof(struct can_skb_priv), GFP_KERNEL); in bcm_tx_send()
|
H A D | raw.c | 858 skb = sock_alloc_send_skb(sk, size + sizeof(struct can_skb_priv), in raw_sendmsg()
|
/openbmc/linux/net/can/j1939/ |
H A D | transport.c | 595 skb = alloc_skb(sizeof(struct can_frame) + sizeof(struct can_skb_priv), in j1939_tp_tx_dat_new() 1535 skb = alloc_skb(size + sizeof(struct can_skb_priv), GFP_ATOMIC); in j1939_session_fresh_new()
|
H A D | socket.c | 882 sizeof(struct can_skb_priv), in j1939_sk_alloc_skb()
|