Lines Matching full:csum
77 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument
79 u32 sum = (__force u32)csum; in csum_fold()
82 csum = (__force __wsum)(sum < (__force u32)csum); in csum_fold()
84 sum += (__force u32)csum; in csum_fold()
101 unsigned int csum; in ip_fast_csum() local
104 csum = word[0]; in ip_fast_csum()
105 csum += word[1]; in ip_fast_csum()
106 carry = (csum < word[1]); in ip_fast_csum()
107 csum += carry; in ip_fast_csum()
109 csum += word[2]; in ip_fast_csum()
110 carry = (csum < word[2]); in ip_fast_csum()
111 csum += carry; in ip_fast_csum()
113 csum += word[3]; in ip_fast_csum()
114 carry = (csum < word[3]); in ip_fast_csum()
115 csum += carry; in ip_fast_csum()
119 csum += *word; in ip_fast_csum()
120 carry = (csum < *word); in ip_fast_csum()
121 csum += carry; in ip_fast_csum()
125 return csum_fold(csum); in ip_fast_csum()
199 " addu %0, %6 # csum\n" in csum_ipv6_magic()