Lines Matching refs:result
40 unsigned int result = 0; in do_csum() local
46 result = be16_to_cpu(*buff); in do_csum()
53 result += *(unsigned short *) buff; in do_csum()
66 addc(result, r1); in do_csum()
67 addc(result, r2); in do_csum()
68 addc(result, r3); in do_csum()
69 addc(result, r4); in do_csum()
77 addc(result, w); in do_csum()
79 result = (result & 0xffff) + (result >> 16); in do_csum()
82 result += *(unsigned short *) buff; in do_csum()
87 result += le16_to_cpu(*buff); in do_csum()
88 result = from32to16(result); in do_csum()
90 result = swab16(result); in do_csum()
92 return result; in do_csum()
103 unsigned int result = do_csum(buff, len); in csum_partial() local
104 addc(result, sum); in csum_partial()
105 return (__force __wsum)from32to16(result); in csum_partial()