Lines Matching refs:sum
304 __wsum sum, size_t off) in csum_and_memcpy() argument
307 return csum_block_add(sum, next, off); in csum_and_memcpy()
1187 __wsum sum, next; in csum_and_copy_from_iter() local
1188 sum = *csum; in csum_and_copy_from_iter()
1194 sum = csum_block_add(sum, next, off); in csum_and_copy_from_iter()
1197 sum = csum_and_memcpy(addr + off, base, len, sum, off); in csum_and_copy_from_iter()
1200 *csum = sum; in csum_and_copy_from_iter()
1209 __wsum sum, next; in csum_and_copy_to_iter() local
1222 sum = csum_shift(csstate->csum, csstate->off); in csum_and_copy_to_iter()
1225 sum = csum_block_add(sum, next, off); in csum_and_copy_to_iter()
1228 sum = csum_and_memcpy(base, addr + off, len, sum, off); in csum_and_copy_to_iter()
1231 csstate->csum = csum_shift(sum, csstate->off); in csum_and_copy_to_iter()