Lines Matching refs:checksum
87 unsigned long checksum = ~0U; in csum_partial_cfu_aligned() local
94 checksum += carry; in csum_partial_cfu_aligned()
96 checksum += word; in csum_partial_cfu_aligned()
98 carry = checksum < word; in csum_partial_cfu_aligned()
103 checksum += carry; in csum_partial_cfu_aligned()
110 checksum += word; in csum_partial_cfu_aligned()
112 carry = checksum < word; in csum_partial_cfu_aligned()
114 checksum += carry; in csum_partial_cfu_aligned()
116 return checksum; in csum_partial_cfu_aligned()
132 unsigned long checksum = ~0U; in csum_partial_cfu_dest_aligned() local
146 checksum += carry; in csum_partial_cfu_dest_aligned()
149 checksum += word; in csum_partial_cfu_dest_aligned()
152 carry = checksum < word; in csum_partial_cfu_dest_aligned()
155 checksum += carry; in csum_partial_cfu_dest_aligned()
166 checksum += word; in csum_partial_cfu_dest_aligned()
168 carry = checksum < word; in csum_partial_cfu_dest_aligned()
170 checksum += carry; in csum_partial_cfu_dest_aligned()
172 return checksum; in csum_partial_cfu_dest_aligned()
188 unsigned long checksum = ~0U; in csum_partial_cfu_src_aligned() local
196 checksum += carry; in csum_partial_cfu_src_aligned()
199 checksum += word; in csum_partial_cfu_src_aligned()
201 carry = checksum < word; in csum_partial_cfu_src_aligned()
206 checksum += carry; in csum_partial_cfu_src_aligned()
211 checksum += word; in csum_partial_cfu_src_aligned()
214 carry = checksum < word; in csum_partial_cfu_src_aligned()
228 checksum += carry; in csum_partial_cfu_src_aligned()
229 return checksum; in csum_partial_cfu_src_aligned()
245 unsigned long checksum = ~0U; in csum_partial_cfu_unaligned() local
258 checksum += carry; in csum_partial_cfu_unaligned()
265 checksum += word; in csum_partial_cfu_unaligned()
267 carry = checksum < word; in csum_partial_cfu_unaligned()
272 checksum += carry; in csum_partial_cfu_unaligned()
284 checksum += word; in csum_partial_cfu_unaligned()
286 carry = checksum < word; in csum_partial_cfu_unaligned()
294 checksum += carry; in csum_partial_cfu_unaligned()
306 checksum += word; in csum_partial_cfu_unaligned()
308 carry = checksum < word; in csum_partial_cfu_unaligned()
311 checksum += carry; in csum_partial_cfu_unaligned()
313 return checksum; in csum_partial_cfu_unaligned()
320 unsigned long checksum; in __csum_and_copy() local
324 checksum = csum_partial_cfu_aligned( in __csum_and_copy()
328 checksum = csum_partial_cfu_dest_aligned( in __csum_and_copy()
336 checksum = csum_partial_cfu_src_aligned( in __csum_and_copy()
341 checksum = csum_partial_cfu_unaligned( in __csum_and_copy()
346 return (__force __wsum)from64to16 (checksum); in __csum_and_copy()