Lines Matching refs:sum
2863 __sum16 sum; in __skb_checksum_complete_head() local
2865 sum = csum_fold(skb_checksum(skb, 0, len, skb->csum)); in __skb_checksum_complete_head()
2867 if (likely(!sum)) { in __skb_checksum_complete_head()
2873 skb->csum_valid = !sum; in __skb_checksum_complete_head()
2874 return sum; in __skb_checksum_complete_head()
2890 __sum16 sum; in __skb_checksum_complete() local
2894 sum = csum_fold(csum_add(skb->csum, csum)); in __skb_checksum_complete()
2902 if (likely(!sum)) { in __skb_checksum_complete()
2913 skb->csum_valid = !sum; in __skb_checksum_complete()
2916 return sum; in __skb_checksum_complete()
2920 static __wsum warn_crc32c_csum_update(const void *buff, int len, __wsum sum) in warn_crc32c_csum_update() argument
3149 unsigned int sum = 0; in skb_rbtree_purge() local
3156 sum += skb->truesize; in skb_rbtree_purge()
3159 return sum; in skb_rbtree_purge()