Lines Matching refs:echo_skb_max
444 for (i = 0; i < priv->echo_skb_max; i++) { in can_flush_echo_skb()
465 BUG_ON(idx >= priv->echo_skb_max); in can_put_echo_skb()
503 if (idx >= priv->echo_skb_max) { in __can_get_echo_skb()
505 __func__, idx, priv->echo_skb_max); in __can_get_echo_skb()
563 BUG_ON(idx >= priv->echo_skb_max); in can_free_echo_skb()
747 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument
769 if (echo_skb_max) in alloc_candev_mqs()
771 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs()
783 if (echo_skb_max) { in alloc_candev_mqs()
784 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs()
786 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()