Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 3 of 3) sorted by relevance

/lib/
Dchecksum.c131 unsigned int sum = (__force unsigned int)wsum; in csum_partial() local
135 result += sum; in csum_partial()
136 if (sum > result) in csum_partial()
157 __wsum sum, int *csum_err) in csum_partial_copy_from_user() argument
168 return csum_partial(dst, len, sum); in csum_partial_copy_from_user()
176 csum_partial_copy(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy() argument
179 return csum_partial(dst, len, sum); in csum_partial_copy()
196 __wsum sum) in csum_tcpudp_nofold() argument
198 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold()
Diov_iter.c647 __wsum sum, next; in csum_and_copy_from_iter() local
655 sum = *csum; in csum_and_copy_from_iter()
662 sum = csum_block_add(sum, next, off); in csum_and_copy_from_iter()
672 sum = csum_block_add(sum, next, off); in csum_and_copy_from_iter()
678 sum = csum_block_add(sum, next, off); in csum_and_copy_from_iter()
682 *csum = sum; in csum_and_copy_from_iter()
691 __wsum sum, next; in csum_and_copy_to_iter() local
699 sum = *csum; in csum_and_copy_to_iter()
706 sum = csum_block_add(sum, next, off); in csum_and_copy_to_iter()
716 sum = csum_block_add(sum, next, off); in csum_and_copy_to_iter()
[all …]
Dbch.c993 uint32_t sum; in decode_bch() local
1014 for (i = 0, sum = 0; i < (int)ecc_words; i++) { in decode_bch()
1016 sum |= bch->ecc_buf[i]; in decode_bch()
1018 if (!sum) in decode_bch()
1117 unsigned int sum, x, y, remaining, ak = 0, xi[m]; in build_deg2_base() local
1121 for (j = 0, sum = 0; j < m; j++) in build_deg2_base()
1122 sum ^= a_pow(bch, i*(1 << j)); in build_deg2_base()
1124 if (sum) { in build_deg2_base()