Lines Matching refs:echo_skb_max
421 for (i = 0; i < priv->echo_skb_max; i++) { in can_flush_echo_skb()
442 BUG_ON(idx >= priv->echo_skb_max); in can_put_echo_skb()
477 if (idx >= priv->echo_skb_max) { in __can_get_echo_skb()
479 __func__, idx, priv->echo_skb_max); in __can_get_echo_skb()
529 BUG_ON(idx >= priv->echo_skb_max); in can_free_echo_skb()
710 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument
732 if (echo_skb_max) in alloc_candev_mqs()
734 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs()
746 if (echo_skb_max) { in alloc_candev_mqs()
747 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs()
749 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()