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()
187 __wsum sum) in csum_tcpudp_nofold() argument
189 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold()
Dpercpu-rwsem.c105 unsigned int sum = 0; in clear_fast_ctr() local
109 sum += per_cpu(*brw->fast_read_ctr, cpu); in clear_fast_ctr()
113 return sum; in clear_fast_ctr()
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()